History log of /openbsd/usr.bin/rcs/rcsutil.h (Results 1 – 16 of 16)
Revision Date Author Comments
# 6541b77c 11-Aug-2023 guenther <guenther@openbsd.org>

Switch rcs_{get,set}_mtime() from returning and taking a time_t to
doing so with a struct timespec and then use tv_nsec = UTIME_OMIT
instead of a (time_t)-1 as a "do nothing" value. They can then
fu

Switch rcs_{get,set}_mtime() from returning and taking a time_t to
doing so with a struct timespec and then use tv_nsec = UTIME_OMIT
instead of a (time_t)-1 as a "do nothing" value. They can then
fully preserve the timestamp

ok millert@

show more ...


# 00f4e67c 04-Jul-2016 millert <millert@openbsd.org>

The -I flag is documented but not implemented. This fixes that and
also honors the -I flag from ci/co when prompting like GNU RCS.
OK jca@


# 7a9e6d11 23-Jul-2010 ray <ray@openbsd.org>

Rename a bunch of variables and functions, removing the cvs_/rcs_
prefixes to reduce differences between cvs and rcs files.

"yes!" nicm


# be9d071f 04-Jan-2008 chl <chl@openbsd.org>

remove unused function

from tobias@

ok xsa@ tobias@


# 168f4dca 22-Feb-2007 otto <otto@openbsd.org>

If a ,suffix file is given as an arg to ci and co, strip it. Avoids
potential disasters. Initial diff from niallo@, ok niallo@ joris@


# c2ac0f30 22-Feb-2007 xsa <xsa@openbsd.org>

Fix const inconsistencies, void pointer artithmetic;
Based on diff from otto@ in OpenCVS. OK otto@.


# 14b185ff 02-Jan-2007 niallo <niallo@openbsd.org>

- fix support for checking out binary files.

testing from xsa@ and Igor Sobrado <igor at string1.ciencias.uniovi.es>
ok xsa@


# 9642f3ec 09-Nov-2006 millert <millert@openbsd.org>

Simplify stripping of write bits from file mode.
Add support for reusing the checkin message for multiple files, ala GNU
Fix the message when you abort a checkout and the file was not writable.
OK jo

Simplify stripping of write bits from file mode.
Add support for reusing the checkin message for multiple files, ala GNU
Fix the message when you abort a checkout and the file was not writable.
OK joris@ niallo@

show more ...


# 4b1a1f86 16-Aug-2006 ray <ray@openbsd.org>

Improve rcs_buf_load() by setting errno appropriately on failure and
never print errors or quit on error.

Fix usages of rcs_buf_load() and rcs_set_description.

Also plug an fd leak.

OK xsa@


# 3de4517b 03-Jun-2006 niallo <niallo@openbsd.org>

- correctly handle binary files; say bye bye to using c strings for deltatexts.

"slap it in" joris@


# 6e2f6b91 28-May-2006 ray <ray@openbsd.org>

Remove a lot of xstrdup() calls in getopt() loops, which are usually
unnecessary. These xstrdup() calls don't call xfree() before anyway,
so if a flag is given multiple times memory leaks would have

Remove a lot of xstrdup() calls in getopt() loops, which are usually
unnecessary. These xstrdup() calls don't call xfree() before anyway,
so if a flag is given multiple times memory leaks would have resulted.

OK joris@

show more ...


# f3876e23 27-May-2006 ray <ray@openbsd.org>

Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),
handling exceptions oddly.

OK joris@


# 714c2363 27-Apr-2006 xsa <xsa@openbsd.org>

zap util.[ch] and move the content into rcsutil.[ch].
discussed with joris@.


# bc8d37c3 26-Apr-2006 joris <joris@openbsd.org>

prevent file races by obtaining an fd for the RCS file and
do our operations on that, this is safe and guarantees we
can operate on the file until we close(2) it.

a fix is coming for the remaining r

prevent file races by obtaining an fd for the RCS file and
do our operations on that, this is safe and guarantees we
can operate on the file until we close(2) it.

a fix is coming for the remaining races in our diff code.
okay niallo@ and ray@

show more ...


# d491b5ed 24-Apr-2006 ray <ray@openbsd.org>

o Better match GNU behavior (a bare -t does NOT read from stdin,
unlike rcs).
o Share code with rcs by moving rcs_set_description() to rcsutil.c.
o Change description prompt from #define to const c

o Better match GNU behavior (a bare -t does NOT read from stdin,
unlike rcs).
o Share code with rcs by moving rcs_set_description() to rcsutil.c.
o Change description prompt from #define to const char *.

OK xsa@

show more ...


# 9349b09e 21-Apr-2006 xsa <xsa@openbsd.org>

move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;
"the voices in my head say OK!" joris@.