Re: strtoll() not available on HP-UX

2005-08-26 Thread Hrvoje Niksic
Albert Chin <[EMAIL PROTECTED]> writes: > +AC_CHECK_FUNCS(strtoll, , [ > + dnl The following taken from gnulib: > + dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. > + AC_MSG_CHECKING([whether defines strtoimax as a macro]) > + AC_EGREP_CPP([inttypes_h_defines_strtoimax],

Re: strtoll() not available on HP-UX

2005-08-25 Thread Albert Chin
On Fri, Aug 12, 2005 at 06:00:13PM +0200, Hrvoje Niksic wrote: > Albert Chin <[EMAIL PROTECTED]> writes: > > > We have something working now. I'll send a patch in a bit. > > Thanks. Better late than never :) Patch below against trunk. The src/wget.h changes are cosmetic and can be ignored if yo

Re: strtoll() not available on HP-UX

2005-08-13 Thread Steven M. Schweda
From: Hrvoje Niksic Fri, 12 Aug 2005 09:00:34 -0700 > [...] -- after all, Wget has long > supported platforms with much worse standard-conformance track > records. And it has long not supported others, like VMS, with better ones, although I've tried to do what I could. (At least VMS has s

Re: strtoll() not available on HP-UX

2005-08-12 Thread Hrvoje Niksic
Albert Chin <[EMAIL PROTECTED]> writes: >> [1] >> Both C and POSIX require standard functions to also be defined as >> functions, even if those that are normally invoked as macros of the >> same name. The 2004 edition of POSIX explicitly speaks of strtoimax >> and friends as "functions". See htt

Re: strtoll() not available on HP-UX

2005-08-12 Thread Albert Chin
On Fri, Aug 12, 2005 at 12:59:59PM +0200, Hrvoje Niksic wrote: > Albert Chin <[EMAIL PROTECTED]> writes: > > > On Thu, Aug 11, 2005 at 11:17:25PM +0200, Hrvoje Niksic wrote: > >> OK, in presence of LFS, Wget will use either strtoll, strtoimax, or > >> its own strtoll implementation if none are ava

Re: strtoll() not available on HP-UX

2005-08-12 Thread Hrvoje Niksic
Albert Chin <[EMAIL PROTECTED]> writes: > On Thu, Aug 11, 2005 at 11:17:25PM +0200, Hrvoje Niksic wrote: >> OK, in presence of LFS, Wget will use either strtoll, strtoimax, or >> its own strtoll implementation if none are available. > > I looked at your configure.in change and it won't work. strto

Re: strtoll() not available on HP-UX

2005-08-11 Thread Albert Chin
On Thu, Aug 11, 2005 at 11:17:25PM +0200, Hrvoje Niksic wrote: > OK, in presence of LFS, Wget will use either strtoll, strtoimax, or > its own strtoll implementation if none are available. I looked at your configure.in change and it won't work. strtoimax is a macro on HP-UX. So, AC_CHECK_LIB won't

Re: strtoll() not available on HP-UX

2005-08-11 Thread Hrvoje Niksic
OK, in presence of LFS, Wget will use either strtoll, strtoimax, or its own strtoll implementation if none are available.

Re: strtoll() not available on HP-UX

2005-08-11 Thread Albert Chin
On Thu, Aug 11, 2005 at 03:24:53PM -0500, Albert Chin wrote: > On Thu, Aug 11, 2005 at 10:17:18PM +0200, Hrvoje Niksic wrote: > > Albert Chin <[EMAIL PROTECTED]> writes: > > > > > None of the following platforms have strtoll(): > > > HP-UX 10.20, 11.00, 11.11 > > > > Do those platforms have 64-

Re: strtoll() not available on HP-UX

2005-08-11 Thread Albert Chin
On Thu, Aug 11, 2005 at 10:17:18PM +0200, Hrvoje Niksic wrote: > Albert Chin <[EMAIL PROTECTED]> writes: > > > None of the following platforms have strtoll(): > > HP-UX 10.20, 11.00, 11.11 > > Do those platforms have 64-bit off_t, i.e. large file support? If so, > do they have another strtoll-

Re: strtoll() not available on HP-UX

2005-08-11 Thread Hrvoje Niksic
Albert Chin <[EMAIL PROTECTED]> writes: > None of the following platforms have strtoll(): > HP-UX 10.20, 11.00, 11.11 Do those platforms have 64-bit off_t, i.e. large file support? If so, do they have another strtoll-like function, such as strtoq? > There is a replacement strtoll() in gnulib

Re: strtoll() not available on HP-UX

2005-08-11 Thread Albert Chin
On Thu, Aug 11, 2005 at 01:27:28PM -0500, Steven M. Schweda wrote: >I haven't used HP-UX for a while, so I may be wasting your time, but > I thought that 11.x was 64-bit-only. If so, does strtoll() actually > differ from strtol()? (How big is your "long int"?) 11.x is 32-bit _and_ 64-bit. 10

strtoll() not available on HP-UX

2005-08-11 Thread Steven M. Schweda
I haven't used HP-UX for a while, so I may be wasting your time, but I thought that 11.x was 64-bit-only. If so, does strtoll() actually differ from strtol()? (How big is your "long int"?) My VMS C RTL help says, "The strtoll and strtoq functions are identical." Do you have a strtoq()? -

strtoll() not available on HP-UX

2005-08-11 Thread Albert Chin
None of the following platforms have strtoll(): HP-UX 10.20, 11.00, 11.11 There is a replacement strtoll() in gnulib but it's licensed under the GPL. Would importing it conflict with wget license which contains the OpenSSL exception? -- albert chin ([EMAIL PROTECTED])