]> Savannah Git Hosting - gnulib.git/commitdiff
Talk about "native Windows API", not "Woe32".
authorBruno Haible <bruno@clisp.org>
Sat, 7 Jan 2012 03:22:05 +0000 (04:22 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Jan 2012 03:22:05 +0000 (04:22 +0100)
* lib/accept4.c: Update comments to mention native Windows.
* lib/execute.c: Likewise.
* lib/fatal-signal.c: Likewise.
* lib/localcharset.c: Likewise.
* lib/nanosleep.c: Likewise.
* lib/nl_langinfo.c: Likewise.
* lib/pclose.c: Likewise.
* lib/pipe-filter-gi.c: Likewise.
* lib/pipe-filter-ii.c: Likewise.
* lib/pipe.c: Likewise.
* lib/pipe2.c: Likewise.
* lib/popen.c: Likewise.
* lib/progreloc.c: Likewise.
* lib/relocatable.c: Likewise.
* lib/sigaction.c: Likewise.
* lib/sigprocmask.c: Likewise.
* lib/spawn-pipe.h: Likewise.
* lib/spawn-pipe.c: Likewise.
* lib/spawni.c: Likewise.
* lib/stat-time.h: Likewise.
* lib/w32spawn.h: Likewise.
* tests/test-isatty.c: Likewise.
* lib/config.charset: More comments.
* doc/gnulib-intro.texi: Mention native Windows.
* doc/posix-functions/_Exit_C99.texi: Likewise.
* doc/posix-headers/fcntl.texi: Likewise.

27 files changed:
ChangeLog
doc/gnulib-intro.texi
doc/posix-functions/_Exit_C99.texi
doc/posix-headers/fcntl.texi
lib/accept4.c
lib/config.charset
lib/execute.c
lib/fatal-signal.c
lib/localcharset.c
lib/nanosleep.c
lib/nl_langinfo.c
lib/pclose.c
lib/pipe-filter-gi.c
lib/pipe-filter-ii.c
lib/pipe.c
lib/pipe2.c
lib/popen.c
lib/progreloc.c
lib/relocatable.c
lib/sigaction.c
lib/sigprocmask.c
lib/spawn-pipe.c
lib/spawn-pipe.h
lib/spawni.c
lib/stat-time.h
lib/w32spawn.h
tests/test-isatty.c

index 628cebfbf199f91db7bc752ec1565098c9a27b2c..adbab93ca1e15548442342ab1656756d5634cf2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+2012-01-06  Bruno Haible  <bruno@clisp.org>
+
+       Talk about "native Windows API", not "Woe32".
+       * lib/accept4.c: Update comments to mention native Windows.
+       * lib/execute.c: Likewise.
+       * lib/fatal-signal.c: Likewise.
+       * lib/localcharset.c: Likewise.
+       * lib/nanosleep.c: Likewise.
+       * lib/nl_langinfo.c: Likewise.
+       * lib/pclose.c: Likewise.
+       * lib/pipe-filter-gi.c: Likewise.
+       * lib/pipe-filter-ii.c: Likewise.
+       * lib/pipe.c: Likewise.
+       * lib/pipe2.c: Likewise.
+       * lib/popen.c: Likewise.
+       * lib/progreloc.c: Likewise.
+       * lib/relocatable.c: Likewise.
+       * lib/sigaction.c: Likewise.
+       * lib/sigprocmask.c: Likewise.
+       * lib/spawn-pipe.h: Likewise.
+       * lib/spawn-pipe.c: Likewise.
+       * lib/spawni.c: Likewise.
+       * lib/stat-time.h: Likewise.
+       * lib/w32spawn.h: Likewise.
+       * tests/test-isatty.c: Likewise.
+       * lib/config.charset: More comments.
+       * doc/gnulib-intro.texi: Mention native Windows.
+       * doc/posix-functions/_Exit_C99.texi: Likewise.
+       * doc/posix-headers/fcntl.texi: Likewise.
+
 2012-01-06  Guillem Jover  <guillem@hadrons.org>  (tiny change)
 
        argp: Avoid crash if translator uses % characters in a translation.
index 64faa3502e92241e03516414404d4b8bcc272763..d962ace7a23b24a89efd094186f4be88eede1e41 100644 (file)
@@ -304,8 +304,8 @@ against the out-of-memory condition.
 Examples are a module for copying a file --- the portability problems
 relate to the copying of the file's modification time, access rights,
 and extended attributes --- or a module for extracting the tail
-component of a file name --- here the portability to Woe32 requires a
-different API than the classical POSIX @code{basename} function.
+component of a file name --- here the portability to native Windows
+requires a different API than the classical POSIX @code{basename} function.
 
 @subsection Reusable application code
 
index cf2615ecac3f49af5b5db6db1db6adf5459a0e9a..e541034599768aa95b85f383c6694932e318fd9f 100644 (file)
@@ -2,7 +2,7 @@
 @section @code{_Exit}
 @findex _Exit
 @c This file would ideally be called _Exit.texi, but then it would collide
-@c with _exit.texi on case-insensitive file systems (MacOS X HFS+ and Woe32
+@c with _exit.texi on case-insensitive file systems (MacOS X HFS+ and Windows
 @c file systems).
 
 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/_Exit.html}
index 332fe5ae2b4786731fd4e31ec0a0cf7218a1d4d2..606a27e3f23f7c97a94052ef5f4fd2dd657e5340 100644 (file)
@@ -41,8 +41,8 @@ Cygwin.
 
 @item
 @samp{O_BINARY}, @samp{O_TEXT} (not specified by POSIX, but essential for
-portability to Woe32 platforms) are defined on some platforms but not on
-others.
+portability to native Windows platforms) are defined on some platforms but
+not on others.
 
 @item
 @samp{O_DIRECT}, @samp{O_NDELAY}, @samp{O_NOATIME},
