diff options
author | Christopher Faylor <me@cgf.cx> | 2009-08-17 12:45:51 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-08-17 12:45:51 +0000 |
commit | 28c054b72071b20e8303d9e19420fc6def3335bd (patch) | |
tree | 828cd76fe278cdceb977dbc7664f6f6e4910a5f9 /winsup/cygwin/pipe.cc | |
parent | de856c440248765771cf0a1eca1aa899b0b2e164 (diff) | |
download | cygnal-28c054b72071b20e8303d9e19420fc6def3335bd.tar.gz cygnal-28c054b72071b20e8303d9e19420fc6def3335bd.tar.bz2 cygnal-28c054b72071b20e8303d9e19420fc6def3335bd.zip |
* pipe.cc (fhandler_pipe::create_selectable): Add -pipe to default pipe names.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Use bool/true/false for
what is actually a boolean variable.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index a694bceef..5e557d8c6 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -228,7 +228,7 @@ fhandler_pipe::create_selectable (LPSECURITY_ATTRIBUTES sa_ptr, HANDLE& r, { static volatile ULONG pipe_unique_id; if (!name) - __small_sprintf (pipename + strlen(PIPE_INTRO), "%p-%p", myself->pid, + __small_sprintf (pipename + strlen(PIPE_INTRO), "pipe-%p-%p", myself->pid, InterlockedIncrement ((LONG *) &pipe_unique_id)); else strcpy (pipename + strlen(PIPE_INTRO), name); |