/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
usr.bin/cvs/
..
Makefile

Replaced RCS parser code with new rcsparse.{c,h}: - be very strict about things we parse - print more information about errors if they occur - do not fatal() directly in parser, give caller a chance to react - fix an rcs design issue when it comes to login names

16 лет назад
README

Get README up to date: OpenCVS is linked to build now, but man pages are not installed yet.

18 лет назад
add.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
admin.c

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

6 лет назад
annotate.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
atomicio.c

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)

12 лет назад
atomicio.h

Imported atomicio interface.

19 лет назад
buf.c

For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert

5 лет назад
buf.h

Quiet compiler warnings. OK tomc@ tb@

10 лет назад
checkout.c

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

6 лет назад
client.c

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

6 лет назад
cmd.c

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)

12 лет назад
commit.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
config.c

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

11 лет назад
config.h

allow our parsing functions to stop parsing a config file at any given time.

18 лет назад
cvs.1

more e-mail -> email

11 лет назад
cvs.5

do not use Sx for sections outwith the page; man4 still to go...

13 лет назад
cvs.c

fix -fno-common issues; ok mortimer

6 лет назад
cvs.h

fix -fno-common issues; ok mortimer

6 лет назад
cvsintro.7

fix incorrect usage of the .Bx macro; one case reported by Fabio Scotoni <fabio at esse dot ch>, the rest found with regress/usr.bin/mandoc/db/dbm_dump

8 лет назад
date.y

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
diff.c

For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert

5 лет назад
diff.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
diff3.c

Fix merging of files that lack a final \n at EOF after a block of common lines.

5 лет назад
diff_internals.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
edit.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
entries.c

rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.

10 лет назад
fatal.c

show any signal we might have received that killed our cvs process. ok tobias@

18 лет назад
file.c

cvs_file_copy() used futimes(), but only set the tv_sec fields, which presumably meant passing stack garbage in the tv_usec and failing with EINVAL, whee. Switch to futimens() and set the full timespecs from the incoming struct stat

3 года назад
file.h

fix the way Attic is handled in our recursion code, so we do not skip files or run over them twice.

17 лет назад
getlog.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
hash.c

When allocating the h_table array use the size of struct hash_head, not the size of a pointer. From Joris Vink. OK fcambus@

10 лет назад
hash.h

add a hash table mechanism based upon hcreate(3) but one that allows us to maintain multiple hash tables concurrently.

18 лет назад
hash_func.c

add a hash table mechanism based upon hcreate(3) but one that allows us to maintain multiple hash tables concurrently.

18 лет назад
history.c

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
import.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
init.c

do not need a temporary one time use variable which befuddles

5 лет назад
init.h

fix const related warnings; ok millert@

9 лет назад
log.c

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

11 лет назад
log.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
logmsg.c

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

6 лет назад
modules.c

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

11 лет назад
rcs.c

avoid potential use-after-free found by smatch, ok tb@

2 года назад
rcs.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
rcsnum.c

fix const related warnings; ok millert@

9 лет назад
rcsparse.c

rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.

10 лет назад
rcsparse.h

Replaced RCS parser code with new rcsparse.{c,h}: - be very strict about things we parse - print more information about errors if they occur - do not fatal() directly in parser, give caller a chance to react - fix an rcs design issue when it comes to login names

16 лет назад
release.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
remote.c

Stop using MAXBSIZE to eliminate sys/param.h including (which injects a ton of namespace intrusion). Create local sizes, and refactor some code along the way. ok millert

5 лет назад
remote.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
remove.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
repository.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
repository.h

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

16 лет назад
root.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
server.c

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

6 лет назад
status.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
tag.c

fix -fno-common issues; ok mortimer

6 лет назад
trigger.c

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

11 лет назад
trigger.h

spacing.

18 лет назад
update.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
util.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
util.h

fix const related warnings; ok millert@

9 лет назад
version.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
watch.c

Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.

9 лет назад
worklist.c

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

11 лет назад
worklist.h

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)

12 лет назад
xmalloc.c

asprintf returns -1, not an arbitrary value < 0. Also upon error the (very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated

7 лет назад
xmalloc.h

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

11 лет назад
README
OpenCVS README
==============
 
This release of OpenCVS is for OpenBSD systems only.
Please consult http://www.opencvs.org/ for portable release availability.
 
This is a BSD-licensed equivalent of the popular versioning system
CVS. It is currently in development and thus is not yet suited to replace
GNU CVS entirely. This program should NOT be used on a development tree
unless you don't care about losing your modifications due to possible bugs.
 
The OpenCVS binary is installed as /usr/bin/opencvs. Man pages for OpenCVS
are not installed, yet.
 
See http://www.opencvs.org/ for more information.