* include/sys/cygwin.h (CW_SETERRNO): Define.

* external.cc (CW_SETERRNO): Implement.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 192 to reflect the
above change.
* path.cc (path_prefix_p): Treat X: as equivalent to x:.
* mkglobals_h: Remove unneeded #define.
* spawn.cc (spawn_guts): Avoid overly wordy initialization to zero.
This commit is contained in:
Christopher Faylor
2009-01-09 05:18:02 +00:00
parent 086dc27fec
commit d95d8c5393
7 changed files with 39 additions and 7 deletions

View File

@@ -340,12 +340,13 @@ details. */
190: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc, getwchar,
putwc, putwchar, ungetwc.
191: Export glob_pattern_p
192: CW_SETERRNO added
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 191
#define CYGWIN_VERSION_API_MINOR 192
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible

View File

@@ -141,7 +141,8 @@ typedef enum
CW_SYNC_WINENV,
CW_CYGTLS_PADSIZE,
CW_SET_DOS_FILE_WARNING,
CW_SET_PRIV_KEY
CW_SET_PRIV_KEY,
CW_SETERRNO
} cygwin_getinfo_types;
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */