/[cvs]/ccvs/contrib/rcs-5.7-commitid.patch
ViewVC logotype

Diff of /ccvs/contrib/rcs-5.7-commitid.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mdb, Fri Sep 30 18:54:03 2005 UTC revision 1.9 by mdb, Tue Oct 4 08:18:57 2005 UTC
# Line 4  Thanks to Paul Eggert who suggested usin Line 4  Thanks to Paul Eggert who suggested usin
4  well as using the base62 format for compactness and provided the  well as using the base62 format for compactness and provided the
5  sample divide_by and convert functions used here.  sample divide_by and convert functions used here.
6    
7    2005-10-04  Mark D. Baushke  <mdb@gnu.org>
8    
9            * src/rcssyn.c (getdelta): Initialize Delta->commitid.
10    
11  2005-09-29  Mark D. Baushke  <mdb@gnu.org>  2005-09-29  Mark D. Baushke  <mdb@gnu.org>
12    
13          * man/rcsfile.5in: Document new commitid delta phrase.          * man/rcsfile.5in: Document new commitid delta phrase.
# Line 372  Index:src/rcsgen.c Line 376  Index:src/rcsgen.c
376    
377  Index:src/rcssyn.c  Index:src/rcssyn.c
378  --- src/rcssyn.c~       1995-06-16 06:19:24.000000000 +0000  --- src/rcssyn.c~       1995-06-16 06:19:24.000000000 +0000
379  +++ src/rcssyn.c        2005-09-27 22:08:47.429504000 +0000  +++ src/rcssyn.c        2005-10-04 08:05:21.000000000 +0000
380  @@ -171,6 +171,7 @@ char const  @@ -171,6 +171,7 @@ char const
381          Kauthor[]   = "author",          Kauthor[]   = "author",
382          Kbranch[]   = "branch",          Kbranch[]   = "branch",
# Line 381  Index:src/rcssyn.c Line 385  Index:src/rcssyn.c
385          Kdate[]     = "date",          Kdate[]     = "date",
386          Kdesc[]     = "desc",          Kdesc[]     = "desc",
387          Kexpand[]   = "expand",          Kexpand[]   = "expand",
388  @@ -433,6 +434,13 @@ getdelta()  @@ -433,6 +434,14 @@ getdelta()
389          Delta->lockedby = 0;          Delta->lockedby = 0;
390          Delta->log.string = 0;          Delta->log.string = 0;
391          Delta->selector = true;          Delta->selector = true;
# Line 390  Index:src/rcssyn.c Line 394  Index:src/rcssyn.c
394  +               Delta->commitid = NextString;  +               Delta->commitid = NextString;
395  +               nextlex();  +               nextlex();
396  +               getsemi(Kcommitid);  +               getsemi(Kcommitid);
397  +        }  +        } else
398    +               Delta->commitid = NULL;
399  +  +
400          Delta->ig = getphrases(Kdesc);          Delta->ig = getphrases(Kdesc);
401           TotalDeltas++;           TotalDeltas++;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26