Hi!
true, but according to TC docs, toupper() supports EOF (-1 I believe) to 255 and any non-lowercase item is returned unchanged; so no check should be necessary. I suppose we could explicitly check for a letter argument and return syntax error if not (since not a drive usually), then change to use _toupper macro or even straight bit manipulation (anding off bit 5 I think).
OS like Dr-DOS support more than the aphabetical drives. There is f.e. "[:" possible.
Bye, Flo ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
