Your message dated Wed, 30 Jan 2013 21:37:56 +0100 with message-id <[email protected]> and subject line Re: Bug#368382: fcntl's third argument is described as long has caused the Debian Bug report #368382, regarding fcntl's third argument is described as long to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 368382: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368382 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: manpages-dev Version: 2.22-1 fcntl(2) describes that the third argument "arg" is long for F_SETFL. % man fcntl ... int fcntl(int fd, int cmd, long arg); ... F_SETFL Set the file status flags to the value specified by arg. File access mode (O_RDONLY, O_WRONLY, O_RDWR) and file creation flags (e.g.,O_CREAT, O_EXCL, O_TRUNC) in arg are ignored. On Linux this command can only change the O_APPEND, O_ASYNC, O_DIRECT, O_NOATIME, and O_NONBLOCK flags. ... But POSIX (IEEE Std 1003.1-2001) defines it int. ... F_SETFL Set the file status flags, defined in <fcntl.h>, for the file description associated with fildes from the corresponding bits in the third argument, arg, taken as type int. Bits corresponding to the file access mode and the file creation flags, as defined in <fcntl.h>, that are set in arg shall be ignored. If any bits in arg other than those mentioned here are changed by the application, the result is unspecified. ... I'm not sure that it is just a document problem or it reflects a problem of glibc/linux. -- Tanaka Akira
--- End Message ---
--- Begin Message ---Version: 3.40-0.1 On Mon, May 22, 2006 at 03:27:06AM +0900, Tanaka Akira wrote: > Package: manpages-dev > Version: 2.22-1 > > fcntl(2) describes that the third argument "arg" is long for F_SETFL. > ... > int fcntl(int fd, int cmd, long arg); > ... > F_SETFL > Set the file status flags to the value specified by arg. File > access mode (O_RDONLY, O_WRONLY, O_RDWR) and file creation flags > third argument, arg, taken as type int. Bits corresponding to the file [..] > But POSIX (IEEE Std 1003.1-2001) defines it int. > ... > F_SETFL > Set the file status flags, defined in <fcntl.h>, for the file > description associated with fildes from the corresponding bits in the > third argument, arg, taken as type int. Bits corresponding to the file [..] > I'm not sure that it is just a document problem or it > reflects a problem of glibc/linux. Fixed upstream since 3.39 http://git.kernel.org/?p=docs/man-pages/man-pages.git;a=commitdiff;h=ed9821bba007245fcd1e6465300f -- Simon Paillard
--- End Message ---

