diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-03-12 16:55:42 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-03-12 16:55:42 +0000 |
commit | 495571e5fc12807ff2b657bbb0899436b3ea5467 (patch) | |
tree | 743822027d44d86a1198b7519d5c9cd0a6baffdd /winsup/cygwin/pipe.cc | |
parent | 414dcf5f83bc349ead0f47a2faf188f1ef034904 (diff) | |
download | cygnal-495571e5fc12807ff2b657bbb0899436b3ea5467.tar.gz cygnal-495571e5fc12807ff2b657bbb0899436b3ea5467.tar.bz2 cygnal-495571e5fc12807ff2b657bbb0899436b3ea5467.zip |
* pipe.cc (fhandler_pipe::create_selectable): Use MAX_PATH instead of
CYG_MAX_PATH.
* tty.cc (tty_list::init_session): Ditto.
(tty::alive): Ditto.
(tty::open_mutex): Ditto.
(tty::create_inuse): Ditto.
(tty::get_event): Ditto.
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 2498139d8..87a7474bd 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -342,7 +342,7 @@ fhandler_pipe::create_selectable (LPSECURITY_ATTRIBUTES sa_ptr, HANDLE& r, if (psize < PIPE_BUF) psize = PIPE_BUF; - char pipename[CYG_MAX_PATH]; + char pipename[MAX_PATH]; /* Retry CreateNamedPipe as long as the pipe name is in use. Retrying will probably never be necessary, but we want |