* 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:
DJ Delorie
2000-10-19 03:12:44 +00:00
parent cc55c579a3
commit 2556e737ec
8 changed files with 144 additions and 105 deletions

View File

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