From: Hans-Bernhard B. <br...@ph...> - 2004-08-08 15:44:33
|
On Sat, 7 Aug 2004, Ethan Merritt wrote: > I have removed this "feature" from the two places that used it. > Is it important enough to remove whitespace that we should have a > separate, more correct, routine that does so and share it for all > places that a filename is read in? As far as I'm concerned, we might just as well exit(EXIT_FAILURE) immediately as any filename with leading whitespace is entered by the user --- that's exactly the correct reaction to anybody trying to do such a silly thing. Whitespace in the interior of filenames is quite silly already, but leading (or trailing) whitespace is just *begging* for punishment. I guess the original code was trying to be helpful here. But unless this was a documented feature, I guess we can safely remove it. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |