comparison src/strftime.c @ 18487:47be751da08b

automatically generated from GPLed version
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Jun 1997 23:28:13 +0000
parents 2ef01cc793bf
children 3a7fb597e8a8
comparison
equal deleted inserted replaced
18486:83ff1ecdb0e3 18487:47be751da08b
174 174
175 175
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 { \
184 int _len = (Len); \ 186 int _len = (Len); \
185 \ 187 \