Re: constified parse_duration()

2008-11-16 Thread Bruce Korb
Bruce Korb wrote: Hi Bruno, So, it took 20 minutes to clean up. Attached. I should have tested better. I've included a test program and script now. It will likely be Christmas before I can play again. Cheers - Bruce /* Test of parsing durations. Copyright (C) 2008 Free Software Foundatio

Re: MacOSX Leopard gcc-4.2 build problems with coreutils-7.0 and its gnulib

2008-11-16 Thread James Youngman
[ bug-gnulib moved to BCC, bug-findutils added to CC ] On Sun, Nov 16, 2008 at 11:34 AM, SciFi <[EMAIL PROTECTED]> wrote: > (1) Regular 'make' finishes okay, then I'll do 'make check'. > The first real problem I had here was linking > coreutils-7.0/gnulib-tests/test-getdate failed because the > m

constified parse_duration()

2008-11-16 Thread Bruce Korb
Hi Bruno, So, it took 20 minutes to clean up. Attached. Cheers - Bruce /* Parse a time duration and return a seconds count Copyright (C) 2008 Free Software Foundation, Inc. Written by Bruce Korb <[EMAIL PROTECTED]>, 2008. This program is free software: you can redistribute it and/or m

Re: parse_duration()

2008-11-16 Thread Bruce Korb
Bruce Korb wrote: Bruno Haible wrote: For this context, the right, proper and easiest solution is to say that months are 30 days and leave it at that. Hi Bruno, I found my round tuit: The problem with "char const" is that strtoul takes a "char **" as its second argument. So it is rather a

Haiku port status

2008-11-16 Thread Bruno Haible
Hello Ingo, I wrote: > Porting gnulib to a particular platform means: > - doing a "gnulib-tool --create-testdir --with-tests", transferring that > to the target system, and running it there, and fixing all the problems, > ... The status of this step is that, except for a couple of patches t

Re: test-fsync failure on Haiku

2008-11-16 Thread Bruno Haible
Jim Meyering wrote: > > OK to make the test a bit weaker? > > Sure. It'd be nice to mention Haiku in the log, Done. Bruno

MacOSX Leopard gcc-4.2 build problems with coreutils-7.0 and its gnulib

2008-11-16 Thread SciFi
Hi, I am in the process of testing Apple's compilers in the XCode-3.1.1 and iPhone-2.1 SDKs for Leopard. For each project I want to have the best overall collection in my /usr/local tree. I'd like to see how close we can get to having full 32- & 64-bit universal binaries for X11 & native apps e