[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/src ChangeLog client.c
From: |
Mark D. Baushke |
Subject: |
[Cvs-cvs] ccvs/src ChangeLog client.c |
Date: |
Sun, 09 Apr 2006 11:24:38 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Branch:
Changes by: Mark D. Baushke <address@hidden> 06/04/09 11:24:37
Modified files:
src : ChangeLog client.c
Log message:
* client.c (strto_file_size): Add prototype for strtoumax() for
systems without it (e.g., Solaris 9) to avoid calling convention
problems.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/ChangeLog.diff?tr1=1.3369&tr2=1.3370&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/client.c.diff?tr1=1.443&tr2=1.444&r1=text&r2=text
Patches:
Index: ccvs/src/ChangeLog
diff -u ccvs/src/ChangeLog:1.3369 ccvs/src/ChangeLog:1.3370
--- ccvs/src/ChangeLog:1.3369 Fri Apr 7 17:18:28 2006
+++ ccvs/src/ChangeLog Sun Apr 9 11:24:37 2006
@@ -1,3 +1,9 @@
+2006-04-09 Mark D. Baushke <address@hidden>
+
+ * client.c (strto_file_size): Add prototype for strtoumax() for
+ systems without it (e.g., Solaris 9) to avoid calling convention
+ problems.
+
2006-04-07 Derek Price <address@hidden>
* client.c (strto_file_size): New function which checks for errors as
Index: ccvs/src/client.c
diff -u ccvs/src/client.c:1.443 ccvs/src/client.c:1.444
--- ccvs/src/client.c:1.443 Fri Apr 7 17:18:28 2006
+++ ccvs/src/client.c Sun Apr 9 11:24:37 2006
@@ -1096,6 +1096,9 @@
* 1. As strtoumax().
* 2. If the number read exceeds SIZE_MAX.
*/
+#ifndef HAVE_STRTOUMAX
+uintmax_t strtoumax (const char *, char **, int);
+#endif
static size_t
strto_file_size (const char *s)
{