Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-08-17 16:45:51 +0400
committerChristopher Faylor <me@cgf.cx>2009-08-17 16:45:51 +0400
commit28c054b72071b20e8303d9e19420fc6def3335bd (patch)
tree828cd76fe278cdceb977dbc7664f6f6e4910a5f9 /winsup/cygwin/pipe.cc
parentde856c440248765771cf0a1eca1aa899b0b2e164 (diff)
* 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.cc2
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);