version 1.187, 2006/09/21 15:30:07 |
version 1.188, 2006/09/27 06:26:35 |
|
|
if (pb.openflags & RCS_CREATE) |
if (pb.openflags & RCS_CREATE) |
pb.flags |= NEWFILE; |
pb.flags |= NEWFILE; |
else { |
else { |
|
/* XXX - Check if errno == ENOENT. */ |
warnx("No existing RCS file"); |
warnx("No existing RCS file"); |
status = 1; |
status = 1; |
(void)close(workfile_fd); |
(void)close(workfile_fd); |
|
|
skipdesc: |
skipdesc: |
|
|
/* |
/* |
* If the user had specified a zero-ending revision number e.g. 4 |
* If the user had specified a zero-ending revision number e.g. 4.0 |
* emulate odd GNU behaviour and fetch log message. |
* emulate odd GNU behaviour and fetch log message. |
*/ |
*/ |
if (fetchlog == 1) { |
if (fetchlog == 1) { |
|
|
} |
} |
|
|
/* Attach a symbolic name to this revision if specified. */ |
/* Attach a symbolic name to this revision if specified. */ |
if (pb->symbol != NULL && |
if (pb->symbol != NULL && checkin_attach_symbol(pb) < 0) |
(checkin_attach_symbol(pb) < 0)) |
|
goto fail; |
goto fail; |
|
|
/* Set the state of this revision if specified. */ |
/* Set the state of this revision if specified. */ |