* [PATCH] Fix FD_CLOEXEC comment typos
@ 2006-07-12 10:21 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2006-07-12 10:21 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-12 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-12 10:21 [PATCH] Fix FD_CLOEXEC comment typos Jakub Jelinek
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).