diff options
author | kib <kib@FreeBSD.org> | 2008-10-22 19:55:12 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-10-22 19:55:12 +0000 |
commit | f1194ec0c51a3911510c9cbd19a18f7564224c7a (patch) | |
tree | f1ec3afc3635284710c709eb0c669d94f4199f33 /lib/libc/regex/cname.h | |
parent | bd95a9894955cf48b97e948aef037427d577dde2 (diff) | |
download | FreeBSD-src-f1194ec0c51a3911510c9cbd19a18f7564224c7a.zip FreeBSD-src-f1194ec0c51a3911510c9cbd19a18f7564224c7a.tar.gz |
Remove doubtful structure definition with variable array members.
I believe this is not a valid C99 construct. Use directly calculated
offsets into the supplied buffer, using specified members length,
to fill appropriate structure.
Either use sysctl, or copy the value of the UNAME_x environment
variable, instead of unconditionally doing sysctl, and then
overriding a returned value with user-specified one.
Noted and tested by: rdivacky
Diffstat (limited to 'lib/libc/regex/cname.h')
0 files changed, 0 insertions, 0 deletions