# HG changeset patch # User Paul Eggert # Date 942967336 0 # Node ID 0a4e16e5eb52341d2d01b9824c309cf05f3dd059 # Parent 9a80d274ce4686ac262f6e96ac6b3355c2c65e96 (my_strftime): Some old compilers object to '\a', so don't bother optimizing for it. diff -r 9a80d274ce46 -r 0a4e16e5eb52 src/strftime.c --- a/src/strftime.c Thu Nov 18 18:28:59 1999 +0000 +++ b/src/strftime.c Thu Nov 18 23:22:16 1999 +0000 @@ -508,7 +508,7 @@ case '%': break; - case '\a': case '\b': case '\t': case '\n': + case '\b': case '\t': case '\n': case '\v': case '\f': case '\r': case ' ': case '!': case '"': case '#': case '&': case'\'': case '(': case ')': case '*': case '+': case ',': case '-': @@ -526,10 +526,11 @@ case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case '{': case '|': case '}': case '~': - /* The C Standard requires these 98 characters (plus '%') to + /* The C Standard requires these 97 characters (plus '%', '\a') to be in the basic execution character set. None of these characters can start a multibyte sequence, so they need - not be analyzed further. */ + not be analyzed further. Some old compilers object to + '\a', so don't bother optimizing for it. */ add (1, *p = *f); continue;