* Makefile.in: add miscfuncs.cc
* miscfuncs.cc: new, miscellaneous functions * winsup.h: define table-driven tolower/toupper * environ.cc: use them * fhandler_console.cc: ditto * fhandler_termios: ditto * path.cc: ditto (strncasematch, strcasematch, strcasestr): move to miscfuncs.cc
This commit is contained in:
@@ -283,7 +283,7 @@ fhandler_termios::line_edit (const char *rptr, int nread, int always_accept)
|
||||
}
|
||||
|
||||
if (tc->ti.c_iflag & IUCLC && isupper (c))
|
||||
c = tolower (c);
|
||||
c = cyg_tolower (c);
|
||||
|
||||
if (tc->ti.c_lflag & ECHO)
|
||||
doecho (&c, 1);
|
||||
|
Reference in New Issue
Block a user