Ben Pfaff wrote:
> On Tue, Dec 09, 2014 at 02:51:51PM +0900, KO Myung-Hun wrote:
>> Ben Pfaff wrote:
>>> On Tue, Dec 09, 2014 at 10:40:48AM +0900, KO Myung-Hun wrote:
UNIXROOT is used to specify a drive of a root of FHS. So if a path is
started with '/', then it should be translated to
On Tue, Dec 09, 2014 at 02:51:51PM +0900, KO Myung-Hun wrote:
> Ben Pfaff wrote:
> > On Tue, Dec 09, 2014 at 10:40:48AM +0900, KO Myung-Hun wrote:
> >> UNIXROOT is used to specify a drive of a root of FHS. So if a path is
> >> started with '/', then it should be translated to "$UNIXROOT/".
> >>
> >
Ben Pfaff wrote:
> On Tue, Dec 09, 2014 at 10:40:48AM +0900, KO Myung-Hun wrote:
>> UNIXROOT is used to specify a drive of a root of FHS. So if a path is
>> started with '/', then it should be translated to "$UNIXROOT/".
>>
>> * lib/relocatable.c (relocate): Prepend $UNIXROOT to pathname if it is
On Tue, Dec 09, 2014 at 10:40:48AM +0900, KO Myung-Hun wrote:
> UNIXROOT is used to specify a drive of a root of FHS. So if a path is
> started with '/', then it should be translated to "$UNIXROOT/".
>
> * lib/relocatable.c (relocate): Prepend $UNIXROOT to pathname if it is
> started with '/' on E
On OS/2, there are maximum 26 CWDs, one CWD per drive[A to Z]. So
it is needed to save and restore all of them as well as a CWD of a
current drive.
For examples,
1. CWD is C:\CWD
2. Call save_cwd()
3. Change drive to drive D: whose CWD was D:\
4. Change directory to D:\CWD
5. Now, CWD i
* 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
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.
wchar_t(unsigned short) is defined differently from wint_t(int) on
OS/2 kLIBC.
* lib/wcwidth.c (wcwidth): Undefine on OS/2 kLIBC.
---
lib/wcwidth.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/lib/wcwidth.c b/lib/wcwidth.c
index d7837bb..2f8dc26 100644
--- a/lib/wcwidth.c
+++ b/lib/
And warn about it.
* gnulib-tool (have_symlink_support): New.
(symbolic, lsymbolic): Clear on systems not supporting symbolic link.
---
gnulib-tool | 20
1 file changed, 20 insertions(+)
diff --git a/gnulib-tool b/gnulib-tool
index 2641378..c5a4c87 100755
--- a/gnulib-tool
+
getrlimit() implementation of kLIBC is buggy. For examples, it crashes
due to 'stack overflow' or 'SIGSEGV' when used in GNU M4. So just use
getdtablesize() on kLIBC.
* lib/getdtablesize.c (rpl_getdtablesize): Do not use getrlimit() on
OS/2 kLIBC.
---
lib/getdtablesize.c | 5 +
1 file changed
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
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.
---
lib/w32spawn.h | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/lib/w32spawn.h b/lib/w32spawn.h
index 0cad232..
utimes() of OS/2 kLIBC has some limitations.
1. OS/2 itself supports a file date since 1980 year.
2. OS/2 itself supports 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.
---
m4/utimes.m4 | 13 ++
* lib/binary-io.h (SET_BINARY): Don't put fd in binary mode if it is
a console on EMX.
---
lib/binary-io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/binary-io.h b/lib/binary-io.h
index 7928f8c..696cdf9 100644
--- a/lib/binary-io.h
+++ b/lib/binary-io.h
@@ -60,7 +60,7
UNIXROOT is used to specify a drive of a root of FHS. So if a path is
started with '/', then it should be translated to "$UNIXROOT/".
* lib/relocatable.c (relocate): Prepend $UNIXROOT to pathname if it is
started with '/' on EMX.
---
lib/relocatable.c | 21 +
1 file changed, 2
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.
---
lib/s
On OS/2 kLIBC, select() works only on sockets.
* lib/pipe-filter-aux.h (HAVE_SELECT): Undefine on OS/2 kLIBC.
---
lib/pipe-filter-aux.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/pipe-filter-aux.h b/lib/pipe-filter-aux.h
index 8f2a707..ee63ac8 100644
--- a/lib/pi
* lib/config.charset: Remove os2* from case "$os" in
* lib/localcharset.c (get_charset_aliases): Use embedded encoding
aliases on OS/2.
---
lib/config.charset | 4 +---
lib/localcharset.c | 60 +-
2 files changed, 60 insertions(+), 4 deletions(-
Hi/2.
These are rebased OS/2 patches.
Review, please...
[PATCH 01/14] stdint: check _INTPTR_T_DECLARED before defining
[PATCH 02/14] Fix character encoding aliases for OS/2
[PATCH 03/14] relocatable: support UNIXROOT in relocate() on EMX
[PATCH 04/14] binary-io: don't put fd in binary mode if it
Eric Blake wrote:
> On 12/03/2014 03:53 PM, Bruno Haible wrote:
>> KO Myung-Hun submitted:
>>> 0001-find_executable-port-to-EMX.patch
>>
>> This patch looks fine now. Thanks.
>
> A couple of typos:
>
>>> + for specifications of DosQueryModuleName(). */
>
> s/specifications/specification/
Eric Blake wrote:
> On 12/04/2014 03:44 AM, Bruno Haible wrote:
Thanks. Can you please add this URL as a comment in the
patch? For future reference.
>>>
>>> Of course. Added.
>>
>> Looks good. Thanks.
>
>>> + for specifications of DosQueryModuleName(). */
>
> another typo
On 12/08/2014 04:14 PM, Eric Blake wrote:
> where, if no fprintf module is used, then we are FORCING the system
> printf format, so gcc thinks that %lld is unsupported - but at the same
> time, mingw's has conditional logic that defines PRIdMAX to
> "lld" instead of "I64d" when we have turned on p
On 12/02/2014 06:50 AM, Pádraig Brady wrote:
>>> >> GNULIB's 'asprintf' module detected that mingw had
>>> >> the asprintf function, but didn't define the
>>> >> __USE_MINGW_ANSI_STDIO so we got left with the version
>>> >> offering Win32 format specifiers, instead of GNU formats.
>>> >>
>>> >> It
On 12/04/2014 03:42 AM, Bruno Haible wrote:
>> Like this ?
>> 0001-sched-check-struct-sched_param-in-spawn.h-as-well.patch
>
> Yes. This looks perfect now. Thanks!
I've pushed this one.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
sig
On 12/08/2014 05:19 AM, Martin Kletzander wrote:
> With this patch it is possible to put e.g. "perl::XML:XPath -" in
> $buildreq in bootstrap.conf which will cause a check for perl module
> XML::XPath using:
>
> perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1
>
> If this fails due to any other
On 12/08/2014 02:15 PM, Eric Blake wrote:
> On 12/08/2014 02:10 PM, Pádraig Brady wrote:
>> This was pushed (I think inadvertently).
>
> No, it was intentional, done by me with an explanation mail. But it
> looks like the GNU mail servers are eating my gpg-signed mails (again -
> I thought we had
On 12/02/2014 06:50 AM, Pádraig Brady wrote:
>>> It could perhaps be argued that gnulib's 'asprintf'
>>> could be defining __USE_MINGW_ANSI_STDIO for us ?
>>
>> Yes, gnulib should be taking advantage of this new mingw development.
>
> I independently noticed this mingw feature when looking at the
On 12/08/2014 02:10 PM, Pádraig Brady wrote:
> This was pushed (I think inadvertently).
No, it was intentional, done by me with an explanation mail. But it
looks like the GNU mail servers are eating my gpg-signed mails (again -
I thought we had fixed it a couple weeks ago, but it appears to have
r
On 12/03/2014 03:53 PM, Bruno Haible wrote:
> KO Myung-Hun submitted:
>> 0001-find_executable-port-to-EMX.patch
>
> This patch looks fine now. Thanks.
A couple of typos:
>> + for specifications of DosQueryModuleName(). */
s/specifications/specification/ (appeared twice).
I added a ChangeL
This was pushed (I think inadvertently).
I needed to update the docs before pushing, and so wanted to
run on mingw64 to find which cases exactly were covered.
The logic at least should be Ok I think.
thanks,
Pádraig
LGTM.
Pushed.
thanks,
Pádraig
On 12/05/2014 02:53 AM, Bruno Haible wrote:
> KO Myung-Hun wrote:
>> I also don't want to break the convention.
>>
>> Fixed.
>
> Thanks. This looks perfect now.
Pushed
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Descrip
On 12/04/2014 03:44 AM, Bruno Haible wrote:
>>> Thanks. Can you please add this URL as a comment in the patch? For future
>>> reference.
>>
>> Of course. Added.
>
> Looks good. Thanks.
>> + for specifications of DosQueryModuleName(). */
another typo fix; amended and pushed.
At this po
On 12/08/2014 07:24 AM, Eric Blake wrote:
It might make sense to have a variant of 'free' that preserves errno,
>but we should probably give the variant a different name. 'noerr_free',
>say.
I'm not sure a variant is needed; if we can get glibc to guarantee the
POSIX proposal now, then we would
On 12/07/2014 07:29 PM, Paul Eggert wrote:
> Pádraig Brady wrote:
>> BTW if free() may reset errno on some platforms then it's
>> probably worth augmenting the gnulib free() wrapper
>> to restore errno if needed,
>
> The documented GNU behavior for 'free' allows 'free' to set errno,
> right? So w
With this patch it is possible to put e.g. "perl::XML:XPath -" in
$buildreq in bootstrap.conf which will cause a check for perl module
XML::XPath using:
perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1
If this fails due to any other error then XML::XPath missing, it is left
on the user to fix up
With this patch it is possible to put e.g. "perl::XML:XPath -" in
$buildreq in bootstrap.conf which will cause a check for perl module
XML::XPath using:
perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1
If this fails due to any other error then XML::XPath missing, it is left
on the user to fix up
On Mon, Dec 08, 2014 at 11:00:37AM +, Pádraig Brady wrote:
On 08/12/14 10:42, Martin Kletzander wrote:
With this patch it is possible to put e.g. "perl::XML:XPath -" in
$buildreq in bootstrap.conf which will cause a check for perl module
XML::XPath
looks useful...
perl -m"XML::XPath" -
On 08/12/14 10:42, Martin Kletzander wrote:
> With this patch it is possible to put e.g. "perl::XML:XPath -" in
> $buildreq in bootstrap.conf which will cause a check for perl module
> XML::XPath
looks useful...
> perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1
>
> If this fails due to any oth
With this patch it is possible to put e.g. "perl::XML:XPath -" in
$buildreq in bootstrap.conf which will cause a check for perl module
XML::XPath using:
perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1
If this fails due to any other error then XML::XPath missing, it is left
on the user to fix up
On 08/12/14 02:29, Paul Eggert wrote:
> Pádraig Brady wrote:
>> BTW if free() may reset errno on some platforms then it's
>> probably worth augmenting the gnulib free() wrapper
>> to restore errno if needed,
>
> The documented GNU behavior for 'free' allows 'free' to set errno, right? So
> why s
41 matches
Mail list logo