* 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.
This commit is contained in:
Corinna Vinschen
2008-03-12 16:55:42 +00:00
parent 414dcf5f83
commit 495571e5fc
3 changed files with 16 additions and 6 deletions

View File

@@ -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