summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strftime.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-12-27 19:28:46 +0000
committerwpaul <wpaul@FreeBSD.org>1996-12-27 19:28:46 +0000
commit2456fc0b4bd454a5e480dc9ee6da285f454de8b5 (patch)
treeb3899e41109595c94a952b728bb8f15ac2b7d3c4 /lib/libc/stdtime/strftime.c
parent4fe1563f048bdf7002bd5c57edb9f8d551063830 (diff)
downloadFreeBSD-src-2456fc0b4bd454a5e480dc9ee6da285f454de8b5.zip
FreeBSD-src-2456fc0b4bd454a5e480dc9ee6da285f454de8b5.tar.gz
Small yet significant tweaks/cleanups:
- getpwent: o adjunctbuf should be NUL terminated after copying o _pw_breakout_yp() needs to know the length of the buffer returned from YP so it can properly NUL terminate its local buffer. - getgrent: o YP buffers should be YPMAXRECORD + 2 bytes long and NUL terminated. (Previously they were hardcoded to 1024 bytes.) - getnetgrent: o YP data should be copied with snprintf(), not sprintf() These are 2.2 candidates. I will wait a few days to make sure these don't break anything and then, if there are no objections, move them to the 2.2 branch.
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud