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:
authorCorinna Vinschen <corinna@vinschen.de>2008-03-10 20:23:50 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-03-10 20:23:50 +0300
commit949c0ec28c86623b83ae56651c00d1bd3c3a5d0c (patch)
treedd6c5f8bc305a71dfe392e13e19583c9ee37ad53 /winsup/cygwin/fhandler.h
parentf37e220e862843a933d5fac1e446b1b9fceacfa1 (diff)
* fhandler.h (class fhandler_console): Add write_buf as pointer to
temporary buffer space. * fhandler_console.cc (CONVERT_LIMIT): Define as NT_MAX_PATH. Add comment. (fhandler_console::write_normal): Use write_buf throughout. (fhandler_console::write): Use tmp_pathbuf to allocate write_buf.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index cedf7f987..f78861cde 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -884,7 +884,7 @@ class dev_console
bool raw_win32_keyboard_mode;
inline UINT get_console_cp ();
- bool con_to_str (char *d, int dlen, WCHAR w);
+ DWORD con_to_str (char *d, int dlen, WCHAR w);
DWORD str_to_con (PWCHAR d, const char *s, DWORD sz);
void set_color (HANDLE);
bool fillin_info (HANDLE);
@@ -906,6 +906,7 @@ class fhandler_console: public fhandler_termios
int len;
unsigned char buf[4]; /* Max len of valid UTF-8 sequence. */
} trunc_buf;
+ PWCHAR write_buf;
/* Output calls */
void set_default_attr ();