summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Drop dead links to loria.fr and cvshome.orgjca2019-01-101-18/+0
| | | | Pointed out by Matteo Niccoli, ok bluhm@ sthen@
* When checking out certain commits by date, cvs got confused. Ifbluhm2018-10-221-1/+3
| | | | | | | | there is a vendor branch and a commit on top of it, revision 1.1 was taken instead of the vendor branch. To fix this, compare the vendor date with the current node, and not with the command line date. OK deraadt@
* Fix a few, but not all, clang warnings: Use "%s" to print modifiabletb2018-07-102-2/+2
| | | | | | | strings, add a couple of braces, ansify a few functions, add and remove a few extra parens. ok jcs
* When executing ssh, use "--" to indicate end of arguments before themillert2017-08-211-2/+4
| | | | host name. Adapted from a MirBSD diff by Thorsten Glaser.
* once cvs's flow-control mechanism has kicked in, stop reading fromjcs2017-04-141-1/+5
| | | | | | | | | | | | | | | | | | | | its local reader until memory usage goes back down below its watermark. during a checkout of a tree with big files (like www) from a fast reader (disk) and a slow writer (net), the amount of data being buffered can back up enough that cvs tries to allocate too many buffers and hits its resource limit, causing death. cvs's flow-control mechanism properly detects this early on, but the message sent to the reader process to stop sending data takes too long to process. take more aggressive action and just stop reading from the reader until the writer has ejected enough data that it can start re-using its already-allocated buffers instead of allocating new ones. ok deraadt
* Nuke some excess whitespace.krw2017-01-201-7/+7
|
* admin: add -C option to set a revision's commitidjcs2016-08-311-2/+59
| | | | | | this version bails out if the revision has a commitid already ok guenther deraadt tom
* When the commit message is empty, don't default to c)ontinuetb2016-08-161-4/+4
| | | | | | (committing without log message), but to a)bort. ok jcs, natano; millert and tj agree
* Pledge cvs(1).jca2015-11-171-0/+22
| | | | | | | | | The initial pledge(2) call is broad, we can refine later when we know whether we run in server, pserver client mode or regular client mode. pserver server mode is likely broken, it will either be fixed or removed. With and ok semarie@, "let's proceed." deraadt@
* Use crypt_checkpass() instead of strcmp(hash, crypt(password, hash)).millert2015-10-301-7/+3
| | | | | Fixes a crash in pserver mode when CVSROOT/passwd contains an old DES password.
* finally enable writing per-commit commitid tokens to rcs ,v filesjcs2014-05-282-8/+1
| | | | ok deraadt@ millert@
* When writing a history entry, don't downcast time() return value tojca2013-12-141-2/+2
| | | | (long). Use (long long) and print it with %ll08x instead. ok zhuk@
* Kill usage of timeb.h for upcoming removal of libcompat. OK deraadt@millert2013-12-037-8/+7
|
* Prep for big ino_t: cast to unsigned long long and format with %ll or %qguenther2013-08-081-2/+2
| | | | httpd correction and ok kettenis@
* Move the declaration of `disable_x_prog' outside of a #ifdef AUTH_SERVER_SUPPORTmiod2013-06-201-2/+2
| | | | block where it had been mistakenly put in the first place (in r1.28).
* avoid rebuilding server.c and client.c in the install targetrobert2013-06-031-2/+2
|
* backport commitid support from newer CVS (with a different random idjcs2013-06-037-1/+74
| | | | | | | | generator) writing a commitid is currently disabled ok deraadt
* Adjust the default "ignore" list for cvs;sthen2012-03-261-2/+2
| | | | | | | | | | - don't ignore "core", it gets in the way when we import certain things - ignore "*.core" to match the actual filenames we use for core dumps suggested by landry@ - ignore ".git" to avoid accidental imports of the directory when used locally "on top of" cvs various versions ok'd by landry@ todd@ espie@ phessler@ dcoppa@
* In preparation for getline and getdelim additions to libc, rename getline()fgsch2012-03-0419-32/+32
| | | | | occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
* ignore vim's .*.swp files.espie2012-01-051-0/+1
| | | | okay fgs@, millert@
* declare a return type on a function returning void, matches upstreamjsg2011-07-041-1/+1
|
* Switch the remaining users of libdes in src to libcrypto,jsg2010-10-151-5/+5
| | | | | | telnet portion partially from the latest heimdal. ok mikeb@
* As per OpenCVS, general usage in coversation and apparently newerjsg2010-07-221-1/+1
| | | | | | upstream versions of this code, add blame as an alias for annotate. ok henning@ fgsch@ deraadt@ thib@ krw@
* Fix "cvs [update aborted]: out of memory; can not reallocate 5242880 bytes"stsp2009-12-141-4/+3
| | | | | | | | | | | | | when checking out xenocara from a server running OpenBSD/amd64. While processing RCS deltas, don't allocate twice as much memory as needed when copying a line vector to a vector which has less lines. Also, when switching back from a branch to trunk while searching an RCS file for a revision, free the trunklines vector immediately after lines saved in it have been copied back into the currentlines vector. Somehow, these two changes together make the problem go away. ok tobias@, "this has been a serious annoyance" sthen@, "sure" deraadt@
* fix leaks found by parfait.jsg2009-12-132-4/+15
| | | | ok deraadt
* Typo in description for log -r fixed.tobias2008-09-121-1/+1
| | | | ok joris@
* handle sparc64 seperately; ok miodderaadt2008-06-251-0/+3
|
* Add a CVSROOT/config option "DisableMdocdate" (default:no) to turn offdjm2008-06-115-0/+18
| | | | | | | | | the OpenBSD-specific Mdocdate expansion. This is useful to avoid conflicts that arise between the server's expansion of Mdocdate and the upstream code when maintaining forked OpenBSD derived code on an OpenBSD CVS server. "I must grudgingly agree that this is neccessary" deraadt@
* If "cvs admin" encountered an entry in CVS/Entries for a file which has notobias2008-05-111-0/+5
| | | | | | (longer an) RCS file in CVSROOT, both -- GNU cvs and OpenCVS -- segfaulted. ok joris
* fix a segfault in gnucvs that can occur with "checkout -c" if there isjoris2008-02-271-0/+5
| | | | | | an unknown flag specified in CVSROOT/modules. found by tobias@, ok millert@
* Febuary -> Februaryjmc2008-02-081-1/+1
|
* introduce Mdocdate tag, requested by jmc.niallo2007-05-261-0/+27
|
* when comparing two revisions of a directory tree, don't show dead filessturm2007-05-121-1/+1
| | | | | | as new in the 2nd revision 'makes sense' niallo, ok xsa
* Fixes from Derek Price, CAN-2005-0753. ok deraadt@otto2005-04-203-7/+10
|
* Add support for passing the tag name in to the program specified by themillert2004-10-232-0/+12
| | | | loginfo file. From NetBSD. OK otto@
* Several potential security problems found and fixed by Stefan Esser &otto2004-06-096-27/+137
| | | | | | Sebastian Krahmer. ok millert@
* Fix buffer overflow find by Stefan Esser, patch by Derek Robert Price.millert2004-05-191-4/+42
|
* - a malicious server may send path names that translate out of theotto2004-04-162-0/+21
| | | | | | | | | | local cvs tree on the client, enabling the server to overwrite files on the client. - a client may read files outside the repository using the -p flag with the checkout command. ok deraadt@
* re-entrancy hack that is currently needed for cvs to work correctly.deraadt2003-12-291-0/+24
| | | | well, almost. someone should track that down please.
* Don't add -I$(srcdir)/zlib to CFLAGS since the version of zlib included withmillert2003-12-181-1/+1
| | | | | cvs no longer matches ours. Fixes "compression initialization: error -6" as noticed by espie@ and others.
* Quick fix for zlib's update.espie2003-12-171-1/+1
|
* Better fix for MALLOC_OPTIONS=J bug. Something had problems withmillert2003-12-161-11/+3
| | | | | returning a NULL label so now we just the epoch for the timestamp if we cannot stat the file. OK deraadt@
* Add a check for absolute pathnames; from cvs 1.11.10; deraadt@ OKmillert2003-12-121-0/+11
|
* Free buffer and set it to NULL on error lest it be used.millert2003-09-251-0/+5
| | | | Fixes a crash when MALLOC_OPTIONS includes 'J' found by david@.
* minor string cleanings; tdeval okderaadt2003-05-063-6/+6
|
* Add a "DisableXProg" option to CVSROOT/config that can be used tomillert2003-01-233-0/+49
| | | | | | disable support for Update-prog and Checkin-prog. This is a good idea for anonymouse cvs servers or anyone who doesn't need this feature. From Stefan Esser.
* In dirswitch(), don't free dir_name until right before allocatingmillert2003-01-201-3/+3
| | | | | | | it again. This removes a potential double-free problem, whereby this function could free dir_name and then immediately return due to invalid directory syntax (without ever reassigning dir_name), then re-enter and free dir_name again. Fix from Stefan Esser.
* From Andrushock, s/sucess/success/gmillert2002-12-091-1/+1
|
* dont deref NULL pointer in IPv6 pserver client operation.itojun2002-07-061-2/+2
| | | | From: Moritz Jodeit <moritz@jodeit.org>
* make pserver code IPv6 ready. markus okitojun2002-06-211-21/+50
|