src/newlib ChangeLog libc/include/sys/unistd.h
corinna@sourceware.cygnus.com
corinna@sourceware.cygnus.com
Sun Apr 2 13:42:00 GMT 2000
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.cygnus.com 00/04/02 13:42:42
Modified files:
newlib : ChangeLog
newlib/libc/include/sys: unistd.h
Log message:
* newlib/libc/include/sys/unistd.h: Add prototypes for
fchmod, fchown, lchown.
* winsup/cygwin/syscalls.cc (chown_worker): Use previous
uid/gid if new uid/gid is -1.
New static function with chown functionality.
(chown): Call chown_worker with SYMLINK_FOLLOW.
(fchown): New function. Call chown_worker with SYMLINK_FOLLOW.
(lchown): New function. Call chown_worker with SYMLINK_IGNORE.
* cygwin.din: Add symbols for fchown, lchown.
* path.cc (symlink): Call `set_file_attribute()' and
`SetFileAttributeA()' instead of `chmod()' to set
uid/gid correct.
Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.18&r2=1.19
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/sys/unistd.h.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
More information about the Newlib-cvs
mailing list