History log of /openbsd-src/usr.bin/cvs/logmsg.c (Results 1 – 25 of 60)
Revision Date Author Comments
# 431378d1 19-Oct-2020 naddy <naddy@openbsd.org>

Accommodate POSIX basename(3) that takes a non-const parameter and
may modify the string buffer.

ok florian@ millert@


# 0f83abcc 28-May-2017 joris <joris@openbsd.org>

Bring the opencvs log message template inline with other cvs implementations.

ok stsp@


# ae886706 15-Oct-2016 millert <millert@openbsd.org>

Quiet compiler warnings. OK tomc@ tb@


# 3e379626 16-Aug-2016 tb <tb@openbsd.org>

When the commit message is empty, don't default to c)ontinue
(committing without log message) but a)bort. Also, accept
the uppercase versions of the choices.

Matches the corresponding change of beh

When the commit message is empty, don't default to c)ontinue
(committing without log message) but a)bort. Also, accept
the uppercase versions of the choices.

Matches the corresponding change of behavior of GNU cvs.

suggested by & ok jcs

show more ...


# 397ddb8a 05-Nov-2015 nicm <nicm@openbsd.org>

Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc


# 1357284a 05-Feb-2015 millert <millert@openbsd.org>

Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

show more ...


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

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik


# 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


# f106b389 25-Mar-2009 joris <joris@openbsd.org>

switch our file and directory lists to RB trees (see tree(3)),
so we can benefit from faster lookup times while recursing.


# c838fb7a 26-Nov-2008 ray <ray@openbsd.org>

Small optimization.

OK tobias@


# b034d592 10-Jun-2008 joris <joris@openbsd.org>

New trigger framework that allows us to run the required scripts
defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on.

This enables the use of log_accum2 and all that other nice stuff we like

New trigger framework that allows us to run the required scripts
defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on.

This enables the use of log_accum2 and all that other nice stuff we like.

This was mostly written by Jonathan Armani with help from tobias@ and myself.

ok tobias@

show more ...


# 84920933 08-Jun-2008 tobias <tobias@openbsd.org>

Handle commits on a per-directory basis instead handling all of them at
once in local setup. Also added '!' to reuse typed log message for all
following directories.

ok joris


# bd67a6cc 22-May-2008 tobias <tobias@openbsd.org>

Wrong function names in fatal messages fixed.


# fcb086e6 09-Mar-2008 tobias <tobias@openbsd.org>

While allocation memory, make sure that file sizes are smaller than SIZE_MAX.

ok joris


# 9aad96bc 11-Feb-2008 tobias <tobias@openbsd.org>

Cleanup buf implementation:

* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so

Cleanup buf implementation:

* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so zap flags as well.
* Remove code that is now dead.

OK joris@

> Inspired by a diff from Igor Zinovik about unchecked return value.

show more ...


# f99068d5 25-Sep-2007 chl <chl@openbsd.org>

missing header for mkstemp
check mkstemp return value against -1 instead of NULL

ok joris@


# 870158f9 04-Sep-2007 tobias <tobias@openbsd.org>

Replaced strlen() with sizeof() - 1 when #define'd strings are used.

OK ray@


# 7a2038a8 04-Sep-2007 tobias <tobias@openbsd.org>

Handle ^D as a)bort in log message question.

OK joris@


# f76ce13c 30-Aug-2007 joris <joris@openbsd.org>

properly send our log message to the server using Argumentx, so we
no longer break when the log message has multiple lines.

from Tobias Stoeckmann, thanks for doing my work!


# 717c55eb 11-May-2007 ray <ray@openbsd.org>

cvs_logmsg_edit no longer fails with ECHILD.
Add comment describing cvs_logmsg_edit usage.


# 06381711 11-May-2007 ray <ray@openbsd.org>

Sync with editit from sendbug.


# 66510bb6 20-Apr-2007 xsa <xsa@openbsd.org>

- correct signal handling and process waiting for the EDITOR support code
(From ray's code in sendbug(1))
- nuke cvs_exec() as it is not used anymore

Prompted by deraadt@ a few weeks ago.
OK ray@.


# 1f8531bd 22-Feb-2007 otto <otto@openbsd.org>

general includes cleanup sweep. ok joris@ niallo@


# e7423a9c 25-Jan-2007 xsa <xsa@openbsd.org>

zap uneeded close() calls after fclose(); pointed out by and OK otto@.


123