From fa49f7e3ff1ee5a9941c11ec6f236b9995053726 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 14 Apr 2012 13:21:31 +0200 Subject: [PATCH] dossrv: make dos 8+3 filenames lowercase --- sys/src/cmd/dossrv/dossubs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/cmd/dossrv/dossubs.c b/sys/src/cmd/dossrv/dossubs.c index 86d95674c..ed7b67808 100644 --- a/sys/src/cmd/dossrv/dossubs.c +++ b/sys/src/cmd/dossrv/dossubs.c @@ -1116,7 +1116,7 @@ getname(char *p, Dosdir *d) break; if(i == 0 && c == 0x05) c = 0xe5; - *p++ = c; + *p++ = tolower(c); } for(i=0; i<3; i++){ c = d->ext[i]; @@ -1124,7 +1124,7 @@ getname(char *p, Dosdir *d) break; if(i == 0) *p++ = '.'; - *p++ = c; + *p++ = tolower(c); } *p = 0; }