bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more cygwin 1.7 docs


From: Eric Blake
Subject: more cygwin 1.7 docs
Date: Sat, 26 Sep 2009 09:43:19 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

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

Cygwin 1.7 now provides canonicalize_file_name and euidaccess.  I'm also
documenting some bugs in cygwin 1.5 which have been fixed for cygwin 1.7.

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

Eric Blake             address@hidden
-----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/

iEYEARECAAYFAkq+NpcACgkQ84KuGfSFAYDXIwCgk2yCTvKlUfN3JT0TtQi9HRlU
Ok8AniSHWv9RdaL/REHK0pU4qPfF3cpx
=MY2h
-----END PGP SIGNATURE-----
>From a5c314221f0de1ba5cab590ba47a515fcd517d90 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Sat, 26 Sep 2009 09:39:17 -0600
Subject: [PATCH] doc: mention more cygwin 1.7 status

* doc/posix-functions/access.texi (access): Mention cygwin 1.5
bug.
* doc/posix-functions/execl.texi (execl): Likewise.
* doc/posix-functions/execle.texi (execle): Likewise.
* doc/posix-functions/execlp.texi (execlp): Likewise.
* doc/posix-functions/execv.texi (execv): Likewise.
* doc/posix-functions/execve.texi (execve): Likewise.
* doc/posix-functions/execvp.texi (execvp): Likewise.
* doc/glibc-functions/canonicalize_file_name.texi
(canonicalize_file_name): Cygwin 1.7 now provides this.
* doc/glibc-functions/euidaccess.texi (euidaccess): Likewise.
* doc/posix-functions/fchmodat.texi (fchmodat): Mention limitation
on AT_SYMLINK_NOFOLLOW.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog                                       |   17 +++++++++++++++++
 doc/glibc-functions/canonicalize_file_name.texi |    5 +++--
 doc/glibc-functions/euidaccess.texi             |    5 +++--
 doc/posix-functions/access.texi                 |    8 ++++++++
 doc/posix-functions/execl.texi                  |    3 +++
 doc/posix-functions/execle.texi                 |    3 +++
 doc/posix-functions/execlp.texi                 |    3 +++
 doc/posix-functions/execv.texi                  |    3 +++
 doc/posix-functions/execve.texi                 |    3 +++
 doc/posix-functions/execvp.texi                 |    3 +++
 doc/posix-functions/fchmodat.texi               |    7 +++++++
 11 files changed, 56 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7697802..385f048 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2009-09-26  Eric Blake  <address@hidden>
+
+       doc: mention more cygwin 1.7 status
+       * doc/posix-functions/access.texi (access): Mention cygwin 1.5
+       bug.
+       * doc/posix-functions/execl.texi (execl): Likewise.
+       * doc/posix-functions/execle.texi (execle): Likewise.
+       * doc/posix-functions/execlp.texi (execlp): Likewise.
+       * doc/posix-functions/execv.texi (execv): Likewise.
+       * doc/posix-functions/execve.texi (execve): Likewise.
+       * doc/posix-functions/execvp.texi (execvp): Likewise.
+       * doc/glibc-functions/canonicalize_file_name.texi
+       (canonicalize_file_name): Cygwin 1.7 now provides this.
+       * doc/glibc-functions/euidaccess.texi (euidaccess): Likewise.
+       * doc/posix-functions/fchmodat.texi (fchmodat): Mention limitation
+       on AT_SYMLINK_NOFOLLOW.
+
 2009-09-24  Eric Blake  <address@hidden>

        test-linkat: make test more robust
diff --git a/doc/glibc-functions/canonicalize_file_name.texi 
b/doc/glibc-functions/canonicalize_file_name.texi
index 5d17e26..91ccaa7 100644
--- a/doc/glibc-functions/canonicalize_file_name.texi
+++ b/doc/glibc-functions/canonicalize_file_name.texi
@@ -7,8 +7,9 @@ canonicalize_file_name
 Portability problems fixed by Gnulib:
 @itemize
 @item
-This function is missing on all non-glibc platforms:
-MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 
6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, Interix 3.5, BeOS.
+This function is missing on many non-glibc platforms:
+MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
+IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
 @item
 This function fails to detect trailing slashes on non-directories on
 some platforms:
