diff options
| author | Richard M. Stallman | 1997-06-28 23:28:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-28 23:28:13 +0000 |
| commit | c72e6644d735a706fba0d14a90884ff1724eada0 (patch) | |
| tree | 098b2b74a8f761acd65fcc9ea7fb5268dc1334f5 /src | |
| parent | 3788c735f77c99a57ce36d9143ee4d9c8d6f9440 (diff) | |
| download | emacs-c72e6644d735a706fba0d14a90884ff1724eada0.tar.gz emacs-c72e6644d735a706fba0d14a90884ff1724eada0.zip | |
automatically generated from GPLed version
Diffstat (limited to 'src')
| -rw-r--r-- | src/strftime.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/strftime.c b/src/strftime.c index abd039f5b24..a757614e30f 100644 --- a/src/strftime.c +++ b/src/strftime.c | |||
| @@ -176,8 +176,10 @@ localtime_r (t, tp) | |||
| 176 | #if !defined (memset) && !defined (HAVE_MEMSET) && !defined (_LIBC) | 176 | #if !defined (memset) && !defined (HAVE_MEMSET) && !defined (_LIBC) |
| 177 | /* Some systems lack the `memset' function and we don't want to | 177 | /* Some systems lack the `memset' function and we don't want to |
| 178 | introduce additional dependencies. */ | 178 | introduce additional dependencies. */ |
| 179 | static const char spaces[16] = " "; | 179 | /* The SGI compiler reportedly barfs on the trailing null |
| 180 | static const char zeroes[16] = "0000000000000000"; | 180 | if we use a string constant as the initializer. 28 June 1997, rms. */ |
| 181 | static const char spaces[16] = { ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' '} /* " "*/ ; | ||
| 182 | static const char zeroes[16] = { '0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'} /*"0000000000000000"*/; | ||
| 181 | 183 | ||
| 182 | # define memset_space(P, Len) \ | 184 | # define memset_space(P, Len) \ |
| 183 | do { \ | 185 | do { \ |