summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlen.c
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2001-11-07 17:53:25 +0000
committerfenner <fenner@FreeBSD.org>2001-11-07 17:53:25 +0000
commit5c86756d5cf36e038608ab2591f6cb6b48484e69 (patch)
treeb2b688ff8330ba39d958302f310db7a7c8cd4cd1 /lib/libc/string/strlen.c
parent56c5d2891e8af291e73151d9600e747e77ceee59 (diff)
downloadFreeBSD-src-5c86756d5cf36e038608ab2591f6cb6b48484e69.zip
FreeBSD-src-5c86756d5cf36e038608ab2591f6cb6b48484e69.tar.gz
Initialize first to -1; this will create a (nearly) empty file on failure,
instead of looping until the disk is full. This kind of failure can especially happen when a version of awk that doesn't support POSIX character classes is used. Submitted by: David Wolfskill <david@catwhisker.org>
Diffstat (limited to 'lib/libc/string/strlen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud