|
|
Choosing A Webhost: |
Re: Re: CVS bug with -D and vendor branches: msg#00187version-control.cvs.bugs
Hmm.. couldn't read back the patch correctly from the list myself so here we go once again. This time with the patch as an attachment also. Index: rcs.c =================================================================== RCS file: /usr/local/cvsroot/cvs_src/src/rcs.c,v retrieving revision 1.1.1.2 retrieving revision 1.4 diff -u -r1.1.1.2 -r1.4 --- rcs.c 18 Apr 2002 08:04:05 -0000 1.1.1.2 +++ rcs.c 18 Apr 2002 08:08:55 -0000 1.4 @@ -2935,7 +2935,9 @@ char *cur_rev = NULL; char *retval = NULL; Node *p; + Node *p_1_1; RCSVers *vers = NULL; + RCSVers *vers_1_1 = NULL; /* make sure we have something to look at... */ assert (rcs != NULL); @@ -3000,7 +3002,9 @@ if (p) { vers = (RCSVers *) p->data; - if (RCS_datecmp (vers->date, date) != 0) + p_1_1 = findnode (rcs->versions, "1.1"); + vers_1_1 = (RCSVers *) p_1_1->data; + if (RCS_datecmp (vers->date, vers_1_1->date) != 0) return xstrdup ("1.1"); } } Index: rcs.c =================================================================== RCS file: /usr/local/cvsroot/cvs_src/src/rcs.c,v retrieving revision 1.1.1.2 retrieving revision 1.4 diff -u -r1.1.1.2 -r1.4 --- rcs.c 18 Apr 2002 08:04:05 -0000 1.1.1.2 +++ rcs.c 18 Apr 2002 08:08:55 -0000 1.4 @@ -2935,7 +2935,9 @@ char *cur_rev = NULL; char *retval = NULL; Node *p; + Node *p_1_1; RCSVers *vers = NULL; + RCSVers *vers_1_1 = NULL; /* make sure we have something to look at... */ assert (rcs != NULL); @@ -3000,7 +3002,9 @@ if (p) { vers = (RCSVers *) p->data; - if (RCS_datecmp (vers->date, date) != 0) + p_1_1 = findnode (rcs->versions, "1.1"); + vers_1_1 = (RCSVers *) p_1_1->data; + if (RCS_datecmp (vers->date, vers_1_1->date) != 0) return xstrdup ("1.1"); } }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: CVS bug with -D and vendor branches, staffan.ohman |
|---|---|
| Next by Date: | Re: Re: CVS bug with -D and vendor branches, staffan.ohman |
| Previous by Thread: | Re: CVS bug with -D and vendor branches, staffan.ohman |
| Next by Thread: | Re: Re: CVS bug with -D and vendor branches, staffan.ohman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |