version 1.191, 2006/12/21 14:59:25 |
version 1.192, 2006/12/21 15:03:15 |
|
|
struct rcs_delta *rdp; |
struct rcs_delta *rdp; |
struct rcs_key *rk; |
struct rcs_key *rk; |
|
|
rdp = xcalloc(1, sizeof(*rdp)); |
|
|
|
rdp->rd_num = rcsnum_alloc(); |
|
rdp->rd_next = rcsnum_alloc(); |
|
|
|
TAILQ_INIT(&(rdp->rd_branches)); |
|
|
|
tok = rcs_gettok(rfp); |
tok = rcs_gettok(rfp); |
if (tok == RCS_TOK_DESC) { |
if (tok == RCS_TOK_DESC) { |
rcs_pushtok(rfp, RCS_TOKSTR(rfp), tok); |
rcs_pushtok(rfp, RCS_TOKSTR(rfp), tok); |
|
|
rcs_errno = RCS_ERR_PARSE; |
rcs_errno = RCS_ERR_PARSE; |
cvs_log(LP_ERR, "unexpected token `%s' at start of delta", |
cvs_log(LP_ERR, "unexpected token `%s' at start of delta", |
RCS_TOKSTR(rfp)); |
RCS_TOKSTR(rfp)); |
rcs_freedelta(rdp); |
|
return (-1); |
return (-1); |
} |
} |
|
|
|
rdp = xcalloc(1, sizeof(*rdp)); |
|
|
|
rdp->rd_num = rcsnum_alloc(); |
|
rdp->rd_next = rcsnum_alloc(); |
|
|
|
TAILQ_INIT(&(rdp->rd_branches)); |
|
|
rcsnum_aton(RCS_TOKSTR(rfp), NULL, rdp->rd_num); |
rcsnum_aton(RCS_TOKSTR(rfp), NULL, rdp->rd_num); |
|
|
hmask = 0; |
hmask = 0; |