PageRenderTime 85ms CodeModel.GetById 58ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 1ms

/contrib/cvs/src/ChangeLog-96

https://bitbucket.org/freebsd/freebsd-head/
#! | 4434 lines | 3324 code | 1110 blank | 0 comment | 0 complexity | 41a7434c0f28d95ff0a2b81613b9fc09 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1Mon Dec 30 15:43:48 1996  Abe Feldman  <feldman@harvey.cyclic.com>
   2
   3	* checkout.c (build_dirs_and_chdir): Reproduced block containing
   4	Create_Admin, placing it before Subdir_Register.
   5	* sanity.sh (basicb): Added tests 1a and 9a to test above changes
   6	to the checkout command.
   7
   8Mon Dec 30 13:29:14 1996  uz@wuschel.ibb.schwaben.com (Ullrich von Bassewitz)
   9			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
  10
  11	* cvs.h (CVSEDITPREFIXLEN): New define.
  12	* logmsg.c (do_editor): Use CVSEDITPREFIXLEN when deciding whether
  13	to strip off CVSEDITPREFIX and when telling the user what we will
  14	strip off.
  15
  16Sun Dec 22 22:06:49 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  17
  18	* logmsg.c (do_verify): If noexec, skip the verification *without*
  19	printing a message.  Use cvs_output not printf.  Skip verification
  20	for client_active.
  21
  22Wed Dec 18 12:27:35 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  23
  24	* repos.c (Name_Repository): Add comment regarding wording of
  25	"*PANIC*" error message.
  26
  271996-12-18  Jim Kingdon
  28
  29	* client.c (call_in_directory): If the directory we are about
  30	to create is the same as CVSADM as seen by fncmp (for example,
  31	it is "cvs" and filenames are case-insensitive), then give a
  32	fatal error.
  33
  34Tue Dec 17 13:14:22 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  35
  36	* options.h.in: Add comments about SETXID security holes.
  37
  38	* logmsg.c (do_verify): Reindent comments.  Check errno if return
  39	code from run_exec is -1, not if it is 1.
  40	* sanity.sh (info): Move tests info-4 and info-8 to end and rename
  41	them.  Add verifymsg tests.  Instead of forcibly removing loginfo,
  42	remove it nicely (test info-11).
  43
  44Tue Dec 17 12:45:32 1996  Abe Feldman  <feldman@cyclic.com>
  45
  46	* commit.c, import.c: Call do_verify as well as do_editor.
  47	* cvs.h (CVSROOTADM_VERIFYMSG): Define.
  48	* logmsg.c, cvs.h (do_verify, verifymsg_proc): New functions.
  49	(verifymsg_script): New variable.
  50	* mkmodules.c (filelist): Add CVSROOTADM_VERIFYMSG.
  51
  52Mon Dec 16 13:24:47 1996  Ian Lance Taylor  <ian@cygnus.com>
  53
  54	* lock.c (remove_locks): New static function, copied from part of
  55	Lock_Cleanup.
  56	(Lock_Cleanup): Call remove_locks.
  57	(Writer_Lock): Call remove_locks rather than Lock_Cleanup when
  58	waiting for a lock.
  59
  60Thu Dec 12 10:36:37 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  61
  62	* login.c (get_cvs_password): If CVS_PASSWORD is set, print a
  63	warning (and then proceed to ignore it).  It was a documented
  64	feature, so we should point people who were using it to the
  65	replacement.
  66
  67Mon Dec  9 12:35:43 1996  Ian Lance Taylor  <ian@cygnus.com>
  68
  69	* server.c (server_updated): Change comment to only worry about
  70	umask in the rsh case.
  71	(server): Create the temporary directory, and change the mode to
  72	S_IRWXU.
  73	(switch_to_user): Set the umask to 0, not 077.
  74
  75Mon Dec  9 10:58:28 1996  Jim Blandy  <jimb@floss.cyclic.com>
  76
  77	* login.c (get_cvs_password): Remove code to check for value of
  78	CVS_PASSWORD.  Keeping cleartext passwords in environment
  79	variables is a really bad idea on Unix, since anyone can print
  80	out a processes' environment using 'ps' (on BSD variants
  81	anyway).  Update help message.
  82
  83Fri Dec  6 15:59:40 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  84
  85	* sanity.sh: When matching "use .cvs commit. to remove this file
  86	permanently" messages, change "cvs" to "${PROG}".
  87	(rdiff, binfiles): Likewise.
  88	This fixes testing a program named something other than "cvs", e.g.
  89	$ cp cvs cvs-test
  90	$ /bin/sh <srcdir>/sanity.sh `pwd`/cvs-test
  91
  921996-12-02  Jim Kingdon
  93
  94	* client.c: In comment saying that socket buffers don't
  95	implement the blocking routine, say they are blocking.
  96	* buffer.h (struct buffer): In description of input function,
  97	describe blocking, non-blocking, and NEED more fully.  Say
  98	what happens if we read a nonzero amount less than NEED and
  99	then get end of file.
 100	* client.c (socket_buffer_input): If NEED == 0, still call
 101	recv (once).  Handle the case where recv returns 0.
 102
 103Sat Nov 30 15:10:07 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 104
 105	* subr.c, cvs.h (file_has_markers): New function.
 106	* rcs.h (RCS_MERGE_PAT): Now a fixed string not a regexp.
 107	* options.h.in (GREP): Removed; no longer used.
 108	* update.c (update_fileproc), commit.c (check_fileproc): Call
 109	file_has_markers rather than GREP.
 110	* rcscmds.c (RCS_merge): Just give a fatal error in the case where
 111	we had been calling GREP.  I suspect noone is using this code
 112	any more.
 113	* sanity.sh (conflicts): Rewrite tests 131, 132, and 133 to use
 114	dotest; tests that the above changes didn't break anything.
 115
 116Fri Nov 29 09:06:41 1996  fnf@ninemoons.com (Fred Fish)
 117			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
 118
 119	* checkout.c (safe_location): Only call readlink if HAVE_READLINK.
 120
 121	* run.c (piped_child, filter_stream_through_program): If
 122	HAVE_VFORK, call vfork not fork.
 123	* run.c (run_exec): Add comment about why we use vfork.
 124
 125Mon Nov 25 12:48:31 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 126
 127	* release.c (release): Don't return after processing the first
 128	argument; that kind of defeats the purpose of having a loop, eh?
 129	For client, close the connection after we've processed them all.
 130	* sanity.sh: Remove workaround for modules2-8 test; tests for
 131	above fix.  Adjust modules2-6 test to answer both questions.
 132
 133	* login.c: Reindent (all of get_cvs_password, a handful of lines
 134	elsewhere).
 135
 136	Cleanups to release, mostly cosmetic:
 137	* release.c (release_server): New function; breaks out server code
 138	from the release function.
 139	* release.c: Move delete_flag inside the release function.
 140	* release.c (release): Reindent.  Rewrite comments about how the
 141	implementation could be improved.  Don't declare variables as
 142	"register".  Include errno in error message.  Don't cast result of
 143	printf to void.  Remove unused variable srepos.
 144	* release.c: Remove comments at top of file about what it does.
 145	They were not particularly coherent and they were also out of date
 146	(I think).  Likewise for comment in release function about "if we
 147	are in a repository".
 148	* release.c: Change "module" to "directory" in a few messages
 149	since that is what is meant.
 150	* sanity.sh: In tests ignore-195 and ignore-193, change expected
 151	message accordingly.
 152
 153Sun Nov 24 11:30:55 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 154
 155	* sanity.sh: Clarify a few items in the todo list.
 156
 157	* log.c (log_parse_date): Use the "end" of the epoch not "next
 158	week" as the time which means "no end time".
 159	* sanity.sh (rcs): New test, tests dates and importing RCS files.
 160
 1611996-11-19  Jim Kingdon
 162
 163	Visual C++ lint:
 164	* hash.c: Declare qsort_comp.
 165	* update.c: Declare isremoved.
 166	
 1671996-11-19  Jim Kingdon  <kingdon@harvey.cyclic.com>
 168
 169	* root.c, repos.c, modules.c, create_adm.c: Change all calls to
 170	strip_path to strip_trailing_slashes.  Basically strip_path is
 171	just an unneeded complication (we should keep the pathname the way
 172	the user specifies it, and the system can worry about things like
 173	consecutive /'s if it wants to).  Stripping trailing slashes is
 174	potentially dubious for the same reason, but it is a somewhat
 175	different case which I won't try to tackle now.
 176	* cvs.h (strip_path): Remove declaration.
 177
 178Tue Nov 19 15:18:13 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 179
 180	There are a lot of details to this change, but the concept is
 181	relatively simple: make it so that for every CVSLCK lock that we
 182	might take out, there is a flag which is set iff we have created
 183	the CVSLCK directory.
 184	* lock.c (struct lock): New structure.
 185	* lock.c: Remove static variables repository and cleanup_lckdir.
 186 	They are replaced by global_readlock.repository and
 187	global_readlock.have_lckdir, respectively (except insofar as the
 188	rest of these changes change the concept of cleanup_lckdir).
 189	New static variable global_readlock.
 190	(Reader_Lock, Lock_Cleanup): Use global_readlock in place of
 191	repository.
 192	(lock_simple_remove, set_lock, clear_lock, write_lock): Take a
 193	struct lock * instead of just a repository.  Set/clear
 194	lock->have_lckdir instead of cleanup_lckdir.
 195	(set_writelock_proc, unlock_proc): Pass ->data, not ->key, to
 196	write_lock or lock_simple_remove.
 197	(lock_filesdoneproc,lock_dir_for_write): Allocate a struct lock,
 198	put it in the ->data field, and fill in its fields.
 199	(lock_simple_remove): Use lock->have_lckdir as the sole test for
 200	whether the CVSLCK directory needs to be removed.  Add
 201	comments about why readlock and writelock variables don't tell us
 202	for sure whether locks exist.
 203	(lock_simple_remove, clear_lock): Use SIG_beginCrSect and
 204	SIG_endCrSect to ensure that ->have_lckdir is set to 0 iff the
 205	CVSLCK directory was really removed.
 206	(lock_simple_remove): Check for errors removing CVSLCK directory.
 207	(lock_simple_remove, Check_Owner, set_lock): Remove all code which
 208	checks userids (including all of Check_Owner and all the AFCVS
 209	code).  It was bogus if several CVS processes with the same userid
 210	were running (common if several users share a userid; a common
 211	practice with remote CVS), and with the rest of the changes here
 212	should not be needed.
 213
 2141996-11-16  Paul Eggert  <eggert@twinsun.com>
 215
 216	* rcs.c (RCS_deltas): Fix unintended trigraphs.
 217
 218Fri Nov 15 13:06:03 1996  Tom Hageman  <tom@basil.icce.rug.nl>
 219
 220	* diff.c (diff_fileproc): In printing error messages, use the
 221	correct filename for which the error occurred.
 222
 223Sun Nov 10 21:13:38 1996  Paul Sanders <p.sanders@dial.pipex.com>
 224			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
 225
 226	* server.c: Use all the right cruft which goes along with
 227	including sys/time.h.
 228
 229	* server.c: Include a "copyright" notice.
 230
 231	* server.c: If HAVE_WINSOCK_H, include winsock.h.
 232
 233	* server.c (server): Only set a handler for SIGHUP if it is
 234	defined.  Likewise for all the other signals.
 235
 236	* server.c (do_cvs_command): Use DEVNULL not /dev/null.
 237
 238Fri Nov 08 12:14:20 1996  Jim Kingdon
 239
 240	IBM ICC (OS/2) lint:
 241	* add.c (add): Only declare begin_added_files if
 242	SERVER_SUPPORT.
 243	* client.c (init_sockaddr): Change port argument from
 244	unsigned short to unsigned int.  Change hostname
 245	argument from const char * to char *.
 246
 247Sun Nov  3 18:24:28 1996  Noel Cragg  <noel@gargle.rain.org>
 248
 249	* sanity.sh (info): add new tests that check behavior of format
 250 	string substitution in loginfo file.
 251
 252Sat Nov  2 09:39:09 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 253
 254	* client.c (do_deferred_progs): Don't access memory once it is
 255	freed (we already did it right for checkin_progs; do the same
 256	thing for update_progs).
 257
 258	* update.c, client.c, classify.c, client.h, diff.c, commit.c,
 259	create_adm.c: Nuke more PATH_MAX.
 260
 261Fri Nov  1 18:22:32 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 262
 263	* error.h: Define PROTO if it is not defined.
 264
 265Wed Oct 30 08:53:20 1996  jalving@ibm.net
 266
 267	* patch.c (patch_fileproc): Set line1 and line2 to NULL up-front
 268	(before the first "goto out") so we don't try to free them.
 269
 270Wed Oct 30 08:53:20 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 271
 272	* commit.c (remove_file, commit_filesdoneproc), run.c (run_print,
 273	run_exec), modules.c (open_module, cat_module, do_module), update.c
 274	(update_dirleave_proc), tag.c (tag_fileproc): Call cvs_out* rather
 275	than stdio.
 276	* server.c (serve_expand_modules): Remove comment about do_module
 277	writing to stdout/stderr; above changes should fix this.
 278
 279Tue Oct 29 17:23:59 1996  Ian Lance Taylor  <ian@cygnus.com>
 280
 281	* status.c (tag_list_proc): When printing the tag name, don't
 282	truncate it to 25 characters.
 283
 284Tue Oct 29 12:49:07 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 285
 286	* add.c, checkin.c, checkout.c, filesubr.c: Nuke arbitrary limit
 287	of PATH_MAX.  Many more such limits surely remain.
 288
 289	* fileattr.c (fileattr_set): Set attrs_modified *after* we might
 290	call fileattr_read, because fileattr_read clears it.
 291	* sanity.sh (devcom2): New tests, test for above fix and other
 292	behaviors I discovered in the process of looking into it.
 293
 294Mon Oct 28 08:55:57 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 295
 296	The following changes are to ensure that SYSTEM_CLEANUP is always
 297	called.
 298	* error.c, cvs.h, main.c: Remove error_set_cleanup and related
 299	machinery.  It was for a time when error.c was intended to be
 300	shared with other programs, but that is no longer true.
 301	* error.c, error.h (error_exit): New function; like error_cleanup
 302	from main.c but also calls SYSTEM_CLEANUP and exit (EXIT_FAILURE).
 303	* error.c (error, fperror): Call error_exit instead of doing it
 304	ourself.
 305	* server.c (server, serve_valid_responses, switch_to_user,
 306	check_password, pserver_authenticate_connection, 
 307	kserver_authenticate_connection): Call SYSTEM_CLEANUP before exit.
 308	* add.c, client.c, import.c, main.c, mkmodules.c, modules.c,
 309	recurse.c, server.c, tag.c, update.c: Call error_exit ()
 310	instead of exit (EXIT_FAILURE).
 311
 312Sun Oct 27 08:34:16 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 313
 314	* sanity.sh (conflicts): New test 128.5 tests "cvs co -p" in an empty
 315	directory (like 126.5), but when the file has nonempty contents.
 316	* rcs.c (RCS_checkout): If writing to stdout, use cvs_output
 317	rather than fwrite.
 318	* update.c (checkout_file): Call cvs_stderr not fprintf.
 319	These changes should fix some out-of-order bugs which show up in
 320	situations like conflicts-126.5 and conflicts-128.5.
 321
 322	* mkmodules.c (checkout_file): Call RCS_checkout rather than
 323	run_exec on RCS_CO.
 324
 325Sat Oct 26 18:29:46 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 326
 327	* sanity.sh (rdiff): cd out of testimport directory and remove it
 328	when done.
 329
 330	* sanity.sh (info): Adjust tests to reflect fact that loginfo was
 331	created by cvs init.
 332
 333	* sanity.sh (ignore): Change test 187a1 to allow any number of
 334	files in CVSROOT, not just modules.
 335
 336	* sanity.sh (modules): In tests 148a0 and 148a1, don't expect a
 337	module which defines CVSROOT to itself, since we don't define one
 338	any more.  Also change test to rewrite modules rather than append
 339	to it (in case any previous tests are changed to do something with
 340	modules).  Change test 155b to allow any number of files in
 341	CVSROOT, not just modules.
 342
 343	* add.c (add_directory): Set rev_old and rev_new fields of struct
 344	logfile_info to NULL (prevents us from trying to free them later).
 345	* commit.c (find_fileproc), import.c (import): Likewise.
 346
 347	* sanity.sh (crerepos): New tests, to test alternate ways of
 348	creating a repository and related matters.
 349	* sanity.sh: Remove tests 1 through 3 and related cruft; replace
 350	them with a new test 1 which merely tests "cvs init".  By doing
 351	the obscure stuff in crerepos we avoid having to do all this stuff
 352	any time we run any single test.
 353
 354Sat Oct 26 16:19:48 1996  Jim Blandy  <jimb@totoro.cyclic.com>
 355
 356	* main.c (main): If HAVE_TZSET is #defined, call tzset.  This is
 357	harmless on all systems I know of, and required on some.
 358
 359Fri Oct 25 13:20:44 1996  Ian Lance Taylor  <ian@cygnus.com>
 360
 361	* diff.c (diff_file_nodiff): When setting use_rev1, only return
 362	DIFF_SAME if empty_file is DIFF_DIFFERENT and ts_user is not
 363	NULL.  Don't get confused by a vn_user field of "0" or one
 364	starting with '-'.
 365	* sanity.sh (death2): Add new death2-diff-{1,2,7,8} tests for
 366	above patch.  Renumber existing death2-diff tests to make room.
 367
 368Fri Oct 25 12:38:29 1996  Jim Wilson  <wilson@cygnus.com>
 369
 370	* sanity.sh (death2): In tests death2-diff-{2,4,6,8,10}, allow "_"
 371	in temp file names.  The system (tmpnam or whatever) generates
 372	these names so they vary from system to system.
 373
 374Fri Oct 25 07:52:44 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 375
 376	* logmsg.c (logfile_write): Give an error for several cases which
 377	should not be legal.  Adjust comments accordingly.
 378	* mkmodules.c (loginfo_contents): Make description of loginfo much
 379	more concise.  This should be a reminder, not full documentation.
 380
 381Tue Oct 22 10:37:37 1996  Noel Cragg  <noel@gargle.rain.org>
 382
 383	* commit.c (update_delproc): free structure members rev_old and
 384 	rev_new if they have been allocated.
 385
 386	* mkmodules.c: change loginfo_contents to include a description of
 387 	the new format string.
 388
 389	* logmsg.c (logfile_write): change syntax of format string.
 390
 391Sat Oct 19 16:09:55 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 392
 393	For reference, this takes CVS's text segment from 348348 bytes to
 394	347420 bytes.
 395	* server.c (requests): Change Directory to rq_essential
 396	per change in doc/cvsclient.texi.
 397	* client.c: Remove use_directory and all code which executed if
 398	it wasn't set.  This includes the get_short_pathname function.
 399	* server.c: Likewise, for use_dir_and_repos.
 400	(serve_repository): Give a fatal error.
 401	* server.c (requests): Remove Lost.  Change Unchanged to rq_essential.
 402	(serve_lost): Removed.
 403	* server.c, server.h, client.c, vers_ts.c: Remove use_unchanged,
 404	code to set it, and all code which executed if it wasn't set.
 405
 406Sat Oct 19 12:44:08 1996  J. Richard Sladkey  <jrs@world.std.com>
 407			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
 408
 409	* hash.c (sortlist, new function qsort_comp): Rewrite to use qsort
 410	instead of insert sort.  Changes algorithm from n^2 to n log n
 411	(assuming qsort is implemented with quicksort or similar).
 412
 413Sat Oct 19 12:44:08 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 414
 415	* sanity.sh (basic2): In test basic2-64, use -x and specify types
 416	which exclude E; the test is not built to deal with E (or any
 417	other new types).
 418
 419Sat Oct 19 12:00:00 1996  Mark Mitchell <mmitchell@usa.net>
 420			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
 421
 422	* update.c (isemptydir, new function isremoved): Avoid pruning
 423	directories that contain files marked for removal but not
 424	comitted.
 425	* update.c, update.h (isemptydir): Now extern, not static.
 426	* update.c (isemptydir): New parameter might_not_exist handles
 427	difference in functionality from old client_isemptydir.  Bring
 428	over the improved error checking from client_isemptydir.
 429	* client.c (client_isemptydir): Removed; isemptydir now suffices.
 430	* update.c (update_dirleave_proc), client.c
 431	(process_prune_candidates): Update callers.
 432	* sanity.sh (deep): Add tests deep-rm* for above fix.
 433
 434Fri Oct 18 15:53:41 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 435
 436	* sanity.sh (devcom): Add tests devcom-some* to test watching just
 437	a single file.
 438
 439	* root.c (Name_Root): Use isabsolute to test whether a pathname is
 440	absolute instead of checking for the first character being '/'.
 441	(Reported by Antoine P. Brusseau <brusseau@jprc.com>).
 442
 443	* commit.c (checkaddfile): Free rev only if it is non-NULL (thanks
 444	to cwong@world.std.com (Christopher Wong) for diagnosing this; the
 445	death2-15 test in sanity.sh hits it).
 446
 447Thu Oct 17 15:21:56 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 448
 449	* sanity.sh: Reenable rdiff tests.  Delete rdiff-9 test to reflect
 450	the fact that the change to add a -K option has not been
 451	incorporated.  Adjust rdiff-8 test to reflect the fact that the
 452	change to change the default keyword expansion for the first
 453	revision has not been incorporated.
 454	* patch.c (patch_fileproc): Pass the symbolic revision to
 455	RCS_checkout so that Name can be expanded correctly.  Reinstates
 456	one of the 30 Sep 96 changes and fixes a bug which the sanity.sh
 457	rdiff test tests for.
 458
 459	Reinstate change from 30 Sep 96:
 460	* patch.c (patch): CLIENT_SUPPORT: send '-f' if NOT force_tag_match
 461
 462	* client.c (process_prune_candidates): Do not ignore errors from
 463	unlink_file_dir.
 464
 465	* filesubr.c (deep_remove_dir): If rmdir returns an error other
 466	than ENOTEMPTY or EEXIST, return -1 not 0.  Add workaround for AIX
 467	header bug.
 468
 469Tue Apr 30 08:21:27 1996  Mike Sutton <mike_sutton@dayton.saic.com>
 470
 471	* checkout.c, history.c: added logging/reporting of cvs export
 472	command
 473
 474Wed Oct 16 10:16:57 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 475
 476	* sanity.sh: Remove tests 4, 4.5, and 4.75; this functionality is
 477	already tested by 45, 45.5 and other tests.
 478	(ignore): New tests ignore-192, ignore-193, ignore-194, and
 479	ignore-195 test output from "cvs release".
 480	(modules2): New tests modules2-6, modules2-7, and modules2-8 test
 481	ability of cvs release to handle multiple arguments.  Since it
 482	currently doesn't, the tests are kludged.
 483
 484	* server.c, cvs.h (cvs_flushout): New function.
 485	* recurse.c (do_file_proc): Call it.
 486	* server.c (cvs_outerr): Call fflush (stdout) in non-server case.
 487	* main.c (main): Don't call setvbuf.  The code was incorrectly
 488	checking for "patch" (it really is "rdiff"); the concern about
 489	slowing down large amounts of output is not specific to rdiff
 490	(it applies to "log" for example); and the above changes should
 491	meet the need.
 492
 493Tue Oct 15 10:22:10 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 494
 495	This is intended to facilitate some future cleanups to the
 496	locking, but by itself it is a simple, conversative rearrangement:
 497	* tag.c (locked_dir, locked_list): Move from here...
 498	* lock.c: ...to here.
 499	* lock.c (Lock_Cleanup): If locked_dir is set clean it up too.
 500	* tag.c (tag_unlockdir): Removed; with the above change
 501	Lock_Cleanup suffices.
 502	* tag.c (tag_lockdir): Move from here...
 503	* lock.c (lock_dir_for_write): ...to here.
 504	* tag.c (tag_fileproc), rtag.c (rtag_fileproc): Update callers.
 505	Move comments concerning why we are locking what we are from
 506	tag_lockdir to here.
 507	* tag.c (tag_filesdoneproc), rtag.c (rtag_filesdoneproc):
 508	Update callers.
 509	* lock.c (Writer_Lock): Made static.
 510	* cvs.h: Update declarations.
 511	* server.c (server_notify): Call lock_dir_for_write rather than
 512	calling Writer_Lock ourselves.
 513
 514	This is intended to facilitate some future cleanups to the
 515	locking, but by itself it is a simple, conversative rearrangement:
 516	* lock.c (Lock_Cleanup): Also dellist (lock_tree_list).
 517	* lock.c, cvs.h (lock_tree_cleanup): Removed; with the above change
 518	Lock_Cleanup suffices.
 519	* commit.c, edit.c, watch.c: Change callers.
 520
 521Sat Oct 12 21:41:46 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 522
 523	* sanity.sh (deep): Add comment about whether the deep-4b behavior
 524	is considered desirable.
 525
 526Sat Oct 12 20:36:36 1996  Ian Lance Taylor  <ian@cygnus.com>
 527
 528	* client.c (client_send_expansions): Add build_dirs parameter.
 529	Change all callers.
 530	(send_dirent_proc): Get build_dirs from callerdat; if it is
 531	zero, don't send a nonexistent directory to the server.
 532	(send_files): Add build_dirs parameter.  Change all callers.
 533	* client.h (send_files): Update prototype.
 534	(send_files_contents): Remove prototype for nonexistent function.
 535	(client_send_expansions): Update prototype.
 536	* sanity.sh (deep): Add deep-4b test for above patch.
 537
 538Fri Oct 11 14:07:12 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 539
 540	gcc -Wall lint:
 541	* logmsg.c (title_proc): Remove unused variables title and comma.
 542
 543	* sanity.sh (modules2): Don't be picky about whether we are
 544	checking in 1.3 or 1.2 of modules; it depends on whether we are
 545	running all the tests or just some.
 546
 547Thu Oct 10 14:52:06 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 548
 549	* server.c, server.h (server_dir): New variable.
 550	(output_dir): If it is set, send it before the directory name.
 551	* modules.c (do_module): Set it, in the case of & modules, and
 552	restore it when done.
 553	* sanity.sh (modules): Don't clean up first-dir before starting;
 554	tests now clean up for themselves at the end.
 555	(modules2): New tests, for above fix.
 556
 557Wed Oct  9 15:52:34 1996  Jim Blandy  <jimb@totoro.cyclic.com>
 558
 559	* sanity.sh: Barf immediately if run as root. 
 560
 561	* rcs.c (RCS_getrevtime): When giving a date to get_date, use the full
 562	year, not the year - 1900, so that dates after 1999 are parsed
 563	correctly.  (Change thanks to Paul Eggert.)
 564
 565Wed Oct  9 10:59:11 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 566
 567	Clean up gcc -Wmissing-prototypes lint:
 568	* cvs.h (admin, add, checkout, commit, diff, history, import,
 569	cvslog, login, patch, release, cvsremove, rtag, status, tag):
 570	Declare.
 571	* server.c, main.c: Don't declare them here.  Don't declare update
 572	either (which is already declared in cvs.h).
 573	* tag.c, cvs.h, main.c, server.c: Rename tag to cvstag to avoid
 574	name conflicts.
 575	* client.c (init_sockaddr, auth_server_port_number), entries.c
 576	(Entnode_Create, Entnode_Destroy), hash.c (nodetypestring),
 577	login.c (construct_cvspass_filename), server.c
 578	(supported_response), wrapper.c (wrap_matching_entry): Make static;
 579	prototype.
 580	* hash.c (printlist): Prototype.
 581	* myndbm.c (mydbm_load_file): Change declaration to prototype.
 582
 583Tue Oct  8 22:35:34 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 584
 585	* sanity.sh (log2): Re-add these tests; they were deleted for 1.9
 586	(because they were thought to be destabilizing and/or due to
 587	confusion/accident), but they can be put back now.
 588
 589	* sanity.sh (death2): In tests death2-diff-{2,4,6,8,10}, allow "-"
 590	or "%" in temp file names.  The system (tmpnam or whatever)
 591	generates these names so they vary from system to system.
 592
 593Tue Oct  8 12:37:09 1996  Ian Lance Taylor  <ian@cygnus.com>
 594
 595	* options.h.in (HAD_RCS4): Remove; no longer used.
 596
 597Sun Oct  6 15:58:11 1996  Noel Cragg  <noel@gargle.rain.org>
 598
 599	* The following changes address problem #56 in the GNATS database
 600 	on harvey.cyclic.com:
 601
 602	* logmsg.c (str_list_format): new global -- contains the format
 603 	for items to be placed in str_list.
 604	(Update_Logfile): move code that creates the "title" string...
 605	(logfile_write): ...to here.  Pull apart the filter program and
 606 	look for a format string, extracting it if there is one.
 607	(title_proc): write a given filename/value based on the format
 608 	string.
 609
 610	* commit.c (classify_file_internal): new routine, old code (needed
 611 	to use the code in more than one place).  Determines the status
 612 	and version information about a file.
 613	(check_fileproc): use classify_file_internal.  Fill in the rev_old
 614 	field for the struct logfile_info.
 615	(commit_fileproc): Fill in the rev_new field.
 616
 617	* cvs.h (struct logfile_info): add two new fields -- rev_old and
 618 	rev_new -- that keep track of revision numbers across commits.
 619
 620Fri Sep 27 15:21:47 1996  Peter Wemm  <peter@spinner.dialix.com>
 621
 622	* logmsg.c (do_editor): Do not use editinfo if running on the client.
 623
 624Fri Oct  4 15:11:46 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 625
 626	* server.c (server_cleanup): Temporarily clear noexec when calling
 627	unlink_file_dir.  This is so we clean up the temp directory even
 628	when the -n global option is specified.
 629
 630Wed Oct  2 10:47:33 1996  Norbert Kiesel  <nk@col.sw-ley.de>
 631
 632	* client.c (send_repository): initialize some variables before
 633 	first usage
 634
 635Tue Oct  1 13:01:24 1996  Jim Blandy  <jimb@floss.cyclic.com>
 636
 637	Revert some of Greg's changes; they're welcome later, but we're
 638	trying to keep CVS stable for pre-release testing at the moment. 
 639	* checkin.c, commit.c, cvs.h, diff.c, import.c, main.c, no_diff.c,
 640	options.h.in, patch.c, rcs.c, rcs.h, rcscmds.c, sanity.sh, update.c:
 641	Revert changes of Sep 29 and 30.
 642
 643Tue Oct  1 13:17:31 1996  Ian Lance Taylor  <ian@cygnus.com>
 644
 645	Make sure the server temporary directory is removed even if
 646	Max-dotdot is used.
 647	* server.c (orig_server_temp_dir): New static variable.
 648	(serve_max_dotdot): Don't free server_temp_dir if it is the same
 649	as orig_server_temp_dir.
 650	(do_cvs_command): Use orig_server_temp_dir in error message.
 651	(server_cleanup): Remove orig_server_temp_dir.
 652	(server): Set orig_server_temp_dir.  Remove incorrect indentation
 653	of error message.
 654
 655	* import.c (update_rcs_file): Restore new argument to
 656	RCS_checkout, removed in last patch.
 657
 658Tue Oct  1 00:32:55 1996  Jim Blandy  <jimb@floss.cyclic.com>
 659
 660	* import.c: Revert Greg Woods' changes of Sep 30.  We may want
 661	them later, but not before 1.9.
 662
 663Mon Sep 30 23:31:01 1996  Jim Blandy  <jimb@floss.cyclic.com>
 664
 665	* log.c (log_fileproc): Now that we might actually find a "desc"
 666 	node in rcsfile->other, thanks to Ian's change below, we had
 667 	better deal correctly if we find a null pointer in it.
 668
 669Mon Sep 30 13:55:03 1996  Greg A. Woods  <woods@most.weird.com>
 670
 671	* main.c (main): don't set need_to_create_root for "cvs init"
 672	either, just in case it's run from within a valid working
 673	directory.
 674
 675	* sanity.sh (testcvs): oops, forgot to comment out test version I
 676 	was using...
 677
 678	* diff.c (diff_fileproc): use Diffbin instead of DIFF (3).
 679	* patch.c (patch_fileproc): use Diffbin instead of DIFF.
 680	* commit.c (check_fileproc): use Grepbin instead of GREP.
 681	* rcscmds.c (RCS_merge): use Grepbin instead of GREP.
 682	* update.c (patch_file): use Diffbin instead of DIFF.
 683	(update_fileproc): use Grepbin instead of GREP.
 684	* cvs.h (Diffbin): new declaration.
 685	(Grepbin): new declaration.
 686	(DIFFBIN_ENV): new manifest to name DIFFBIN environ var.
 687	(GREPBIN_ENV): new manifest to name GREPBIN environ var.
 688	* option.h.in (DIFFBIN_DFLT): renamed from DIFF.
 689	(GREPBIN_DFLT): renamed from GREP.
 690	* main.c (main): new variables diffbin_update_env and
 691	grepbin_update_inv, ala rcsbin_update_env.
 692	(main): new options -D diffbin and -g grepbin
 693	(usg): describe new options -D diffbin and -g grepbin.
 694	(Diffbin): new global variable for DIFF path.
 695	(Grepfbin): new global variable for GREP path.
 696
 697	* options.h.in (RCSBIN_DFLT): mention this needs to be set if
 698	your PATH isn't set properly by rshd.
 699
 700	* sanity.sh (rdiff): re-do Jim's change, but with the original
 701	keywords I had intended (should be a bit more like real life), and
 702	Jim's better RCS date and user matching form.
 703	[I guess that's what I get for checking things in at 3am! ;-)]
 704
 705Mon Sep 30 17:00:20 1996  Ian Lance Taylor  <ian@cygnus.com>
 706
 707	* rcs.c (RCS_reparsercsfile): Store desc field value in main RCS
 708	node data, not in version specific data.
 709	* sanity.sh: Enable log2 test (for local CVS only).
 710
 711Mon Sep 30 13:01:45 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 712
 713	* sanity.sh (log2): New test, tests cvs add -m.  Not yet enabled
 714	in "tests" because CVS currently flunks this test.
 715
 716	* sanity.sh (rdiff, basic2): Allow "cvs server" as well as "cvs
 717	checkout" and friends in messages.  In testing output of cvs
 718	status, don't require a tab which isn't there for remote.  Skip
 719	test rdiff-9 for remote.  In test basic2-64, add missing slash in
 720	the pattern which gets used for remote.
 721
 722	* sanity.sh (rdiff): Fix strings we were matching against which
 723	got keyword-expanded in checking in sanity.sh.
 724
 725Mon Sep 30 03:21:37 1996  Greg A. Woods  <woods@most.weird.com>
 726
 727	* sanity.sh: change all regexpr literal '.' to '\.'
 728 	(basic2): why are tests 34 & 42 commented out (because
 729	of 'diff -u'?)?
 730	add tests 56[abc], 57a, and 58a to test import to the main
 731	branch (i.e. branch '1').
 732	(rdiff): new test section for rdiff -K, etc.
 733	(dotest): remove dotest.ex? before running a new test.
 734	(dotest_fail): remove dotest.ex? before running a new test.
 735	(dotest_internal): write expected output to dotest.exp, or if $4
 736	also used, to dotest.ex1 and dotest.ex2.
 737	(patch): renamed this test to 'serverpatch'.
 738	(dotest_lit): rename dotest.res to dotest.exp ala dotest().
 739	remove dotest.ex? before running a new test.
 740	(DOTSTAR): mention the bug exists up to 1.12
 741	(ENDANCHOR): mention the bug exists up to 1.12
 742	(dotest_all_in_one): new function for debugging.
 743	(dotest_line_by_line): new function for debugging.
 744	(dotest_internal_debug): new function for debugging.
 745	(dotest_internal): stop emulating the ancient tests and don't spew
 746	the dotest.tmp contents onto $LOGFILE -- it's just too much
 747	meaningless noise.  Only do this if the test fails.  Many tests
 748	don't use dotest() yet, so this isn't quite so helpful as it might
 749	otherwise be.
 750	(TODO): mention CVS/* files, especially CVS/Root.
 751	
 752	* main.c (main): add a commented out piece of code to suggest that
 753	there should be a function lookup_command_attribute() that could
 754	tell us various things about internal commands, such as whether
 755	they use CVS/Root, or if they're repository-only, or if they need
 756	a working directory, etc....
 757	(main): don't set need_to_create_root if command doesn't use a
 758	local working directory.
 759
 760	* patch.c (patch): CLIENT_SUPPORT: send '-f' if NOT force_tag_match
 761
 762	* error.c (fperror): protect declaration for un-defined __STDC__
 763
 764	* import.c (import): permit imports to a branch with zero dots,
 765	i.e. the trunk.
 766	(update_rcs_file): don't detect conflicts if importing to the
 767	trunk.
 768	(import): add hint that we should allow a module name, instead of
 769	just a pathname relative to $CVSROOT.
 770	(add_rcs_file): if importing to trunk, do it with ci(1).
 771
 772	* import.c: XXX the following are all #if 0'ed out until a full
 773	implementation can be designed....
 774	(cbranch): new variable to support conflict detection on another
 775	branch set by -c.
 776	(import): truncate -b and -c optarg if to fit in static storage.
 777	(import_usage): describe -c
 778
 779	* rcscmds.c (RCS_checkout): add new argument 'rcsver'.  If rcsver
 780	is set, turn on 'keywords' to force call to RCS_exec_checkout.
 781	* rcs.c (RCS_exec_checkout): add new argument 'rcsver'.  Pass
 782	'rcsver' to "co" with run_arg().
 783	* cvs.h: (RCS_checkout): add new argument 'rcsver' to prototype.
 784	(RCS_exec_checkout): add new argument 'rcsver' to prototype.
 785	* commit.c (remove_file): supply new argument to RCS_checkout.
 786	* checkin.c (Checkin): supply new argument to RCS_checkout.
 787	* diff.c (diff_fileproc): supply new argument to RCS_checkout.
 788	(diff_file_nodiff): supply new argument to RCS_checkout.
 789	* no_diff.c (No_Difference): supply new argument to RCS_checkout.
 790	* update.c (checkout_file): supply new argument to RCS_checkout.
 791	(patch_file): supply new argument to RCS_checkout.
 792	(join_file): supply new argument to RCS_checkout.
 793
 794	* patch.c: (o_options): new variable for -K
 795	(rcsver): new variable for -V.
 796	(patch): add -K flag which sets o_options, change -V to set
 797	rcsver, send o_options and rcsver if in client mode.
 798	(patch_fileproc): use RCS_checkout instead of RCS_fast_checkout in
 799	order to ensure $Name is expanded, use o_options if set, or
 800	options if set, or by default "-ko" when getting "old" file.
 801
 802Sun Sep 29 16:43:28 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 803
 804	* rcscmds.c: Replace comment at top of file concerning RCS library
 805	with a reworded version based on discussion between me, Ian, Paul
 806	Eggert, and JimB.
 807
 808Sun Sep 29 13:09:45 1996  Noel Cragg  <noel@kiva.rain.org>
 809
 810	* main.c (main): don't create/update CVS/Root when doing the "cvs
 811 	login" command.  Consider: if the user executes "cvs login" with
 812 	the working directory inside an already checked out module, we'd
 813 	incorrectly change the CVS/Root file to reflect the CVSROOT of the
 814 	"cvs login" command.
 815
 816	* login.c (login): if we're re-logging into a server for which a
 817 	.cvspass entry already exists, copy the temporary file to its home
 818 	location rather than renaming.  Renaming doesn't work between
 819 	filesystems.  After copying, unlink the temporary file.
 820
 821Fri Sep 27 05:24:56 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 822
 823	* diff.c: Add comment about --brief option.
 824
 825	* README-rm-add: Removed; the information which was here is now in
 826	cvs.texinfo.
 827	* Makefile.in (DISTFILES): Remove README-rm-add.
 828
 829Wed Sep 25 10:00:00 1996  Larry Jones  <larry.jones@sdrc.com>
 830
 831	* Makefile.in (cvsbug): Add dependency on version.c.
 832
 833Wed Sep 25 09:01:48 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 834
 835	* filesubr.c (get_homedir), update.c (update): Reindent.
 836
 837Wed Sep 25 04:44:54 1996  Jim Blandy  <jimb@totoro.cyclic.com>
 838
 839	* version.c (version_string): Bump to 1.8.86.
 840
 841Wed Sep 25 05:17:50 1996  Jim Blandy  <jimb@floss.cyclic.com>
 842
 843	* update.c (update): Don't neglect to pass the -kmumble options
 844	to the server.
 845	* sanity.sh (binfiles-sticky): New tests for above.
 846
 847	* cvsrc.c (read_cvsrc): Deal correctly with lines that specify a
 848	command, but no options; don't corrupt argv.
 849
 850	* sanity.sh: When testing rsh, use the program specified by
 851 	the CVS_RSH environment variable, if it's set.  Move test to top
 852	of file, so it runs before all other tests (it's really a
 853	meta-test).
 854
 855	* filesubr.c (get_homedir): Use getpwuid to find the home
 856	directory, if the HOME environment variable isn't set.
 857	* ignore.c (ign_add_file): Call get_homedir to find the user's
 858	home directory; this is more portable than calling getpwuid.
 859
 860Tue Sep 24 09:08:17 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 861
 862	* log.c (log_tree): When walking through branches, follow the
 863	->prev field rather than following ->next which insures that the
 864	loop only executes once and we only see the last branch.
 865	* sanity.sh (multibranch): Test "cvs log" too; tests for above fix.
 866
 867Mon Sep 23 09:55:22 1996  Norbert Kiesel  <nk@col.sw-ley.de>
 868
 869	* options.h.in: Fixed some typos in the comments and reindented
 870 	them.
 871
 872Sat Sep 21 02:33:26 1996  Jim Blandy  <jimb@totoro.cyclic.com>
 873
 874	* sanity.sh: If we're testing remote CVS, make sure rsh itself is
 875	working before running any tests.  It's confusing when basica-1
 876	fails just because you don't have the local host in your .rhosts
 877	file.
 878
 879	* version.c (version_string): Bump to 1.8.85.
 880
 881Thu Sep 19 09:15:41 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 882
 883	* options.h.in: Define SERVER_FLOWCONTROL, SERVER_HI_WATER,
 884	SERVER_LO_WATER.  Several large sites (FreeBSD, Cygnus) have been
 885	pounding on this code without problems, and it doesn't seem to
 886	have any significant downsides.
 887
 888Tue Sep 17 01:13:41 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 889
 890	* status.c (status_fileproc): Instead of a default case, set sstat
 891	before the switch.  This way gcc -Wall can detect a missed case.
 892	Add explicit T_TITLE case.
 893
 894Tue Sep 17 00:09:44 1996  Assar Westerlund  <assar@pdc.kth.se>
 895
 896	* login.c (login): Print usage if argc < 0.
 897
 898Tue Sep 17 00:09:44 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 899
 900	* lock.c: In comment, mention one more function of readlocks
 901	(fileattr not updated atomically).  Note similarity between
 902	solutions #2 and #5.
 903
 904	* checkout.c (safe_location): Do not reject a location merely
 905	because it textually starts with hardpath; insist that it be
 906	hardpath or a subdirectory thereof.
 907
 908Mon Sep 16 11:46:36 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 909
 910	* server.c (server_cleanup): Add comment about ignoring errors
 911	from unlink_file_dir.
 912
 913Mon Sep 16 10:31:48 1996  Norbert Kiesel  <nk@col.sw-ley.de>
 914
 915	* main.c: Add support for -T <tmpdir> command line option.  This
 916 	is needed for servers started via inetd.
 917	(usg): Added line for -T.  Improved -z documentation.
 918	(main): Read default for tmpdir from the environment. Test for 'T'
 919	in getopt loop.  Use '/tmp' as ultimative fallback.  Update
 920	environment if possible.
 921
 922	* cvs.h (TMPDIR_ENV): Added for -T <tmpdir> command line option.
 923
 924	* options.h.in: Add TMPDIR_DFLT
 925
 926	* import.c (update_rcs_file): Use global variable Tmpdir instead
 927 	of reading the environment.
 928
 929	* server.c (server_cleanup): Use global variable Tmpdir instead of
 930 	reading the environment.  Also, replace system("rm -rf") with
 931 	unlink_file_dir.
 932	(server): Use global variable Tmpdir instead of reading the
 933 	environment.
 934
 935Thu Sep 12 1996  Jim Kingdon  <kingdon@cyclic.com>
 936
 937	* main.c (main): If ARGV0_NOT_PROGRAM_NAME, then just set
 938	program_name to "cvs" rather than argv[0].
 939
 940Thu Sep 12 12:06:56 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 941
 942	* client.c (update_entries): If we can't write the file, don't
 943	make it a fatal error.
 944
 945Wed Sep 11 12:46:23 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 946
 947	* client.c (start_server): Move START_SERVER_RETURNS_SOCKET code
 948	so that it is only run for server_method.  It is wrong for
 949	pserver_method (in which connect_to_pserver sets server_sock).
 950
 951	* login.c (construct_cvspass_filename): If NO_SLASH_AFTER_HOME,
 952	don't put a '/' between $HOME and .cvspass.  Reindent function.
 953	* build_src.com: Add zlib.c, login.c, and scramble.c.
 954
 955	* rcs.c (RCS_deltas): When looking for our branch in ->branches,
 956	check the branch number.
 957	* sanity.sh (multibranch): New tests test for above fix.
 958
 959	* commit.c (precommit_list_proc): Fix typo in last change
 960	(->status to ->type).
 961
 962Tue Sep 10 23:05:41 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 963
 964	* Makefile.in (DISTFILES): Add build_src.com.
 965	* build_src.com: Add buffer.c, buffer.obj, and zlib.olb.
 966
 967Tue Sep 10 20:35:23 1996  Juergen Renz  <renz@conware.de>
 968			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
 969
 970	* commit.c (precommit_list_proc): Update to reflect Jul 22 change
 971	in which p->data was changed from a Ctype to a struct
 972	logfile_info *.  This means that commitinfo scripts again get
 973	passed the file	list like they should.
 974
 975Tue Sep 10 20:35:23 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 976
 977	* client.c (auth_server_port_number): Change name of service from
 978	"cvs" to "cvspserver".  The latter is what the manual has always
 979	recommended, and it is also officially registered with IANA.
 980
 981Tue Sep 10 11:12:42 1996  Mark A. Solinski <markso@mcs.com>
 982			  and Jim Kingdon  <kingdon@harvey.cyclic.com>
 983
 984	* client.c (socket_buffer_output): Change ifdef VMS to ifdef
 985	SEND_NEVER_PARTIAL. 
 986	(start_server): Change ifdef VMS to ifdef START_SERVER_RETURNS_SOCKET.
 987
 988Tue Sep 10 17:15:21 1996  Jim Blandy  <jimb@totoro.cyclic.com>
 989
 990	* client.c (auth_server_port_number): Look up "cvs" in the
 991 	services database, and use the value it returns; fall back to
 992	CVS_AUTH_PORT if no entry is present.
 993	(connect_to_pserver): Use the correct port number in any error
 994	messages.
 995
 996Tue Sep 10 11:12:42 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
 997
 998	* sanity.sh (newb): New test newb-123j0 tests for another "cvs
 999	status" case.
1000
1001Sun Sep  8 15:20:37 1996  Ian Lance Taylor  <ian@cygnus.com>
1002
1003	* rcs.c (RCS_checkout): Clarify handling of options parameter.
1004
1005	* rcs.c (RCS_checkout): Free buffer allocated by RCS_deltas.
1006
1007Sat Sep  7 21:28:27 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1008
1009	* main.c (struct cmd): Add comment concerning recognizing unique
1010	abbreviations.
1011
1012Fri Sep  6 22:31:52 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1013
1014	* rcs.c (RCS_checkout): Fix indentation.
1015
1016Fri Sep  6 11:48:08 1996  Ian Lance Taylor  <ian@cygnus.com>
1017
1018	* rcs.c (RCS_checkout): Replace tag parameter with rev and nametag
1019	parameters.  Change all callers.
1020	* rcs.h (RCS_checkout): Update declaration.
1021
1022	* rcs.c (RCS_getversion): Replace return_both parameter with
1023	simple_tag.  Change all callers.
1024	(RCS_gettag): Likewise.
1025	* rcs.h (RCS_getversion, RCS_gettag): Update declarations.
1026	* vers_ts.c (Version_TS): Simplify vn_tag initialization using new
1027	simple_tag rather than old return_both.
1028	* cvs.h (struct vers_ts): Clarify vn_tag comment a bit.
1029
1030	* main.c (usg): Only mention -x if ENCRYPTION is defined.
1031	(main): Mention ENCRYPTION define in comment for -x.
1032	* client.h (krb_encrypt_buffer_initialize): Only declare if
1033	ENCRYPTION is defined.
1034	* client.c (start_server): Only encrypt if ENCRYPTION is defined.
1035	* server.c (serve_kerberos_encrypt): Only define if ENCRYPTION is
1036	defined.
1037	(requests): Only include Kerberos-encrypt is ENCRYPTION is
1038	defined.
1039	(krb_encrypt_*): Only define if ENCRYPTION is defined.
1040
1041Thu Sep  5 17:32:39 1996  Ian Lance Taylor  <ian@cygnus.com>
1042
1043	* sanity.sh: When testing remote, use :ext: instead of :server: to
1044 	match change made earlier today.
1045
1046Thu Sep  5 13:57:47 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1047
1048	* client.c (start_tcp_server): Don't allow :kserver: to mean
1049	"direct tcp" (root.c already takes care of this, but I want to
1050	make it clear what is intended, and not intended, here).
1051	(start_server): Handle ext_method (external rsh program) and
1052	server_method (internal rsh client) separately.
1053	* client.c: Take rsh_pid and start_rsh_server out of
1054	RSH_NOT_TRANSPARENT ifdefs.  It is useful for things like SSH on NT.
1055	* cvs.h (CVSmethod), root.c (method_names): Add ext_method.
1056	* root.c (parse_cvsroot): Recognize "ext" access method.
1057	If access method is not specified and CVSROOT contains a colon,
1058	use either ext_method or server_method depending on
1059	RSH_NOT_TRANSPARENT.
1060
1061Thu Sep  5 00:09:49 1996  Ian Lance Taylor  <ian@cygnus.com>
1062
1063	* rcs.c (RCS_checkout): Remove flags parameter, which was not
1064	serving any useful purpose.  Change all callers.
1065	* rcscmds.c (RCS_exec_checkout): Likewise.
1066
1067	* rcscmds.c (RCS_exec_checkout): Rename from RCS_checkout.  Change
1068	all callers.
1069	* rcs.c (RCS_checkout): Rename from RCS_fast_checkout.  Change all
1070	callers.
1071
1072Wed Sep  4 14:42:28 1996  Ian Lance Taylor  <ian@cygnus.com>
1073
1074	* rcs.c (RCS_fast_checkout): If tracing, output a message.  If
1075	noexec, and workfile is not NULL, just return immediately.  Assert
1076	that sout is RUN_TTY or workfile is NULL, rather than using it as
1077	a conditional.  Replace found variable with two variables--gothead
1078	and keywords--reflecting what it actually means.
1079
1080	* rcs.c (RCS_fast_checkout): Don't handle the case of workfile set
1081	to "".
1082	* rcscmds.c (RCS_checkout): Likewise.
1083	* checkin.c (Checkin): Pass explicit file name, not "", to
1084	RCS_fast_checkout.
1085	* update.c (join_file): Likewise.
1086	* commit.c (remove_file): Pass explicit file name to
1087	RCS_fast_checkout and RCS_checkin.
1088
1089	* rcs.c (RCS_reparsercsfile): Always continue after seeing
1090	RCSSYMBOLS, even if the value is NULL.  Clear the NODELTA flag
1091	after setting delta_pos.
1092	(free_rcsnode_contents): New static function.
1093	(freercsnode): Call free_rcsnode_contents.
1094	(RCS_fast_checkout): If NODELTA is set, reparse the RCS file.
1095	(RCS_settag): New function.  Change all callers to old function.
1096	(RCS_deltag, RCS_setbranch): Likewise.
1097	(RCS_lock, RCS_unlock): Likewise.
1098	(RCS_deltas): If NODELTA is set, reparse the RCS file.
1099	* rcs.h (NODELTA): Define.
1100	(RCS_settag, RCS_deltag, RCS_setbranch): Declare.
1101	(RCS_lock, RCS_unlock): Declare.
1102	* rcscmds.c (RCS_exec_settag): Rename from RCS_settag.  Don't
1103	check tag against BASE or HEAD (now done in new RCS_settag).
1104	(RCS_exec_deltag): Rename from RCS_deltag.
1105	(RCS_exec_setbranch): Rename from RCS_setbranch.
1106	(RCS_exec_lock): Rename from RCS_lock.
1107	(RCS_exec_unlock): Rename from RCS_unlock.
1108	* cvs.h: Update declarations of renamed functions.
1109	* checkin.c (Checkin): Remove rcscopy variable (no longer needed
1110	because of change in RCS_unlock call).
1111	* commit.c: Include <assert.h>.
1112	(remove_file): Update RCSNode path if the file is renamed.
1113	(unblockrcs): Change rcs parameter to RCSNode.  Change all
1114	callers.
1115	(fixbranch): Likewise.
1116	(lock_RCS): Likewise.  Don't call RCS_parsercsfile.
1117	(checkaddfile): Update RCSNode path if the file is renamed.  After
1118	creating a new file, call RCS_parse.  When stubbing a branch, use
1119	the passed in RCSNode if there is one, rather than calling
1120	RCS_Parse.  Don't call RCS_Parse again after calling RCS_settag.
1121	Free head and magicrev even if RCS_settag fails.
1122	* import.c (add_rev): Change rcs parameter to RCSNode.  Change all
1123	callers.
1124	(add_tag): Likewise.
1125
1126	* rcs.c (RCS_fast_checkout): Amend last patch: if workfile is
1127	NULL, but sout is not NULL, use sout in error message.
1128
1129Wed Sep  4 13:35:09 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1130
1131	* version.c: Increment version number to 1.8.8.
1132
1133	* Version 1.8.7.
1134
1135Wed Sep  4 1996  Jim Kingdon  <kingdon@cyclic.com>
1136
1137	* client.c (send_file_names): Look for the name to send in
1138	Entries even if the file doesn't exist; we should send the
1139	name as it appears in Entries in the "rm foo; cvs update FOO"
1140	case.
1141
1142Tue Sep  3 20:50:11 1996  William A. Hoffman  <hoffman@albirio.crd.ge.com>
1143
1144	* rcs.c (RCS_fast_checkout): If workfile is NULL, don't try to
1145	include it in error message.
1146
1147Mon Aug 26 12:27:38 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1148
1149	* mkmodules.c (mkdir_if_needed): Move from here ...
1150	* filesubr.c, cvs.h (mkdir_if_needed): ... to here.  Have it
1151	return a value saying whether the directory was created.
1152	* client.c (call_in_directory), edit.c (edit_fileproc): Call it.
1153
1154Fri Aug 23 19:19:44 1996  Ian Lance Taylor  <ian@cygnus.com>
1155
1156	* checkin.c (Checkin): Copy rcs parameter in case it is freed when
1157	finfo->rcs is freed.
1158
1159Fri Aug 23 14:55:41 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1160
1161	* remove.c (remove_fileproc): Revert change of 23 Aug to print
1162	getwd and finfo->file in message.  The latter is redundant with
1163	fullname and the former is redundant with fullname and the working
1164	directory when CVS was invoked.  The implementation was also
1165	lacking as the getwd call could overflow the buffer.
1166
1167Fri Aug 23 18:40:35 1996  Norbert Kiesel  <nk@col.sw-ley.de>
1168
1169	* remove.c (cvsremove): fix remove -f for client/server
1170
1171Fri Aug 23 11:28:27 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1172
1173	* wrapper.c, cvs.h: Remove conflictHook field of WrapperEntry,
1174	WRAP_CONFLICT in WrapMergeHas, and 'c' option in wrap_add; they
1175	are never used.
1176
1177Fri Aug 23 11:41:46 1996  Norbert Kiesel  <nk@col.sw-ley.de>
1178
1179	* server.c (switch_to_user): use #ifdef SETXID_SUPPORT instead of
1180 	#if SETXID_SUPPORT
1181
1182Thu Aug 22 14:18:43 1996  Ian Lance Taylor  <ian@cygnus.com>
1183
1184	* checkin.c (Checkin): Remove local variable xfinfo.  Reparse the
1185	RCS file after the checkin.  Call RCS_fast_checkout rather than
1186	RCS_checkout.
1187
1188	* cvs.h (RCS_FLAGS_LOCK): Don't define.
1189	(RCS_FLAGS_*): Adjust values to fill in hole left by removal of
1190	RCS_FLAGS_LOCK.
1191	* rcs.c (RCS_fast_checkout): Don't check for RCS_FLAGS_LOCK.
1192	* rcscmds.c (RCS_checkout): Likewise.
1193	* commit.c (commit_fileproc): Remove rcs local variable.  If
1194	status is T_MODIFIED, require that finfo->rcs be set, call
1195	Lock_RCS directly, and don't call locate_rcs.  If adding to a tag,
1196	require that finfo->rcs be set, and don't call locate_rcs.
1197	(remove_file): Remove rcs local variable.  Require that finfo->rcs
1198	be set.  Don't call locate_rcs.  Don't pass RCS_FLAGS_LOCK to
1199	RCS_checkout; use RCS_lock instead.  Call RCS_fast_checkout rather
1200	than RCS_checkout.
1201	(unlockrcs): Use a single rcs parameter rather than two parameters
1202	for file and repository.  Change all callers.  Don't call
1203	locate_rcs.
1204	(fixbranch): Likewise.
1205	(lockrcsfile): Remove; no more callers.
1206
1207Tue Aug 20 10:13:59 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
1208
1209	* buffer.c, rcs.c: Don't use inline.  It wasn't being used in a
1210	loop or any such place where it would matter for performance, and
1211	it was a (minor) portability hassle.
1212
1213	* server.c (server): Change "Dummy argument 0" to "cvs server" and
1214	add comment explaining why.
1215
1216	* rcs.c (linevector_add): Add comment regarding changing \n to \0.
1217
1218Tue Aug 20 09:19:19 1996  Norbert Kiesel  <nk@col.sw-ley.de>
1219
1220	* checkout.c (checkout_proc): Call RCS_parse to get the default
1221 	options from the RCS file.
1222
1223	* sanity.sh (binfiles): Add tests 5.5b0 and 5.5b1 for the above fix
1224
1225Mon Aug 19 18:13:32 1996  Ian Lance Taylor  <ian@cygnus.com>
1226
1227	* rcs.c (linevector_init): Make inline.  Set lines_alloced to 0,
1228	not 10.  Set vector to NULL.
1229	(linevector_add): Remove assertion that lines_alloced is greater
1230	than zero…

Large files files are truncated, but you can click here to view the full file