diff options
author | Christopher Faylor <me@cgf.cx> | 2011-08-19 22:19:22 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-08-19 22:19:22 +0400 |
commit | c8a66289e45bbbc915a92f443745e3f8dea2947e (patch) | |
tree | 19e4390ecaca78b43b06547104b3ffcc1aba6dc9 /winsup/cygwin/fhandler_console.cc | |
parent | 34dc27f95d2a95c5d978ac747677cfd8a195fea5 (diff) |
* dtable.cc: Mark some const variables as static.
* environ.cc (conv_start_chars): Move to shared cygwin region and initialize at
compile time.
(match_first_char): New generic function for querying conv_start_chars.
(posify_maybe): Rename from posify.
(environ_init): Remove conv_envvars initialization. Don't check
conv_start_chars, just allow posify_maybe to make the decision.
* fhandler_console.cc (__vt100_conv): Fix formatting. Mark as const.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 6364e645d..b7e4e26e9 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -1208,7 +1208,7 @@ fhandler_console::cursor_get (int *x, int *y) /* VT100 line drawing graphics mode maps `abcdefghijklmnopqrstuvwxyz{|}~ to graphical characters */ -static wchar_t __vt100_conv [31] = { +static const wchar_t __vt100_conv[31] = { 0x25C6, /* Black Diamond */ 0x2592, /* Medium Shade */ 0x2409, /* Symbol for Horizontal Tabulation */ |