diff --git a/doc/glibc-functions/euidaccess.texi 
b/doc/glibc-functions/euidaccess.texi
index 1eb156f..5e39391 100644
--- a/doc/glibc-functions/euidaccess.texi
+++ b/doc/glibc-functions/euidaccess.texi
@@ -7,8 +7,9 @@ euidaccess
 Portability problems fixed by Gnulib:
 @itemize
 @item
-This function is missing on all non-glibc platforms:
-MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 
6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, Interix 3.5, BeOS.
+This function is missing on many non-glibc platforms:
+MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
+IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
 @end itemize

 Portability problems not fixed by Gnulib:
diff --git a/doc/posix-functions/access.texi b/doc/posix-functions/access.texi
index cddfc54..8da410d 100644
--- a/doc/posix-functions/access.texi
+++ b/doc/posix-functions/access.texi
@@ -12,4 +12,12 @@ access

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+This function uses the effective id instead of the real id on some
+platforms:
+Cygwin 1.5.x.
address@hidden
+There is an inherent race between calling this function and performing
+some action based on the results; you should think twice before
+trusting this function in a set-uid or set-gid program.
 @end itemize
diff --git a/doc/posix-functions/execl.texi b/doc/posix-functions/execl.texi
index 6fe0909..05b6244 100644
--- a/doc/posix-functions/execl.texi
+++ b/doc/posix-functions/execl.texi
@@ -12,4 +12,7 @@ execl

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On some platforms, a script without executable permission is still run:
+Cygwin 1.5.x.
 @end itemize
diff --git a/doc/posix-functions/execle.texi b/doc/posix-functions/execle.texi
index 86ddff6..a7d5cf9 100644
--- a/doc/posix-functions/execle.texi
+++ b/doc/posix-functions/execle.texi
@@ -12,4 +12,7 @@ execle

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On some platforms, a script without executable permission is still run:
+Cygwin 1.5.x.
 @end itemize
diff --git a/doc/posix-functions/execlp.texi b/doc/posix-functions/execlp.texi
index c0ae315..b14b7bb 100644
--- a/doc/posix-functions/execlp.texi
+++ b/doc/posix-functions/execlp.texi
@@ -12,4 +12,7 @@ execlp

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On some platforms, a script without executable permission is still run:
+Cygwin 1.5.x.
 @end itemize
diff --git a/doc/posix-functions/execv.texi b/doc/posix-functions/execv.texi
index 7172324..c45583f 100644
--- a/doc/posix-functions/execv.texi
+++ b/doc/posix-functions/execv.texi
@@ -12,4 +12,7 @@ execv

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On some platforms, a script without executable permission is still run:
+Cygwin 1.5.x.
 @end itemize
diff --git a/doc/posix-functions/execve.texi b/doc/posix-functions/execve.texi
index 0ef8eea..a78f656 100644
--- a/doc/posix-functions/execve.texi
+++ b/doc/posix-functions/execve.texi
@@ -12,4 +12,7 @@ execve

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On some platforms, a script without executable permission is still run:
+Cygwin 1.5.x.
 @end itemize
diff --git a/doc/posix-functions/execvp.texi b/doc/posix-functions/execvp.texi
index f37da90..bbac6b9 100644
--- a/doc/posix-functions/execvp.texi
+++ b/doc/posix-functions/execvp.texi
@@ -12,4 +12,7 @@ execvp

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On some platforms, a script without executable permission is still run:
+Cygwin 1.5.x.
 @end itemize
diff --git a/doc/posix-functions/fchmodat.texi 
b/doc/posix-functions/fchmodat.texi
index ffed0b9..3808f93 100644
--- a/doc/posix-functions/fchmodat.texi
+++ b/doc/posix-functions/fchmodat.texi
@@ -17,4 +17,11 @@ fchmodat

 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+Some platforms do not allow changing the access bits on symbolic
+links.  POSIX states that @code{fchmodat(@dots{},AT_SYMLINK_NOFOLLOW)}
+may fail with @code{EOPNOTSUPP} when called on a symlink, but some
+platforms, as well as the gnulib replacement, fail for any use of
+AT_SYMLINK_NOFOLLOW even if the target was not a symlink:
+glibc, Cygwin.
 @end itemize
-- 
1.6.5.rc1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]