Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: riastradh
Date: Tue Aug 8 10:34:08 UTC 2023
Modified Files:
src/include: cdbw.h
src/lib/libc/cdb: cdbw.3 cdbw.c
Log Message:
cdbw(3): Make cdbw_output descr parameter type less confusing.
This is a string of _up to_ 16 bytes, used with strncpy(..., 16).
Specifying `const char descr[16]', while formally equivalent to
`const char *descr' in standard C, now provokes the ire of gcc when
the caller does not provide a buffer of at least 16 bytes.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/include/cdbw.h
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/cdb/cdbw.3 src/lib/libc/cdb/cdbw.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index