RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: jbj@rpm5.org
Module: rpm Date: 10-Nov-2007 00:36:53
Branch: HEAD Handle: 2007110923365300
Modified files:
rpm CHANGES
rpm/lib cpio.c
Log:
- rpm.org: Change strntoul to using size_t for sizes
Summary:
Revision Changes Path
1.1794 +1 -0 rpm/CHANGES
2.135 +1 -1 rpm/lib/cpio.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/CHANGES
============================================================================
$ cvs diff -u -r1.1793 -r1.1794 CHANGES
--- rpm/CHANGES 9 Nov 2007 23:34:40 -0000 1.1793
+++ rpm/CHANGES 9 Nov 2007 23:36:53 -0000 1.1794
@@ -1,4 +1,5 @@
4.5 -> 5.0:
+ - rpm.org: Change strntoul to using size_t for sizes.
- rpm.org: Remove refs to "file/src".
- rpm.org: Clarify rpm manpage wrt rpmbuild binary vs package (rhbz#233232).
- rpm.org: Clarify rpmtsCheck() documentation (rhbz#159638).
@@ .
patch -p0 <<'@@ .'
Index: rpm/lib/cpio.c
============================================================================
$ cvs diff -u -r2.134 -r2.135 cpio.c
--- rpm/lib/cpio.c 9 Nov 2007 23:18:02 -0000 2.134
+++ rpm/lib/cpio.c 9 Nov 2007 23:36:53 -0000 2.135
@@ -31,7 +31,7 @@
* @param num max no. of bytes to read
* @return converted integer
*/
-static int strntoul(const char *str, /*@out@*/char **endptr, int base, int num)
+static int strntoul(const char *str, /*@out@*/char **endptr, int base, size_t num)
/*@modifies *endptr @*/
/*@requires maxSet(endptr) >= 0 @*/
{
@@ .
Received on Sat Nov 10 00:36:53 2007