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])

Re: strtoll() not available on HP-UX

2005-08-11 Thread Albert Chin
is 32-bit only. sizeof(int) == 4 sizeof(long) == 4 sizeof(long long) == 8 My VMS C RTL help says, The strtoll and strtoq functions are identical. Do you have a strtoq()? HP-UX doesn't have this function. -- albert chin ([EMAIL PROTECTED])

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-like

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-bit off_t, i.e

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 available

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 you want

Honor --datadir

2005-08-25 Thread Albert Chin
$(datadir) is not always $(prefix)/share. So, honor $(datadir). Patch against head. -- albert chin ([EMAIL PROTECTED]) -- snip snip Index: src/Makefile.in === --- src/Makefile.in (revision 2063) +++ src/Makefile.in