Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 11 Oct 2016 18:44:14 -0400
From: Daniel Sabogal <dsabogalcc@...il.com>
To: musl@...ts.openwall.com
Subject: Header conformance/improvements

Here's a list of observations from musl's headers.

namespace/feature testing
-------------------------
dirent.h:36-7: (seek|tell)dir - XSI
grp.h:32-4: (get|end|set)grent - XSI
pwd.h:30-2: (set|end|get)pwent - XSI
stdlib.h:103: mkostemp - GNU
sys/stat.h:82,85: mknod[at] - XSI
sys/time.h:13-29: sys/time.h - XSI header
time.h:121: tzname - base, not XSI
unistd.h:113,116: setre(uid|gid) - XSI
wchar.h:70: wcswcs - issue 6 XSI and wcs[a-z], but removed

misc
----
stdlib.h:155-8:
glibc provides locale_t under _GNU_SOURCE. maybe it should
be provided and used in place of struct __locale_struct.

string.h:88:
gcc generates an implicit-function-declaration warning from alloca
when using strdupa. aside: glibc also provides strndupa.

parameter names
---------------
grp.h:37: stream
ifaddrs.h:27,28: ifp, ifap
stdlib.h:42: alignment, size
sys/xattr.h:16,19: filedes
threads.h:78: key
wchar.h:56,168: n

typos
-----
sys/param.h:10: CANBSIZE -> CANBSIZ
utmpx.h:41: | -> ||

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.