index 9e6b9d8fa6e3fb962ea00937b3e1a7ac3292a168..07dadb0e12919ada105aa04aeb7e6a62bc3439f3 100644 (file)
@@ -67,7 +67,7 @@ accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
 
 #if SOCK_CLOEXEC
 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
   if (flags & SOCK_CLOEXEC)
     {
       HANDLE curr_process = GetCurrentProcess ();
index be1d4c2d36257d65b4cd9046bafa859eb09db456..b227e069b1a1523f0f4a8d63eb0a8603f10875d6 100644 (file)
@@ -30,6 +30,8 @@
 # The current list of GNU canonical charset names is as follows.
 #
 #       name              MIME?             used by which systems
+#                                    (darwin = MacOS X, woe32 = native Windows)
+#
 #   ASCII, ANSI_X3.4-1968       glibc solaris freebsd netbsd darwin cygwin
 #   ISO-8859-1              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
 #   ISO-8859-2              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
index a10ca21ece48b48bc3b3505f053227ec7f80bf5b..fc7165c5d114ebf54832400c0984638b9e1391dc 100644 (file)
@@ -37,7 +37,7 @@
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 # include <process.h>
 # include "w32spawn.h"
 
@@ -106,7 +106,7 @@ execute (const char *progname,
 {
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
-  /* Native Woe32 API.  */
+  /* Native Windows API.  */
   int orig_stdin;
   int orig_stdout;
   int orig_stderr;
index 8b23edf2561350a51ffbccda3fd2ea37d6bb366d..03e53ab0ad8340be0ec722a524a4b2c7a571f980 100644 (file)
@@ -71,7 +71,7 @@ static int fatal_signals[] =
 #ifdef SIGXFSZ
     SIGXFSZ,
 #endif
-    /* Woe32 signals.  */
+    /* Native Windows signals.  */
 #ifdef SIGBREAK
     SIGBREAK,
 #endif
index ea3c01830514e4a2ef374890d8ad9d24941e1f40..d86002c0a144c0a575f17a3962d0bb65bfecb097 100644 (file)
@@ -407,10 +407,10 @@ locale_charset (void)
             }
         }
 
-      /* Woe32 has a function returning the locale's codepage as a number:
-         GetACP().  This encoding is used by Cygwin, unless the user has set
-         the environment variable CYGWIN=codepage:oem (which very few people
-         do).
+      /* The Windows API has a function returning the locale's codepage as a
+         number: GetACP().  This encoding is used by Cygwin, unless the user
+         has set the environment variable CYGWIN=codepage:oem (which very few
+         people do).
          Output directed to console windows needs to be converted (to
          GetOEMCP() if the console is using a raster font, or to
          GetConsoleOutputCP() if it is using a TrueType font).  Cygwin does
@@ -457,8 +457,8 @@ locale_charset (void)
 
   static char buf[2 + 10 + 1];
 
-  /* Woe32 has a function returning the locale's codepage as a number:
-     GetACP().
+  /* The Windows API has a function returning the locale's codepage as a
+     number: GetACP().
      When the output goes to a console window, it needs to be provided in
      GetOEMCP() encoding if the console is using a raster font, or in
      GetConsoleOutputCP() encoding if it is using a TrueType font.
index 9f5816bd65f18b37c97a4ffb8d511c8eff71e956..c9f48574870a200a9722b4ef29e34e10c36fd3c2 100644 (file)
@@ -16,7 +16,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 /* written by Jim Meyering
-   and Bruno Haible for the Woe32 part */
+   and Bruno Haible for the native Windows part */
 
 #include <config.h>
 
index a06b8d4e90c87c0235e9dea712a98b1b61a49e18..c73c76982c07512016521903205559f87f039489 100644 (file)
@@ -141,7 +141,8 @@ nl_langinfo (nl_item item)
       {
         static char buf[2 + 10 + 1];
 
-        /* Woe32 has a function returning the locale's codepage as a number.  */
+        /* The Windows API has a function returning the locale's codepage as
+           a number.  */
         sprintf (buf, "CP%u", GetACP ());
         return buf;
       }
index b186ec4d9df10364f7c6f71aca1eef8f871fbff8..e9a8994756b88c14375af0352ee7b337032eb2d4 100644 (file)
@@ -19,7 +19,7 @@
 /* Specification.  */
 #include <stdio.h>
 
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 
 int
 pclose (FILE *stream)
index f26412ca04c8a9d93af0c9c816c73c7f26f68131..c1ccec34fe7f6ee9c50fe7783e16ee758f6ed866 100644 (file)
@@ -96,7 +96,7 @@ static inline void filter_cleanup (struct pipe_filter_gi *filter,
 
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 
 static unsigned int WINAPI
 reader_thread_func (void *thread_arg)
index 9162303788bca3d7825e7a3b0e3f4b51d3bacc28..1e1d61e90d50462520c94f9e792badb2a4493b42 100644 (file)
@@ -155,7 +155,7 @@ pipe_filter_ii_execute (const char *progname,
     return -1;
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-  /* Native Woe32 API.  */
+  /* Native Windows API.  */
   /* Pipes have a non-blocking mode, see function SetNamedPipeHandleState and
      the article "Named Pipe Type, Read, and Wait Modes", but Microsoft's
      documentation discourages its use.  So don't use it.
index 7b2c6bbdb860587df366e212d4f37445bf3d6628..2780650aa53011d5902072ece2069545ca272b3a 100644 (file)
@@ -21,7 +21,7 @@
 #include <unistd.h>
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 
 /* Get _pipe().  */
 # include <io.h>
index e7daa8e2ff69aeaa237c6957558b946c12772ad3..02e01ca25cd90165ac6b5eb8b59d10d61ed0c3b2 100644 (file)
@@ -31,7 +31,7 @@
 #endif
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 
 # include <io.h>
 
@@ -75,7 +75,7 @@ pipe2 (int fd[2], int flags)
     }
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 
   if (_pipe (fd, 4096, flags & ~O_NONBLOCK) < 0)
     {
index dd36ae4d00b593674f69a7aaee60188bf248875e..7b82bcede2031d2415455d29f8c398538e88ca2b 100644 (file)
@@ -84,7 +84,7 @@ rpl_popen (const char *filename, const char *mode)
 }
 
 #else
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 
 # include <string.h>
 
index 5efd2f95e066463f5736d42f354483e1528de48f..43a80ddafd7629e7cd6c583651e4865381aaedd3 100644 (file)
@@ -112,7 +112,7 @@ static int executable_fd = -1;
 static bool
 maybe_executable (const char *filename)
 {
-  /* Woe32 lacks the access() function.  */
+  /* The native Windows API lacks the access() function.  */
 #if !defined WINDOWS_NATIVE
   if (access (filename, X_OK) < 0)
     return false;
@@ -143,8 +143,8 @@ maybe_executable (const char *filename)
 
 /* Determine the full pathname of the current executable, freshly allocated.
    Return NULL if unknown.
-   Guaranteed to work on Linux and Woe32.  Likely to work on the other
-   Unixes (maybe except BeOS), under most conditions.  */
+   Guaranteed to work on Linux and native Windows.  Likely to work on the
+   other Unixes (maybe except BeOS), under most conditions.  */
 static char *
 find_executable (const char *argv0)
 {
index 676c2123e576123050fc8326ef41893b4d34ae3a..581440b3c3e53ed42065912dfd86352cde27964b 100644 (file)
@@ -394,7 +394,7 @@ find_shared_library_fullname ()
 
 /* Return the full pathname of the current shared library.
    Return NULL if unknown.
-   Guaranteed to work only on Linux, Cygwin and Woe32.  */
+   Guaranteed to work only on Linux, Cygwin, and native Windows.  */
 static char *
 get_shared_library_fullname ()
 {
index 34793a5cbed621788ee9958eda5f48a14e31de85..659c4ec531e341b533ba59a10dd69ea6d6704441 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 
-/* This implementation of sigaction is tailored to Woe32 behavior:
+/* This implementation of sigaction is tailored to native Windows behavior:
    signal() has SysV semantics (ie. the handler is uninstalled before
    it is invoked).  This is an inherent data race if an asynchronous
    signal is sent twice in a row before we can reinstall our handler,
index affffff553a854545ef3147c75acc43c9b12f150..be53d54001246fd62cddfd47a167db27eda7bd7a 100644 (file)
@@ -32,7 +32,7 @@
    also does not have the POSIX sigaction() function, only the
    signal() function.  We also assume signal() has SysV semantics,
    where any handler is uninstalled prior to being invoked.  This is
-   true for Woe32 platforms.  */
+   true for native Windows platforms.  */
 
 /* We use raw signal(), but also provide a wrapper rpl_signal() so
    that applications can query or change a blocked signal.  */
index 8e36c3d23cdb01701a4d5d8d0d2e73824d2d181a..fc7834d00c0c161f6dc463aefce95293c3518b1e 100644 (file)
@@ -37,7 +37,7 @@
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 # include <process.h>
 # include "w32spawn.h"
 
@@ -114,7 +114,7 @@ create_pipe (const char *progname,
 {
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
-  /* Native Woe32 API.
+  /* Native Windows API.
      This uses _pipe(), dup2(), and spawnv().  It could also be implemented
      using the low-level functions CreatePipe(), DuplicateHandle(),
      CreateProcess() and _open_osfhandle(); see the GNU make and GNU clisp
index 16b4baa62b3187b4529d193ca83114e0a943f442..ea8ae8f0bede36aa5a7722315b4aad669472857b 100644 (file)
@@ -131,7 +131,7 @@ extern pid_t create_pipe_bidi (const char *progname,
 
 /* The name of the "always silent" device.  */
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 # define DEV_NULL "NUL"
 #else
 /* Unix API.  */
index 6b080e2321e6a42bd82187fb64d2ba52d44c60c8..649a4b9bd1a2d97b00dc77379b2239601e0333c9 100644 (file)
@@ -91,7 +91,7 @@
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 int
 __spawni (pid_t *pid, const char *file,
           const posix_spawn_file_actions_t *file_actions,
index c23ae9c68ba94def1dd4e2b48ffcb102913c3872..30c2acdab63637b73c590bfb91e06502839bcf94 100644 (file)
@@ -155,7 +155,7 @@ get_stat_birthtime (struct stat const *st)
   t.tv_sec = st->st_birthtime;
   t.tv_nsec = st->st_birthtimensec;
 #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-  /* Woe32 native platforms (but not Cygwin) put the "file creation
+  /* Native Windows platforms (but not Cygwin) put the "file creation
      time" in st_ctime (!).  See
      <http://msdn2.microsoft.com/de-de/library/14h5k7ff(VS.80).aspx>.  */
   t.tv_sec = st->st_ctime;
index 0ed8e7ffe33cc475ec0a945156a49c2fc5e830bc..4cdb843442a0c995438657f324d8782d8d639917 100644 (file)
@@ -1,4 +1,4 @@
-/* Auxiliary functions for the creation of subprocesses.  Native Woe32 API.
+/* Auxiliary functions for the creation of subprocesses.  Native Windows API.
    Copyright (C) 2001, 2003-2012 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
index a63080c1f22471897065b301ba238ee109622041..263e05ed0434391c6a102b3cdd46ba4a81ccba1d 100644 (file)
@@ -28,7 +28,7 @@ SIGNATURE_CHECK (isatty, int, (int));
 
 /* The name of the "always silent" device.  */
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API.  */
+/* Native Windows API.  */
 # define DEV_NULL "NUL"
 #else
 /* Unix API.  */