new exports

Eric Blake ebb9@byu.net
Fri Sep 25 03:40:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Followup to my faccessat patch.  Here's several functions exported by
Linux which are trivial to support in cygwin, and which coreutils would
like to use.  POSIX allows us to copy Linux' behavior about refusing to
implement fchmodat(,AT_SYMLINK_NOFOLLOW) (aka BSD lchmod), so if/until we
implement lchmod, we should not mistakenly change the permissions on the
file the symlink is pointing to.  I've also posted a newlib patch to
declare e[uid]access.

2009-09-24  Eric Blake  <ebb9@byu.net>

	* syscalls.cc (fchownat): lchmod is not yet implemented.
	(euidaccess): New function.
	* path.cc (realpath): Update comment.
	(canonicalize_file_name): New function.
	* include/cygwin/stdlib.h (canonicalize_file_name): Declare it.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
	* cygwin.din: Export canonicalize_file_name, eaccess, euidaccess.
	* posix.sgml: Mention them.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq8O6IACgkQ84KuGfSFAYB11wCgy5ADpe5rlOnToWh5Bk3hnWPy
4VQAoJsj1B8+44ROO6G8AoljMUhEbBeu
=YnUu
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch23
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090925/6e71a305/attachment.ksh>


More information about the Cygwin-patches mailing list