From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Fix FD_CLOEXEC comment typos
Date: Wed, 12 Jul 2006 10:21:00 -0000 [thread overview]
Message-ID: <20060712102123.GV3823@sunsite.mff.cuni.cz> (raw)
Hi!
FD_CLOEXEC is F_SETFD/F_GETFD flag, F_SETFL/F_GETFL work with O_* bits.
2006-07-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (FD_CLOEXEC): Fix comment.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (FD_CLOEXEC): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (FD_CLOEXEC): Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (FD_CLOEXEC): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (FD_CLOEXEC): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h (FD_CLOEXEC): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (FD_CLOEXEC): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (FD_CLOEXEC): Likewise.
--- libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h 2006-07-12 12:07:40.000000000 +0200
@@ -94,7 +94,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* for F_[GET|SET]FL */
+/* for F_[GET|SET]FD */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf() */
--- libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h 2006-07-12 12:07:49.000000000 +0200
@@ -114,7 +114,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* For F_[GET|SET]FL. */
+/* For F_[GET|SET]FD. */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
--- libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h 2006-07-12 12:07:54.000000000 +0200
@@ -99,7 +99,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* For F_[GET|SET]FL. */
+/* For F_[GET|SET]FD. */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
--- libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h.jj 2006-05-10 14:03:57.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h 2006-07-12 12:08:00.000000000 +0200
@@ -116,7 +116,7 @@
# define F_SETLKW64 14 /* Set record locking info (blocking). */
#endif
-/* for F_[GET|SET]FL */
+/* for F_[GET|SET]FD */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
--- libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h.jj 2006-05-10 14:03:57.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h 2006-07-12 12:08:05.000000000 +0200
@@ -99,7 +99,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* For F_[GET|SET]FL. */
+/* For F_[GET|SET]FD. */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
--- libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h 2006-07-12 12:08:09.000000000 +0200
@@ -99,7 +99,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* For F_[GET|SET]FL. */
+/* For F_[GET|SET]FD. */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
--- libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h 2006-07-12 12:08:14.000000000 +0200
@@ -95,7 +95,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* For F_[GET|SET]FL. */
+/* For F_[GET|SET]FD. */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
--- libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h.jj 2006-05-10 14:03:57.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h 2006-07-12 12:08:19.000000000 +0200
@@ -113,7 +113,7 @@
# define F_NOTIFY 1026 /* Request notfications on a directory. */
#endif
-/* For F_[GET|SET]FL. */
+/* For F_[GET|SET]FD. */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */
Jakub
reply other threads:[~2006-07-12 10:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060712102123.GV3823@sunsite.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).