RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: jbj@rpm5.org
Module: popt Date: 22-Jun-2007 02:02:01
Branch: HEAD Handle: 2007062201020100
Modified files:
popt CHANGES popt.c
Log:
- fix index thinko.
Summary:
Revision Changes Path
1.14 +3 -0 popt/CHANGES
1.103 +1 -1 popt/popt.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: popt/CHANGES
============================================================================
$ cvs diff -u -r1.13 -r1.14 CHANGES
--- popt/CHANGES 31 Jul 2000 15:04:23 -0000 1.13
+++ popt/CHANGES 22 Jun 2007 00:02:01 -0000 1.14
@@ -1,3 +1,6 @@
+1.11 -> 1.11.1
+ - jbj: fix index thinko.
+
1.5 -> 1.6
- add ability to perform callbacks for every, not just first, match.
@@ .
patch -p0 <<'@@ .'
Index: popt/popt.c
============================================================================
$ cvs diff -u -r1.102 -r1.103 popt.c
--- popt/popt.c 14 Jun 2007 15:58:12 -0000 1.102
+++ popt/popt.c 22 Jun 2007 00:02:01 -0000 1.103
@@ -396,7 +396,7 @@
if (!strchr(item->argv[0], '/') && con->execPath != NULL) {
char *s = malloc(strlen(con->execPath) + strlen(item->argv[0]) + sizeof("/"));
if (s)
- sprintf(s, "%s/%s", con->execPath, item->argv[-1]);
+ sprintf(s, "%s/%s", con->execPath, item->argv[0]);
argv[argc] = s;
} else
argv[argc] = POPT_findProgramPath(item->argv[0]);
@@ .
Received on Fri Jun 22 02:02:01 2007