version 1.42, 2005/06/10 21:13:40 |
version 1.43, 2005/07/05 12:00:45 |
|
|
struct cvs_ent *ent; |
struct cvs_ent *ent; |
|
|
/* get the remote path */ |
/* get the remote path */ |
cvs_getln(root, entbuf, sizeof(entbuf)); |
if (cvs_getln(root, entbuf, sizeof(entbuf)) < 0) |
|
return (-1); |
|
|
/* get the new Entries line */ |
/* get the new Entries line */ |
if (cvs_getln(root, entbuf, sizeof(entbuf)) < 0) |
if (cvs_getln(root, entbuf, sizeof(entbuf)) < 0) |
|
|
struct cvs_ent *ent; |
struct cvs_ent *ent; |
|
|
/* get remote path and build local path of file to be patched */ |
/* get remote path and build local path of file to be patched */ |
cvs_getln(root, buf, sizeof(buf)); |
if (cvs_getln(root, buf, sizeof(buf)) < 0) |
|
return (-1); |
|
|
fname = strrchr(buf, '/'); |
fname = strrchr(buf, '/'); |
if (fname == NULL) |
if (fname == NULL) |
fname = buf; |
fname = buf; |
|
|
} |
} |
|
|
/* get updated entry fields */ |
/* get updated entry fields */ |
cvs_getln(root, buf, sizeof(buf)); |
if (cvs_getln(root, buf, sizeof(buf)) < 0) |
|
return (-1); |
|
|
ent = cvs_ent_parse(buf); |
ent = cvs_ent_parse(buf); |
if (ent == NULL) |
if (ent == NULL) |
return (-1); |
return (-1); |