Re: long long double on interix

2011-09-12 Thread Markus Duft
On 09/09/11 08:55, Markus Duft wrote: > On 09/08/11 08:09, Markus Duft wrote: >> On 06/10/11 11:37, Bruno Haible wrote: > [snip] >>> >>> You need to find out what is wrong about that type on your platform. If >>> you're lucky, it's only s

Re: long long double on interix

2011-09-08 Thread Markus Duft
On 09/08/11 08:09, Markus Duft wrote: > On 06/10/11 11:37, Bruno Haible wrote: [snip] >> >> You need to find out what is wrong about that type on your platform. If >> you're lucky, it's only some library functions (like snprintf) which don't >> support it

Re: long long double on interix

2011-09-07 Thread Markus Duft
On 06/10/11 11:37, Bruno Haible wrote: > Hi, > > Markus Duft wrote: >> long long double is broken. > > You surely mean "long double"? There is no such type as "long long double" > in C. > >> this bites me in the gnulib vasnprintf im

Re: long long double on interix

2011-06-10 Thread Markus Duft
On 06/10/11 11:37, Bruno Haible wrote: > Hi, > > Markus Duft wrote: >> long long double is broken. > > You surely mean "long double"? There is no such type as "long long double" > in C. right; long long double is too long :) > >> this bi

long long double on interix

2011-06-09 Thread Markus Duft
Hi! While porting glib to interix, i stumbled over a problem i didn't hit for a while (and in fact forgot that it existed on interix): long long double is broken. this bites me in the gnulib vasnprintf implementation, which calls snprintf from libc which immediately crashes ... :( i fixed this

Re: patch on x86-interix

2011-05-26 Thread Markus Duft
On 05/26/11 12:35, Bruno Haible wrote: > Markus Duft wrote: >>> and send us the log files of these three commands, plus config.log and >>> gltests/config.log. >> >> all attached, except make check, as i could not run it, as make already >> failed :/ > &g

Re: [bug-patch] patch on x86-interix

2011-05-26 Thread Markus Duft
On 05/26/11 10:51, Andreas Gruenbacher wrote: > On Thursday 26 May 2011 10:43:41 Markus Duft wrote: [snip] >> >> Trying to find out ;) First of all, patch seems to miss strnlen.c in the > tarball (2.6.1). it seems a well known problem, as even gentoo linux has a patch for thi

Re: [PATCH] update DEPENDENCIES for interix

2011-05-17 Thread Markus Duft
On 05/17/11 00:40, Bruno Haible wrote: > Hi Markus, > >> This is a small patch in reply to [1] to update the DEPENDENCIES for interix >> accordingly. >> >> [1] http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00310.html >> "gnulib should document that libsuacomp is a >>prerequisite f

Re: [PATCH] update DEPENDENCIES for interix

