From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13185 invoked by alias); 12 Jul 2006 10:21:48 -0000 Received: (qmail 13163 invoked by uid 22791); 12 Jul 2006 10:21:45 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Jul 2006 10:21:38 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k6CALOin025057; Wed, 12 Jul 2006 12:21:24 +0200 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k6CALN7G025056; Wed, 12 Jul 2006 12:21:23 +0200 Date: Wed, 12 Jul 2006 10:21:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix FD_CLOEXEC comment typos Message-ID: <20060712102123.GV3823@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00001.txt.bz2 Hi! FD_CLOEXEC is F_SETFD/F_GETFD flag, F_SETFL/F_GETFL work with O_* bits. 2006-07-12 Jakub Jelinek * 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