curl-library
Re: yangtse: curl CHANGES,1.1433,1.1434 acinclude.m4,1.198,1.199
From: Yang Tse <yangsita_at_gmail.com>
Date: Sat, 16 Aug 2008 03:39:57 +0200
Date: Sat, 16 Aug 2008 03:39:57 +0200
Daniel,
Just now reverted the part of previous commit that mapped the external
definition to the internal one. And adjusted setup.h to define the
following:
#if (CURL_SIZEOF_CURL_OFF_T > 4)
# if (CURL_SIZEOF_LONG > 4)
# define FORMAT_OFF_T "ld"
# else
# define FORMAT_OFF_T "lld"
# endif
#else
# if (CURL_SIZEOF_LONG > 2)
# define FORMAT_OFF_T "ld"
# else
# define FORMAT_OFF_T "lld"
# endif
#endif
Not 100% sure if this is the mapping that the internal mprintf.c
expects. But the more I look at mprintf.c the less I dare to touch it,
even when adjusting is necessary. There should be no relation at all
inside mprintf.c with large file support. At most and certainly sure
with the size of data types.
-- -=[Yang]=-Received on 2008-08-16