cvs commit: src/lib/libarchive
archive_write_disk_set_standard_lookup.c
Colin Percival
cperciva at FreeBSD.org
Tue May 22 15:37:59 UTC 2007
cperciva 2007-05-22 15:37:58 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_write_disk_set_standard_lookup.c
Log:
Replace "sizeof(struct bucket[cache_size])" with
"cache_size * sizeof(struct bucket)". The former is valid in C99 but can
confuse earlier compilers, while the latter is a standard idiom which all
C compilers understand.
Approved by: kientzle
Revision Changes Path
1.3 +4 -4 src/lib/libarchive/archive_write_disk_set_standard_lookup.c
More information about the cvs-src
mailing list