glibc/string
Zack Weinberg 1baae4aa6f
Don't use the argument to time.
It doesn't make sense to remove all the internal uses of time.
It's still a standard ISO C function, and its callers don't need
sub-second resolution and would be unnecessarily complicated if
they had to declare a struct timespec instead of just a time_t.
However, a handful of places were using the vestigial "result"
argument instead of the return value, which is slightly less
efficient and also looks strange.  Correct this.

	* misc/syslog.c (__vsyslog_internal)
	* time/getdate.c (__getdate_r)
	* time/tst_wcsftime.c (main):
	Use return value of time, not its argument.

	* string/strfry.c (strfry)
	* sysdeps/mach/sleep.c (__sleep):
	Remove unnecessary casts of NULL in calls to time.
2019-08-21 08:26:36 -04:00
..
bits
_strerror.c
argz-addsep.c
argz-append.c
argz-count.c
argz-create.c
argz-ctsep.c
argz-delete.c
argz-extract.c
argz-insert.c
argz-next.c
argz-replace.c
argz-stringify.c
argz.h
basename.c
bcopy.c
bug-envz1.c
bug-strcoll1.c
bug-strcoll2.c
bug-strncat1.c
bug-strpbrk1.c
bug-strspn1.c
bug-strtok1.c
byteswap.h
bzero.c
Depend
endian.h
envz.c
envz.h
explicit_bzero.c
ffs.c
ffsll.c
inl-tester.c
Makefile
memccpy.c
memchr.c
memcmp.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
memcpy.c
memfrob.c
memmem.c Improve performance of memmem 2019-06-12 11:42:34 +01:00
memmove.c
memory.h
mempcpy.c
memrchr.c
memset.c
noinl-tester.c
rawmemchr.c
stpcpy.c
stpncpy.c
str-two-way.h Improve performance of strstr 2019-06-12 11:38:52 +01:00
stratcliff.c
strcasecmp_l.c
strcasecmp.c
strcasestr.c
strcat.c
strchr.c Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
strchrnul.c Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
strcmp.c
strcoll_l.c
strcoll.c
strcpy.c
strcspn.c
strdup.c
strerror_l.c
strerror.c
strfry.c Don't use the argument to time. 2019-08-21 08:26:36 -04:00
string-inlines.c
string.h Declare memccpy, strdup, strndup for C2X. 2019-08-13 11:27:06 +00:00
strings.h
strlen.c
strncase_l.c
strncase.c
strncat.c
strncmp.c
strncpy.c
strndup.c
strnlen.c
strpbrk.c
strrchr.c
strsep.c
strsignal.c
strspn.c
strstr.c Improve performance of strstr 2019-06-12 11:38:52 +01:00
strtok_r.c
strtok.c
strverscmp.c
strxfrm_l.c
strxfrm.c
swab.c
test-bcopy.c
test-bzero.c
test-endian-file-scope.c
test-endian-sign-conversion.c
test-endian-types.c
test-explicit_bzero.c
test-ffs.c
test-memccpy.c
test-memchr.c
test-memcmp.c
test-memcpy.c
test-memmem.c
test-memmove.c
test-mempcpy.c
test-memrchr.c
test-memset.c
test-rawmemchr.c
test-stpcpy.c
test-stpncpy.c
test-strcasecmp.c
test-strcasestr.c Fix gcc 9 build errors for make xcheck. [BZ #24556] 2019-06-19 12:32:04 +02:00
test-strcat.c
test-strchr.c
test-strchrnul.c
test-strcmp.c
test-strcpy.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
test-strcspn.c
test-strerror-errno.c
test-string.h
test-strlen.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
test-strncasecmp.c
test-strncat.c
test-strncmp.c
test-strncpy.c
test-strnlen.c
test-strpbrk.c
test-strrchr.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
test-strspn.c
test-strstr.c Fix gcc 9 build errors for make xcheck. [BZ #24556] 2019-06-19 12:32:04 +02:00
testcopy.c
tester.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
tst-bswap.c
tst-cmp.c
tst-endian.c
tst-inlcall.c
tst-strcoll-overflow.c
tst-strfry.c
tst-strlen.c
tst-strtok_r.c
tst-strtok.c
tst-strxfrm2.c
tst-strxfrm.c
tst-svc2.c
tst-svc.c
tst-svc.expect
tst-svc.input
tst-xbzero-opt.c
Versions
wordcopy.c
xpg-strerror.c