2011-05-16 Thread Markus Duft
On 05/16/11 16:01, Eric Blake wrote: > On 05/16/2011 01:47 AM, md...@s01en22.salomon.at wrote: >> From: Markus Duft >> >> Hey! >> >> This is a small patch in reply to [1] to update the DEPENDENCIES for interix >> accordingly. >> suacomp 0.6.8 (whic

Re: [Bug-tar] interix timestamp issues

2011-05-13 Thread Markus Duft
On 05/13/11 08:27, Paul Eggert wrote: > On 05/12/11 23:15, Markus Duft wrote: >> maybe i could even implement a futimes by memorizing the timestamps and >> re-setting them after closing the file... >> >> would that be better than hacking around in gnulib? libsuacomp is

Re: [Bug-tar] interix timestamp issues

2011-05-12 Thread Markus Duft
On 05/12/11 18:10, Paul Eggert wrote: > On 05/12/11 01:38, Markus Duft wrote: >> this doesn't help, and doesn't even compile, as interix also doesn't have >> sync() > > OK, how about this patch to utimens.c instead? tested, but doesn't help eithe

Re: [Bug-tar] interix timestamp issues

2011-05-12 Thread Markus Duft
On 05/12/11 09:20, Paul Eggert wrote: > On 05/11/11 23:51, Markus Duft wrote: >> the fd in fdutimensat is 4, whereas in utimens, which is then called from >> somewhere in there, >> it is -1, so i can't do a fsync() > > If I understand things correctly, there

Re: [Bug-tar] interix timestamp issues (was: listed-incremental broken in 1.25 on Solaris 10)

2011-05-12 Thread Markus Duft
On 05/12/11 05:41, Paul Eggert wrote: > On 05/11/11 01:49, Markus Duft wrote: >> fsync(fd) before setting the timestamp helps, and i have a 1.26 patch >> (attached), >> for now limited to interix only, although i saw it on linux too. > > Can you describe the GNU/Linux

Re: Interix list of mounted file systems.

2011-01-20 Thread Markus Duft
I've changed enough > that I'll wait for an ACK before pushing. > Below I've included one more patch to clean up some more > code formatting nits in that same file. thanks a lot :) markus > > From a481c562988f66f1614206c2f82779aa7835afb8 Mon Sep 17 00:00:00 2001 >

Re: Interix list of mounted file systems.

2011-01-19 Thread Markus Duft
On 10/21/2010 12:35 PM, Jim Meyering wrote: > Markus Duft wrote: >> On 10/21/2010 11:59 AM, James Youngman wrote: >>> On Thu, Oct 21, 2010 at 10:05 AM, Markus Duft wrote: >>>> Hi! >>>> >>>> I just created the attached patch for findutils

Re: Interix list of mounted file systems.

2011-01-03 Thread Markus Duft
On 10/21/2010 02:30 PM, Jim Meyering wrote: > Markus Duft wrote: >>> I see that you have FSF copyright assignments on file >>> for other projects, but not yet for gnulib. >>> Can you start that process? >>> Once that's done, we can proceed. >> >

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/29/2010 01:11 AM, Paolo Bonzini wrote: > On 10/28/2010 04:59 PM, Markus Duft wrote: >> thinking of gnulib, i can see a lot of potential problems, starting fex, >> that gnulib >> modules are copied into the packages, rather than gnulib beeing an installed >>

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/28/2010 04:16 PM, Eric Blake wrote: [snip] > > That's exactly what gnulib is - a library of source code workarounds for > broken platform functions. Are you interested in porting your > libsuacomp fixes into gnulib, so that more GNU programs can support > Interix out of the box? (i'll take

Interix list of mounted file systems.

2010-10-21 Thread Markus Duft
Hi! I just created the attached patch for findutils to build. Any chance to get this in your git repo? :) The code is as good as it can get with interix, i think - improvement suggestions welcome! Thanks! Markus diff -ru findutils-4.5.9.orig/gnulib/lib/mountlist.c findutils-4.5.9/gnulib/lib/mount

Re: Interix list of mounted file systems.

2010-10-21 Thread Markus Duft
> I see that you have FSF copyright assignments on file > for other projects, but not yet for gnulib. > Can you start that process? > Once that's done, we can proceed. phew - the other assignments are quite a while ago - i can't remember the exact process. can you help me a little? where can i get

Re: Interix list of mounted file systems.

2010-10-21 Thread Markus Duft
On 10/21/2010 11:59 AM, James Youngman wrote: > On Thu, Oct 21, 2010 at 10:05 AM, Markus Duft wrote: >> Hi! >> >> I just created the attached patch for findutils to build. Any chance to >> get this in your git repo? :) The code is as good as it can get with >&g

Interix list of mounted file systems.

2010-10-21 Thread Markus Duft
Hi! I just created the attached patch for findutils to build. Any chance to get this in your git repo? :) The code is as good as it can get with interix, i think - improvement suggestions welcome! Thanks! Markus diff -ru findutils-4.5.9.orig/gnulib/lib/mountlist.c findutils-4.5.9/gnulib/lib/mount

Re: interix and rpl_select

2010-02-18 Thread Markus Duft
Simon Josefsson wrote: > Markus Duft writes: > >> Hey! >> >> a while ago you guys implemented a select() fix for interix 3.5 (thanks >> again ;)). now i was surprised to see the same issue come up again (it's >> there since a while now again, just had

interix and rpl_select

2010-02-18 Thread Markus Duft
Hey! a while ago you guys implemented a select() fix for interix 3.5 (thanks again ;)). now i was surprised to see the same issue come up again (it's there since a while now again, just had no time to dig into the problem). i now had some time to look into it, and i discovered, that select is onl

RE: interix 3.5 select bug

2009-03-13 Thread Markus Duft
timeout) and supposed to be equivalent > to > select (n, NULL, NULL, NULL, timeout) for any n > 0. So, on POSIX > systems, > this transformation is correct, and on Interix, Markus Duft said that > he > verified that changing nfds from 0 to 1 made the problem go away. >

RE: interix 3.5 select bug

2009-03-11 Thread Markus Duft
> Pádraig Brady wrote: > > Markus Duft wrote: [snip] > > Thanks for looking at that, Pádraig. > I agree. > > Note that there are other uses of select with 0 as first argument. > These affect the poll ans select modules: > > $ git grep -l 'select