summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/localtime.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-05-03 17:05:25 +0000
committerjmallett <jmallett@FreeBSD.org>2002-05-03 17:05:25 +0000
commita1aec7d10e4d0a1c547c2aecf9441d2615773553 (patch)
tree0576f705de7058672468c05f135e18c7405a18a1 /lib/libc/stdtime/localtime.c
parent0c0e3cb83dd7435205d693153abbb85a8f1121a4 (diff)
downloadFreeBSD-src-a1aec7d10e4d0a1c547c2aecf9441d2615773553.zip
FreeBSD-src-a1aec7d10e4d0a1c547c2aecf9441d2615773553.tar.gz
Rewrite the loop that handles substitution in the -I case, and try to make
it easier to understand. Making it easy to understand isn't all that easy, so litter the code with comments so some other poor soul can come along some day and work on this if they see fit to do so. Avoid calling strlen(3) to check for a nil-string, when we can just check for *str=='\0'. Approved by: src/tools/regression/usr.bin/xargs/
Diffstat (limited to 'lib/libc/stdtime/localtime.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud