X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Sun, 14 Apr 2002 17:34:10 +0100 From: "Richard Dawe" Sender: rich AT phekda DOT freeserve DOT co DOT uk To: djgpp-workers AT delorie DOT com X-Mailer: Emacs 21.2.50 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 Subject: Some more fchown patches Message-Id: Reply-To: djgpp-workers AT delorie DOT com Hello. Below is a patch to update: * the description of fchown; * the description of chown; * the description of __FSEXT_fchown. OK to commit? If no-one objects, I'll commit this in a couple of days, since they're simple changes. Thanks, bye, Rich Index: src/libc/compat/unistd/fchown.txh =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/compat/unistd/fchown.txh,v retrieving revision 1.1 diff -p -u -3 -r1.1 fchown.txh --- src/libc/compat/unistd/fchown.txh 2002/04/13 07:43:29 1.1 +++ src/libc/compat/unistd/fchown.txh 2002/04/14 16:27:02 @@ -9,6 +9,9 @@ int fchown(int fd, int owner, int group) @subheading Description +This function changes the ownership of the open file specified by @var{fd} +to the user ID @var{owner} and group ID @var{group}. + This function does almost nothing under MS-DOS: it just checks if the handle @code{fd} is valid. This function can be hooked by the @xref{File System Extensions}. Index: src/libc/fsext/fsext.txh =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/fsext/fsext.txh,v retrieving revision 1.12 diff -p -u -3 -r1.12 fsext.txh --- src/libc/fsext/fsext.txh 2002/04/13 07:43:02 1.12 +++ src/libc/fsext/fsext.txh 2002/04/14 16:27:07 @@ -133,8 +133,8 @@ symlinks in other than DJGPP symlink fil @item __FSEXT_fchown -A file fchown handler (@pxref{fchown}). This is called when file -attributes are changed for an open file. +A file fchown handler (@pxref{fchown}). This is called when +the ownership is to be changed for an open file. @end table Index: src/libc/posix/unistd/chown.txh =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/posix/unistd/chown.txh,v retrieving revision 1.3 diff -p -u -3 -r1.3 chown.txh --- src/libc/posix/unistd/chown.txh 2000/07/27 09:17:19 1.3 +++ src/libc/posix/unistd/chown.txh 2002/04/14 16:27:07 @@ -9,6 +9,9 @@ int chown(const char *file, int owner, i @subheading Description +This function changes the ownership of the open file specified by @var{file} +to the user ID @var{owner} and group ID @var{group}. + This function does nothing under MS-DOS. @subheading Return Value @@ -16,8 +19,6 @@ This function does nothing under MS-DOS. This function always returns zero if the file exists, else it returns -1 and sets @var{errno} to @code{ENOENT}. - @subheading Portability @portability !ansi, posix -