parse-datetime license

2015-11-06 Thread Giuseppe Scrivano
Hi Paul, I would like to use the parse-datetime module from a project distributed under GPLv2. Could it be possible to relax the license so I can use it? Thanks, Giuseppe

[PATCH 03/11] pipe-filter-aux: undefine HAVE_SELECT on KLIBC

2015-11-06 Thread KO Myung-Hun
On OS/2 kLIBC, select() works only on sockets. * lib/pipe-filter-aux.h (HAVE_SELECT): Undefine on OS/2 kLIBC. --- ChangeLog | 7 +++ lib/pipe-filter-aux.h | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c977cae..6fc07ad 100644

[PATCH 04/11] w32spawn: clear SHELL_SPECIAL_CHARS and SHELL_SPACE_CHAR on OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
spawn() on OS/2 kLIBC is not silly like one on Windows * libc/w32spawn.h (SHELL_SPECIAL_CHARS, SHELL_SPACE_CHAR): Set both to empty string on OS/2 kLIBC. --- ChangeLog | 8 lib/w32spawn.h | 9 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/Chan

[PATCH] OS/2 patches

2015-11-06 Thread KO Myung-Hun
Hi/2. These are the rebased patches for OS/2. [PATCH 01/11] stdint: check _INTPTR_T_DECLARED before defining [PATCH 02/11] binary-io: don't put fd in binary mode if it is a [PATCH 03/11] pipe-filter-aux: undefine HAVE_SELECT on KLIBC [PATCH 04/11] w32spawn: clear SHELL_SPECIAL_CHARS and [PATCH 05

[PATCH 02/11] binary-io: don't put fd in binary mode if it is a console on EMX

2015-11-06 Thread KO Myung-Hun
* lib/binary-io.h (SET_BINARY): Don't put fd in binary mode if it is a console on EMX. --- ChangeLog | 6 ++ lib/binary-io.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f26a5b4..c977cae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +

[PATCH 05/11] wchar: fix 'conflicting types' error for `__wcwidth' on OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
On OS/2 kLIBC, wcwidth is a macro to static inline function. Implementation of wcwidth in wcwidth.c causes 'conflicting types' error. * lib/wchar.in.h: Undefine wcwidth on OS/2 kLIBC. --- ChangeLog | 9 + lib/wchar.in.h | 6 +- 2 files changed, 14 insertions(+), 1 deletion(-) di

[PATCH 01/11] stdint: check _INTPTR_T_DECLARED before defining intptr_t and uintptr_t

2015-11-06 Thread KO Myung-Hun
OS/2 kLIBC's stdint.h defines _INTPTR_T_DECLARED and needs its own definitions of intptr_t and uintptr_t (which use int and unsigned) to avoid clashes with declarations of system functions like sbrk. * lib/stdint.in.h (intptr_t, uintptr_t): Check _INTPTR_T_DECLARED before defining them. --- Chang

[PATCH 06/11] pipe_filter_ii_execute: port to OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
Pipes on kLIBC does not support O_NONBLOCK like Win32. * lib/pipe-filter-ii.c (start_wrapper, _beginthreadex, CloseHandle, WaiForSingleObject, WaitForMultipleObjects): New on OS/2 kLIBC. Reuse Win32 codes on OS/2 kLIBC. * lib/spawn-pipe.c: Reuse Win32 codes on OS/2 kLIBC. * lib/w32spawn.h: Do not

[PATCH 11/11] gnulib-tool: fall back into copy if symbolic link is not supported

2015-11-06 Thread KO Myung-Hun
And warn about it only once. * gnulib-tool (first_fall_back_to_cp_warn): New. Indicator for only once warning about falling back to cp -p. (func_ln_s): New. Fall back into cp -p if ln -s fails. And warn about this only once. (func_ln): Replace ln -s with func_ln_s. --- ChangeLog | 11 ++

[PATCH 08/11] openat_proc_name: port to OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
OS/2 kLIBC provides a function to retrive a path from a fd. Use it instead of /proc/self/fd. * lib/openat-proc.c (openat_proc_name): Port to OS/2 kLIBC with __libc_Back_ioFHToPath(). --- ChangeLog | 9 + lib/openat-proc.c | 29 + 2 files changed, 38 in

[PATCH 07/11] dup, dup2, fcntl: support a directory fd on OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
On OS/2 kLIBC, dup(), dup2() and fcntl() do not work on a directory fd. * lib/dup.c (dup_nothrow): New. * lib/dup2.c (klibc_dup2dirfd): New. dup2() for a directory fd. (klibc_dup2): New. * lib/fcntl.c (klibc_fcntl): New. * m4/dup.m4 (gl_FUNC_DUP): Check if dup() works on a directory fd. * m4/dup2.

[PATCH 09/11] opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
* lib/closedir.c (closedir): Unregister fd if closedir() succeeds. * lib/dirent.in.h (_gl_register_dirp_fd, _gl_unregister_dirp_fd): Declare on kLIBC. * lib/dirfd.c (struct dirp_fd_list): New. Structures to keep track of fd associated with dirp. (_gl_register_dirp_fd): New. Register fd associated w

[PATCH 10/11] utimes: detect utimes() correctly on OS/2 kLIBC

2015-11-06 Thread KO Myung-Hun
utimes() of OS/2 kLIBC has some limitations. 1. OS/2 itself supports a file date since 1980 year in local time. 2. OS/2 itself supports only even seconds for a file time. 3. utimes() of OS/2 kLIBC does not work on an opened file. * m4/utimes.m4: Detect utimes() correctly on OS/2 kLIBC. * doc/posi