Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c72e6644
Commit
c72e6644
authored
Jun 28, 1997
by
Richard M. Stallman
Browse files
automatically generated from GPLed version
parent
3788c735
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/strftime.c
src/strftime.c
+4
-2
No files found.
src/strftime.c
View file @
c72e6644
...
...
@@ -176,8 +176,10 @@ localtime_r (t, tp)
#if !defined (memset) && !defined (HAVE_MEMSET) && !defined (_LIBC)
/* Some systems lack the `memset' function and we don't want to
introduce additional dependencies. */
static
const
char
spaces
[
16
]
=
" "
;
static
const
char
zeroes
[
16
]
=
"0000000000000000"
;
/* The SGI compiler reportedly barfs on the trailing null
if we use a string constant as the initializer. 28 June 1997, rms. */
static
const
char
spaces
[
16
]
=
{
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
,
' '
}
/* " "*/
;
static
const
char
zeroes
[
16
]
=
{
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
}
/*"0000000000000000"*/
;
# define memset_space(P, Len) \
do { \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment