Re: relicensing libunistring to "dual LGPLv3+ or GPLv2"

2016-12-01 Thread Paul Eggert
Bruno Haible wrote: Paul, please cry loudly if you disagree :) No, that's fine, thanks. (Sorry, I thought I already replied to this.)

Re: relicensing libunistring to "dual LGPLv3+ or GPLv2"

2016-12-01 Thread Bruno Haible
People reminded me about this license change: > The other files were written by: > lib/fseterr.h: Bruno > lib/fseterr.c: Bruno, Kevin Cernekee > lib/mbchar.h: Bruno, Paul (regarding 'inline') > lib/mbchar.c: Bruno, Paul (regarding 'inline') > lib/mbiter.h: Bruno, Paul > lib/mbiter.c: P

Re: makedev module

2016-12-01 Thread Bruno Haible
Pádraig Brady wrote in http://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00022.html: > I suggested a makedev gnulib module in the thread above > as it's not just the headers that are varying, > as also some systems use mkdev() and some makedev(). > http://lists.gnu.org/archive/html/bug-gnuli

Re: [PATCH] mountlist/ptsname_r: leverage AC_HEADER_MAJOR

2016-12-01 Thread Bruno Haible
Pádraig Brady wrote in http://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00022.html and pushed in http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00116.html: > Context in http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00025.html > glibc-2.23 and musl now need this change i

Re: [PATCH 0/4] OS/2 patches

2016-12-01 Thread Pádraig Brady
On 01/12/16 10:52, KO Myung-Hun wrote: > Hi/2. > > These are OS/2 patches. > > Review, please... > > [PATCH 1/4] sys_socket: typedef sa_family_t correctly on OS/2 kLIBC > [PATCH 2/4] relocatable: Fix that /@unixroot prefix is not working on > [PATCH 3/4] alphasort, scandir: Port to OS/2 kLIBC >

[PATCH 3/4] alphasort, scandir: Port to OS/2 kLIBC

2016-12-01 Thread KO Myung-Hun
On OS/2 kLIBC, scandir() declaration is different from POSIX. As a result, alphasort() declaration is different, too. * lib/alphasort.c (alphasort): Implement according to OS/2 kLIBC declaration. * lib/scandir.c (scandir): Add declaration for OS/2 kLIBC. --- lib/alphasort.c | 10 ++ lib/s

[PATCH 1/4] sys_socket: typedef sa_family_t correctly on OS/2 kLIBC

2016-12-01 Thread KO Myung-Hun
On OS/2 kLIBC, sa_family_t is unsigned char unless TCPV40HDRS is defined. * lib/sys_socket.in.h (sa_family_t): Typedef to unsigned char on OS/2 kLIBC unless TCPV40HDRS is defined. --- lib/sys_socket.in.h | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/sys_socket.in.h b/lib/sys_socket

[PATCH 4/4] scandir: Fix _D_ALLOC_NAMLEN() on OS/2 kLIBC

2016-12-01 Thread KO Myung-Hun
On OS/2 kLIBC, d_name is not the last field of struct dirent. So copying struct dirent according to the size calculated based on d_name blows the fields after d_name up. The correct way is to allocate the whole size of struct dirent. * lib/scandir.c (_D_ALLOC_NAMLEN): Consider the fields after d_

[PATCH 0/4] OS/2 patches

2016-12-01 Thread KO Myung-Hun
Hi/2. These are OS/2 patches. Review, please... [PATCH 1/4] sys_socket: typedef sa_family_t correctly on OS/2 kLIBC [PATCH 2/4] relocatable: Fix that /@unixroot prefix is not working on [PATCH 3/4] alphasort, scandir: Port to OS/2 kLIBC [PATCH 4/4] scandir: Fix _D_ALLOC_NAMLEN() on OS/2 kLIBC

[PATCH 2/4] relocatable: Fix that /@unixroot prefix is not working on OS/2 kLIBC

2016-12-01 Thread KO Myung-Hun
OS/2 kLIBC has a feature to rewrite some path components. For example, '/@unixroot' is replaced with a value of $UNIXROOT if it is. So prepending a drive letter to the path starting with '/' makes the path starting with '/@unixroot' to 'x:/@unixroot' which is unexpected. This will breaks the beha