[w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files

* indep.c (strtoclen): need defined()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-08-27 16:35:15 +00:00
parent ae6c767c94
commit 8d9955198a
2 changed files with 10 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
2002-08-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files
* indep.c (strtoclen): need defined()
2002-08-21 Fumitoshi UKAI <ukai@debian.or.jp> 2002-08-21 Fumitoshi UKAI <ukai@debian.or.jp>
* Debian Bug#157098: wrong file presentation on large files * Debian Bug#157098: wrong file presentation on large files
@@ -3710,4 +3715,4 @@
* release-0-2-1 * release-0-2-1
* import w3m-0.2.1 * import w3m-0.2.1
$Id: ChangeLog,v 1.416 2002/08/20 17:49:38 ukai Exp $ $Id: ChangeLog,v 1.417 2002/08/27 16:35:15 ukai Exp $

View File

@@ -1,4 +1,4 @@
/* $Id: indep.c,v 1.23 2002/08/20 17:49:39 ukai Exp $ */ /* $Id: indep.c,v 1.24 2002/08/27 16:35:15 ukai Exp $ */
#include "fm.h" #include "fm.h"
#include <stdio.h> #include <stdio.h>
#include <pwd.h> #include <pwd.h>
@@ -16,11 +16,11 @@ strtoclen(const char *s)
{ {
#ifdef HAVE_STRTOLL #ifdef HAVE_STRTOLL
return strtoll(s, NULL, 10); return strtoll(s, NULL, 10);
#elif HAVE_STRTOQ #elif defined(HAVE_STRTOQ)
return strtoq(s, NULL, 10); return strtoq(s, NULL, 10);
#elif HAVE_ATOLL #elif defined(HAVE_ATOLL)
return atoll(s); return atoll(s);
#elif HAVE_ATOQ #elif defined(HAVE_ATOQ)
return atoq(s); return atoq(s);
#else #else
return atoi(s); return atoi(s);