comparison src/fileio.c @ 97852:951870b6c085

(report_file_error): Clarify the case of slash defeating downcasing.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 29 Aug 2008 09:27:26 +0000
parents 6a486cee0621
children cff62eaa08c4
comparison
equal deleted inserted replaced
97851:fbab7908c69a 97852:951870b6c085
258 case EEXIST: 258 case EEXIST:
259 xsignal (Qfile_already_exists, Fcons (errstring, data)); 259 xsignal (Qfile_already_exists, Fcons (errstring, data));
260 break; 260 break;
261 default: 261 default:
262 /* System error messages are capitalized. Downcase the initial 262 /* System error messages are capitalized. Downcase the initial
263 unless it is followed by a slash. */ 263 unless it is followed by a slash. (The slash case caters to
264 error messages that begin with "I/O" or, in German, "E/A".) */
264 if (STRING_MULTIBYTE (errstring) 265 if (STRING_MULTIBYTE (errstring)
265 && ! EQ (Faref (errstring, make_number (1)), make_number ('/'))) 266 && ! EQ (Faref (errstring, make_number (1)), make_number ('/')))
266 { 267 {
267 int c; 268 int c;
268 269