summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-05-10 17:53:56 +0000
committerschwarze <schwarze@openbsd.org>2011-05-10 17:53:56 +0000
commitcef04602080035aac03990b9a2736b8fd2fdfa04 (patch)
treeed518d79efad5bfbb33ace136e5f85ae632d5dd4 /lib/libc/stdlib/malloc.c
parentsync (diff)
downloadwireguard-openbsd-cef04602080035aac03990b9a2736b8fd2fdfa04.tar.xz
wireguard-openbsd-cef04602080035aac03990b9a2736b8fd2fdfa04.zip
Do not complain about an /etc/group line "+\n" as "wrong number of fields",
that abbreviated syntax is explicitly allowed by group(5). While here, warn if it isn't the last line in the group file. Regression reported, fix tested and ok miod@, and seems good to ajacoutot@. Note: I'm not removing the advice to put "+\n" at the end of the group file right now because i'm not 100% sure that advice is pointless, even though guenther@ looked at the code an came to the conclusion OpenBSD libc ought to cope. And i'd rather have the manuals and the syntax checker be consistent. In case this really annoys people, it can be carefully tested and changed later.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions