| Message ID | 20250716185521.1849896-1-joel@rtems.org |
|---|---|
| State | New |
| Headers |
Return-Path: <newlib-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C30BF3857BA2 for <patchwork@sourceware.org>; Wed, 16 Jul 2025 18:56:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C30BF3857BA2 X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) by sourceware.org (Postfix) with ESMTPS id DE9E33858C41 for <newlib@sourceware.org>; Wed, 16 Jul 2025 18:55:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE9E33858C41 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DE9E33858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.128.169 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752692156; cv=none; b=KqATRy9rXDI1QSODOozEbtvnWEY9xqzsJrmbAMe2IOoTU17+RtWcKnMeBWKN1lU0wv9xb8w0qK714mT9GLcLOMgJbsXFnVJgtJbDnfRNFdk7kJ/zVOjDv+uQgptDsCqFMhcTgsUXcDy4zxVnAw6VuHvz2fXZz3aKHZF90hWXjQ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752692156; c=relaxed/simple; bh=6lORPtAVehBaywI7MtaN9VHJCYPhozBR4maInreYASM=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=QMPLPhpdK0K4nUdr8KWSnAeo2uLh4YaUc/imINVbIbUOSS2vLIny7F4kMsWFRf8PlIhyr8mf7MTUrFyDvwRPemm3ZqScvl/oLu6bTJk0ZWkqtVxPhwNZ8Imjc8HgbNSqpOpqzfQ+ko8E1U54sJv7wciSiGRnrAx3biyf2yGqivQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE9E33858C41 Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-714067ecea3so1043487b3.0 for <newlib@sourceware.org>; Wed, 16 Jul 2025 11:55:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752692156; x=1753296956; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OvJbhlox8EWN1BT2uanBaa4qwyIKhP6yNGXv+AQzQYA=; b=JDpG50LJpwyWuHr4+hFjfGE6bkPFJhpsd2QQQtavZekcF7OLRVVWNFQul2gDgQKUxY LfzrawV4RBhCYX4qEdusjsbZ5PzMJCa0ppvVAoBM9SqZZmbKkSeg4srSutcHpCN9zMzr KW9NgVZGvAZ5tgxWUWq+FntiIdTq9SlP+hwsd0wmqrKeICk4WhG18YqbvmdKmrTQynY+ 1eqRZJ6t1N3Fm2gHY6l8lJsxD/dIQ6j10USFLUoL7pk6u5ZelUjGHysk4jv1hIvn25Ab xnZTVPgEjJFHFbDm0EO78JiFA9Mq7WPmzDMleyt2QmfEOlL7uKBXO1ZmoIK+IM5T3kiS RZSQ== X-Gm-Message-State: AOJu0YzuAQfQ86Cm3Qij0GvfV5mBfhtqxbKjvaWDq7Ja3PUm+QT5P3aD M5hlOGUPHSsvTkKnddrrSjLZQFJvyaWm5nxqAUp6nLiZuBikpBz00k4oxV8yoQ== X-Gm-Gg: ASbGncseT1GBPRZbWZC/nF1m5kiBQph98beKgkYGyjSGnGIp9IWOtaSNyZ19f0bLnjy 92D+GF3mUcWkqnJf/FLZMtuM2W9XKUdYqAzDw91WHxCcfFm7YVtrEty+h8O2qqzitWQwFUXEXcj WjIELYIosCzgLyh5cWNPGSaQnEjr/UNq7Fe4isqpUsTUE/De/sdX1efdea/nvWEeLgOxJyrXaLI df57VMrSCH0GfyDpwhwibbi0tuygc5hTfu3IrtsM2e7wWOeZdUmplSOaRmr4MrSxvRcfU0QrZSA wzdAXfM9YsbYLYAv1WyctrcI0LD3Zc2yxtu2WNclhSGN+zOs6T0EUjrEj4qQNbSJezISRIdRjJd DxbO/oCSybVqEIlRpXsdzKTDYZPleOItf6q3YonxOj3+rlWEsLpdGOIbnzBWRtw== X-Google-Smtp-Source: AGHT+IHPxE4iDhYZYHzokEqyhfvUnzDzvH17UZPQdvdeQhB+HOcoLOEvmXVLoUP4GZgJ1fcfG4QNMQ== X-Received: by 2002:a05:690c:550c:10b0:718:3953:819a with SMTP id 00721157ae682-7183953a5famr29822687b3.14.1752692155496; Wed, 16 Jul 2025 11:55:55 -0700 (PDT) Received: from gitlab.oarcorp.com (d27-96-189-151.evv.wideopenwest.com. [96.27.151.189]) by smtp.gmail.com with ESMTPSA id 00721157ae682-717c61b52f3sm30430747b3.71.2025.07.16.11.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jul 2025 11:55:54 -0700 (PDT) From: Joel Sherrill <joel@rtems.org> To: newlib@sourceware.org Cc: Joel Sherrill <joel@rtems.org> Subject: [PATCH] rtems/../sys/dirent.h: Enable DT_ symbols for POSIX >= 202405L Date: Wed, 16 Jul 2025 13:55:21 -0500 Message-ID: <20250716185521.1849896-1-joel@rtems.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3037.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
rtems/../sys/dirent.h: Enable DT_ symbols for POSIX >= 202405L
|
|
Commit Message
Joel Sherrill
July 16, 2025, 6:55 p.m. UTC
Issue 8 added the DT_* device type symbols which were previously BSD extensions. --- newlib/libc/sys/rtems/include/sys/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Jul 16 13:55, Joel Sherrill wrote: > Issue 8 added the DT_* device type symbols which were previously > BSD extensions. > --- > newlib/libc/sys/rtems/include/sys/dirent.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/newlib/libc/sys/rtems/include/sys/dirent.h b/newlib/libc/sys/rtems/include/sys/dirent.h > index 6f8ff4278..3e41635b7 100644 > --- a/newlib/libc/sys/rtems/include/sys/dirent.h > +++ b/newlib/libc/sys/rtems/include/sys/dirent.h > @@ -99,7 +99,7 @@ struct dirent { > > #define __dirfd(dp) ((dp)->dd_fd) > > -#if __BSD_VISIBLE > +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 202405 > > /* > * File types > -- > 2.47.1 GTG. Thanks, Corinna
Thanks. On Thu, Jul 17, 2025 at 4:20 AM Corinna Vinschen <vinschen@redhat.com> wrote: > On Jul 16 13:55, Joel Sherrill wrote: > > Issue 8 added the DT_* device type symbols which were previously > > BSD extensions. > > --- > > newlib/libc/sys/rtems/include/sys/dirent.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/newlib/libc/sys/rtems/include/sys/dirent.h > b/newlib/libc/sys/rtems/include/sys/dirent.h > > index 6f8ff4278..3e41635b7 100644 > > --- a/newlib/libc/sys/rtems/include/sys/dirent.h > > +++ b/newlib/libc/sys/rtems/include/sys/dirent.h > > @@ -99,7 +99,7 @@ struct dirent { > > > > #define __dirfd(dp) ((dp)->dd_fd) > > > > -#if __BSD_VISIBLE > > +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 202405 > > > > /* > > * File types > > -- > > 2.47.1 > > GTG. > > > Thanks, > Corinna > >
diff --git a/newlib/libc/sys/rtems/include/sys/dirent.h b/newlib/libc/sys/rtems/include/sys/dirent.h index 6f8ff4278..3e41635b7 100644 --- a/newlib/libc/sys/rtems/include/sys/dirent.h +++ b/newlib/libc/sys/rtems/include/sys/dirent.h @@ -99,7 +99,7 @@ struct dirent { #define __dirfd(dp) ((dp)->dd_fd) -#if __BSD_VISIBLE +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 202405 /* * File types