Re: [PATCH 15/21] freopen: workaround freopen() on OS/2 kLIBC

2014-12-04 Thread KO Myung-Hun
Bruno Haible wrote: > KO Myung-Hun wrote: >> --- a/lib/freopen.c >> +++ b/lib/freopen.c >> @@ -26,10 +26,26 @@ >> #include >> #undef __need_FILE >> >> +#include >> + >> static FILE * >> orig_freopen (const char *filename, const char *mode, FILE *stream) >> { >> - return freopen (filenam

Re: [PATCH 12/21] pipe_filter_ii_execute: port to OS/2 kLIBC

2014-12-04 Thread KO Myung-Hun
Bruno Haible wrote: > KO Myung-Hun: * lib/pipe-filter-ii.c (start_wrapper, _beginthreadex, CloseHandle, WaiForSingleObject, WaitForMultipleObjects): New on OS/2 kLIBC. >>> >>> Since you make use of these functions in w32spawn.h, their implementation >>> does not belong in pipe-filter-ii

Re: "test-lock" stuck on FreeBSD

2014-12-04 Thread Daiki Ueno
Ed Maste writes: > OK, I can reproduce it in a single-vCPU bhyve VM (the default is 2). > Do you mind checking if it's no longer reproducible in KVM with 2 or > more vCPUs? Thanks, it indeed seems to fix the issue: (running under qemu-kvm -smp 2 ...) $ sysctl hw.ncpu hw.ncpu: 2 $ for i

Re: m4 compile problem on NetBSD

2014-12-04 Thread Eric Blake
[adding gnulib] On 12/04/2014 03:36 PM, Stephen Fisher wrote: > m4 1.4.17 fails to compile on NetBSD 6.1.5 amd64: > > fseeko.c: In function 'rpl_fseeko': > fseeko.c:143:22: error: incompatible types when assigning to type > '__off_t' from type 'fpos_t' > > The attached patch allows compilation

Re: "test-lock" stuck on FreeBSD

2014-12-04 Thread Ed Maste
On 4 December 2014 at 09:38, Ed Maste wrote: > > I've run it in a loop over 100 times and it is consistently 5 to 6 > seconds real time, 8 to 10 seconds sys. > > Perhaps there's some poor interaction with KVM involved? You mentioned > you have more reports of this issue - do you know the FreeBSD v

Re: "test-lock" stuck on FreeBSD

2014-12-04 Thread Ed Maste
On 3 December 2014 at 22:53, Daiki Ueno wrote: > > Actually, I haven't tried it on a bare metal, but on Assaf's freebsd10 > build-ready VM image: > > http://www.nongnu.org/pretest/downloads/ Oh, nice - I hadn't encountered that project before. It looks like a great resource. I downloaded the i

Re: ARGP: Documentation of

2014-12-04 Thread Robert Hairgrove
Robert Hairgrove roberthairgrove.com> writes: > I am writing some little C++ wrapper classes for the argp functions. > Unfortunately, I cannot find any documentation of the argp_child::flags > member, i.e.: what possible values it could have. The only documentation > seems to be the one line comme

Re: [PATCH 12/21] pipe_filter_ii_execute: port to OS/2 kLIBC

2014-12-04 Thread Bruno Haible
KO Myung-Hun: > >> * lib/pipe-filter-ii.c (start_wrapper, _beginthreadex, CloseHandle, > >> WaiForSingleObject, WaitForMultipleObjects): New on OS/2 kLIBC. > > > > Since you make use of these functions in w32spawn.h, their implementation > > does not belong in pipe-filter-ii.c, but rather in some

Re: [PATCH 15/21] freopen: workaround freopen() on OS/2 kLIBC

2014-12-04 Thread Bruno Haible
KO Myung-Hun wrote: > --- a/lib/freopen.c > +++ b/lib/freopen.c > @@ -26,10 +26,26 @@ > #include > #undef __need_FILE > > +#include > + > static FILE * > orig_freopen (const char *filename, const char *mode, FILE *stream) > { > - return freopen (filename, mode, stream); > + FILE *result;

Re: [PATCH 08/21] get_shared_library_fullname: port to EMX

2014-12-04 Thread Bruno Haible
> > Thanks. Can you please add this URL as a comment in the patch? For future > > reference. > > Of course. Added. Looks good. Thanks. Bruno

Re: [PATCH 05/21] spawn: do not include sched.h on OS/2 kLIBC

2014-12-04 Thread Bruno Haible
> Like this ? > 0001-sched-check-struct-sched_param-in-spawn.h-as-well.patch Yes. This looks perfect now. Thanks! Bruno