* 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

@ -228,7 +228,7 @@ fhandler_console::read (void *pv, size_t buflen)
else
{
tmp[0] = '\033';
tmp[1] = tolower (tmp[1]);
tmp[1] = cyg_tolower (tmp[1]);
toadd = tmp;
nread++;
}