PageRenderTime 90ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/contrib/cvs/src/ChangeLog-9395

https://bitbucket.org/freebsd/freebsd-head/
#! | 3731 lines | 2660 code | 1071 blank | 0 comment | 0 complexity | b75edd92454eccb4c8e7dd88b28d1bcf MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
  1. Note: this log overlaps in time with ChangeLog-9194. There was a time
  2. during which changes which had been merged into the official CVS
  3. (which produced releases such as 1.4A1 and 1.4A2) went into what has
  4. become ChangeLog-9194, and changes which existed only at Cygnus went
  5. into this file (ChangeLog-9395). Eventually the Cygnus release became
  6. Cyclic CVS (as it was then called), which became CVS 1.5, so probably
  7. all the changes in both (what are now) ChangeLog-9194 and
  8. ChangeLog-9395 made it into 1.5.
  9. Sun Dec 31 17:33:47 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  10. * import.c (add_rev): Revert portion of 31 Aug 95 change which
  11. passes -u to ci instead of using a hard link.
  12. * sanity.sh (import): Add test for above-fixed bug.
  13. Sun Dec 31 16:40:41 1995 Peter Chubb <peterc@bookworm.sw.oz.au>
  14. and Jim Kingdon <kingdon@cyclic.com>
  15. * admin.c (admin_fileproc): Call freevers_ts before returning.
  16. Mon Dec 25 12:20:06 1995 Peter Wemm <peter@haywire.DIALix.COM>
  17. * logmsg.c (rcsinfo_proc): initialise line and
  18. line_chars_allocated so they dont cause malloc problems within
  19. getline(). This was causing rcsinfo templates to not work.
  20. Sun Dec 24 01:38:36 1995 Karl Fogel <kfogel@floss.cyclic.com>
  21. * server.c (authenticate_connection): clarify protocol.
  22. * login.c (login): deprolixify the password prompt.
  23. Sat Dec 23 10:46:41 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  24. * myndbm.h, myndbm.c (dbm_store): New function.
  25. * myndbm.h (DBM): Add modified and filename fields.
  26. * myndbm.c (dbm_open, dbm_close): Manipulate new fields. dbm_open
  27. no longer fails if the file doesn't exist and O_CREAT is set.
  28. * cvs.h (CVSROOTADM_VALTAGS): Added.
  29. * tag.c, cvs.h (tag_check_valid): New function.
  30. * update.c (update), checkout.c (checkout_proc), commit.c (commit),
  31. diff.c (diff), patch.c (patch_proc), rtag.c (rtag_proc), tag.c (tag):
  32. Call it.
  33. * sanity.sh: Test for rejection of invalid tagname.
  34. Fri Dec 22 18:21:39 1995 Karl Fogel <kfogel@csxt.cs.oberlin.edu>
  35. * client.c (start_server): don't use kerberos if authenticating
  36. server was specified.
  37. Fri Dec 22 16:35:57 1995 Karl Fogel <kfogel@csxt.cs.oberlin.edu>
  38. * login.c (login): deal with new scramble methods.
  39. (get_cvs_password): same.
  40. * server.c (check_repository_password): remove arbitrary limit on
  41. line length.
  42. (authenticate_connection): use a separate variable for the
  43. descrambled password, now that we no longer scramble in place.
  44. Set `error_use_protocol' to 1 and just use error() where used to
  45. do its job inline.
  46. * cvs.h (scramble, descramble): adjust prototype.
  47. * scramble.c (scramble, descramble): return char *.
  48. Fri Dec 22 13:00:00 1995 Jim Kingdon <kingdon@peary.cyclic.com>
  49. * release.c (release): If SERVER_SUPPORT is not defined, still
  50. set up arg_start_idx.
  51. * release.c (release): When calling unedit, set argv[1] to
  52. NULL (since argc is only 1).
  53. * edit.c: Pass dosrcs 0 to all calls to start_recursion.
  54. None of the fileprocs were using it, so it just slowed things
  55. down and caused potentially harmful checks for rcs files.
  56. * edit.c (send_notifications): In client case, do not readlock.
  57. Thu Dec 21 16:00:00 1995 Jim Kingdon <kingdon@peary.cyclic.com>
  58. Clean up Visual C++ lint:
  59. * client.c (read_line): Change input_index and result_size to size_t.
  60. (update_entries): Remove unused variables buf2, size_left, size_read.
  61. (handle_mode): Prototype.
  62. * client.c, client.h (send_to_server, read_from_server): Change
  63. len to size_t.
  64. * client.c (send_to_server): Change wrtn to size_t.
  65. (read_from_server): Change red to size_t.
  66. * client.c, myndbm.c, edit.c, fileattr.c: Include getline.h.
  67. * checkin.c, commit.c, update.c: Include fileattr.h.
  68. * commit.c, update.c: Include edit.h.
  69. * edit.c (onoff_filesdoneproc): Prototype.
  70. (ncheck_fileproc,edit_fileproc): Change "return" to "return 0".
  71. (notify_do): Cast a signed value to unsigned before comparing
  72. with unsigned value.
  73. Thu Dec 21 15:24:37 1995 Karl Fogel <kfogel@occs.cs.oberlin.edu>
  74. * client.c: don't include socket headers twice just because
  75. both HAVE_KERBEROS and AUTH_CLIENT_SUPPORT are set.
  76. (start_kerberos_server): if fail to connect to kerberos, print out
  77. a more specific error message, mainly so pcl-cvs can know what
  78. happened and not panic.
  79. (start_server): don't assume sprintf() returns len
  80. written (only some systems provide this); instead, have
  81. send_to_server() calculate the length itself.
  82. (send_modified): same.
  83. (send_fileproc): same.
  84. (send_file_names): same.
  85. Wed Dec 20 14:00:28 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  86. * update.c (ignore_files): Move from here...
  87. * ignore.c (ignore_files): ...to here. No longer static. Take
  88. new argument PROC.
  89. * cvs.h (ignore_files): Declare.
  90. * client.c (send_filesdoneproc): Split off from
  91. update_filesdone_proc. Pass new function send_ignproc to
  92. ignore_files (to ask server about ignored file before printing
  93. "?").
  94. * server.c: Rename outbuf from but_to_net and take it from
  95. do_cvs_command to a global. Move initialization accordingly.
  96. (serve_questionable): New function.
  97. (requests): Add it.
  98. * update.c (update_filesdone_proc): Remove client stuff. Pass new
  99. function update_ignproc to ignore_files.
  100. * cvs.h (joining, do_update): Move declarations from here...
  101. * update.h: ...to here.
  102. * cvs.h: Include update.h.
  103. * update.c, client.c: Don't include update.h
  104. * ignore.c, cvs.h: New variable ign_inhibit_server, set on -I !.
  105. * import.c (import): Pass -I ! to server if specified.
  106. (import_descend): If server, ignore CVS directories even if -I !.
  107. * update.c (update), import.c (import): Only call ign_setup before
  108. argument processing; don't call it again afterwards in client case.
  109. * sanity.sh (ignore): Test above-fixed bugs and other ignore behaviors.
  110. (dotest): New function.
  111. Move modules checkin from modules test to start, so that other
  112. tests can use mkmodules without a warning message.
  113. Wed Dec 20 13:06:17 1995 Karl Fogel <kfogel@floss.cyclic.com>
  114. * client.c (send_to_server): don't check string's length twice.
  115. Wed Dec 20 02:05:19 1995 Karl Fogel <kfogel@floss.cyclic.com>
  116. * login.c (login): took out debugging printf's.
  117. (login): Removed unused variable `p'.
  118. Wed Dec 20 00:27:36 1995 Karl Fogel <kfogel@floss.cyclic.com>
  119. * login.c (login): prefix scrambled password with 'A', so we know
  120. which version of scrambling was used. This may be useful in the
  121. future.
  122. (get_cvs_password): skip past the leading 'A'.
  123. Scramble $CVS_PASSWORD before returning it.
  124. * scramble.c: made this work.
  125. Tue Dec 19 17:45:11 1995 Karl Fogel <kfogel@floss.cyclic.com>
  126. * login.c (cvs_password): new static var, init to NULL.
  127. (login): scramble() the password before using it.
  128. Verify the password with the server.
  129. Check CVSroot more carefully to insure that it is
  130. "fully-qualified".
  131. (get_cvs_password): if cvs_password is not NULL, just return it.
  132. Never prompt -- just tell user why failed, then exit.
  133. Try CVS_PASSWORD environment variable first.
  134. (construct_cvspass_filename): try CVS_PASSFILE environment
  135. variable first.
  136. * client.h (connect_to_pserver): update prototype.
  137. * client.c (cvsroot_parsed): new static var.
  138. (parse_cvsroot): set `cvsroot_parsed' to 1 when done.
  139. (connect_to_pserver): return int.
  140. Take `verify_only' arg. If it is non-zero, perform password
  141. verification with the server and then shut down the connection and
  142. return.
  143. Call parse_cvsroot() before doing anything.
  144. * server.c (authenticate_connection): deal with verification
  145. requests as well as authorization requests.
  146. descramble() the password before hashing it.
  147. * cvs.h: prototype scramble() and descramble().
  148. * Makefile.in: build scramble.o.
  149. * scramble.c: new file, provides trivial encoding but NOT real
  150. encryption.
  151. Mon Dec 18 20:57:58 1995 Karl Fogel <kfogel@floss.cyclic.com>
  152. * login.c (login): don't insert extra newlines. They were
  153. harmless, but confusing.
  154. Mon Dec 18 15:32:32 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  155. * hash.c, hash.h (findnode_fn): New function.
  156. * hash.c (hashp): Tweak hash function so that findnode_fn works.
  157. * update.c (ignore_files): Call findnode_fn, not findnode.
  158. Mon Dec 18 09:34:56 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  159. * myndbm.c: Remove arbitrary limit.
  160. * client.c: Fix comment--Windows 95 requires NO_SOCKET_TO_FD, not
  161. Windows NT.
  162. Mon Dec 18 01:06:20 1995 Karl Fogel <kfogel@floss.cyclic.com>
  163. * client.c (server_sock): replaces `server_socket'.
  164. (start_kerberos_server): added FIXME comment about how
  165. NO_SOCKET_TO_FD is not dealt with in the kerberos case.
  166. (connect_to_pserver): deal with NO_SOCKET_TO_FD case.
  167. (read_line): deal with NO_SOCKET_TO_FD case.
  168. (read_from_server): deal with NO_SOCKET_TO_FD case.
  169. (send_to_server): deal with NO_SOCKET_TO_FD case.
  170. (get_responses_and_close): deal with NO_SOCKET_TO_FD case.
  171. * client.c (send_to_server): error check logging.
  172. (start_server): error check opening of logfiles.
  173. (read_from_server): error check logging.
  174. (read_line): use fwrite() to log, & error_check it.
  175. Don't log if using socket style, because read_from_server()
  176. already logged for us.
  177. Mon Dec 18 00:52:26 1995 Karl Fogel <kfogel@floss.cyclic.com>
  178. * client.c (use_socket_style): new static var, init to 0.
  179. (server_socket): new static var.
  180. (connect_to_pserver): don't deal with logging here.
  181. Caller changed.
  182. (start_kerberos_server): don't deal with logging here either.
  183. Caller changed.
  184. Mon Dec 18 00:40:46 1995 Karl Fogel <kfogel@floss.cyclic.com>
  185. * client.c (send_modified): don't error-check `to_server';
  186. send_to_server() does that now.
  187. Mon Dec 18 00:19:16 1995 Karl Fogel <kfogel@floss.cyclic.com>
  188. * login.c (get_cvs_password): Init `linebuf' to NULL.
  189. free() `linebuf' and reset it for each new line.
  190. (login): same as above.
  191. * client.c: Removed all the varargs prototyping gunk.
  192. (to_server, from_server): make these static.
  193. (from_server_logfile, to_server_logfile): new vars.
  194. (start_server): init above two new vars to NULL.
  195. (send_to_server): return void.
  196. Correct bug in which amount to be written would be too high if the
  197. loop ever ran more than once.
  198. Log to `to_server_logfile' if it's non-NULL.
  199. (read_from_server): new func, does raw reading from server.
  200. Logs to `from_server_logfile' if it's non-NULL.
  201. (update_entries): just use read_from_server() instead of looping
  202. to fread() directly from `from_server'.
  203. (read_line): Log to `from_server_logfile' if it's non-NULL.
  204. * client.h: send_to_server() returns void now.
  205. (read_from_server): prototype.
  206. Sun Dec 17 19:38:03 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  207. * checkout.c (checkout_proc), client.c, lock.c (readers_exist),
  208. login.c, modules.c (cat_module, do_module): Remove arbitrary limits.
  209. * client.c (send_to_server): Fix typo (NULL -> '\0').
  210. (get_responses_and_close): Set server_started to 0 instead of
  211. setting to_server and from_server to NULL.
  212. * client.c: Make to_server and from_server static.
  213. Sun Dec 17 17:59:04 1995 Karl Fogel <kfogel@floss.cyclic.com>
  214. * client.h (to_server, from_server): don't declare these anymore.
  215. They are now entirely private to client.c (and in fact will go
  216. away soon there too).
  217. Sun Dec 17 15:40:58 1995 Karl Fogel <kfogel@floss.cyclic.com>
  218. * client.h: update prototype of send_to_server().
  219. * client.c, watch.c, update.c, tag.c, status.c, rtag.c, remove.c,
  220. release.c, patch.c, log.c, import.c, history.c, edit.c, diff.c,
  221. commit.c, client.c, checkout.c, admin.c, add.c:
  222. Convert all send_to_server() calls that used formatting to send
  223. pre-formatted strings instead. And don't error check
  224. send_to_server(), because it does its own error checking now.
  225. * client.c (send_to_server): don't use vasprintf(), just fwrite a
  226. certain number of bytes to the server. And do error checking
  227. here, so our callers don't have to.
  228. (send_arg): use send_to_server() instead of putc()'ing
  229. directly to `to_server'.
  230. Sun Dec 17 14:37:52 1995 Karl Fogel <kfogel@floss.cyclic.com>
  231. * options.h.in (AUTH_CLIENT_SUPPORT, AUTH_SERVER_SUPPORT):
  232. Define to 1 but leave commented out, instead of #undef'ing them.
  233. This treats them like everything else in this file.
  234. * client.c: define server_started, init to 0.
  235. (start_server): set server_started to 1.
  236. * client.h: declare `server_started', extern.
  237. AUTH_CLIENT_SUPPORT moved here from cvs.h.
  238. * cvs.h: moved AUTH_CLIENT_SUPPORT stuff to client.h.
  239. * edit.c (notify_check): use new var server_started.
  240. Sun Dec 17 00:44:17 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  241. * client.c (get_responses_and_close): Really stop ignoring ECHILD
  242. errors. The Nov 30 1995 change claimed to do this, but the code
  243. was not actually changed.
  244. * update.c (ignore_files): Revert H.J. Lu change; it was wrong for
  245. directories and sometimes looked at sb.st_mode when it wasn't set.
  246. * import.c (import_descend): Revert H.J. Lu change; it was wrong
  247. for directories and the extra lstat call was an unnecessary
  248. performance hit.
  249. * sanity.sh (import): Add test for the second of these two bugs.
  250. Sat Dec 16 17:26:08 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  251. * client.c (send_to_server): Remove arbitrary limit. Also remove
  252. !HAVE_VPRINTF code; all relevant systems have vprintf these days.
  253. Sat Dec 16 21:35:31 1995 Karl Fogel <kfogel@floss.cyclic.com>
  254. * checkout.c (checkout): use send_to_server() now.
  255. Sat Dec 16 21:18:16 1995 H.J. Lu (hjl@gnu.ai.mit.edu)
  256. (applied by kfogel@cyclic.com)
  257. * import.c (import_descend): We ignore an entry if it is
  258. 1. not a file, nor a link, nor a directory, or
  259. 2. a file and on the ignore list.
  260. * update.c (ignore_files): We ignore any thing which is
  261. 1. not a file, or
  262. 2. it is a file on the ignore list.
  263. Sat Dec 16 00:14:19 1995 Karl Fogel <kfogel@floss.cyclic.com>
  264. * client.c (send_to_server): corrected comment.
  265. * client.h: prototype new func send_to_server().
  266. * add.c, admin.c, client.c, commit.c, diff.c, edit.c, history.c,
  267. import.c, log.c, patch.c, release.c, remove.c, rtag.c, status.c,
  268. tag.c, update.c, watch.c:
  269. Use send_to_server() instead of writing directly to to_server.
  270. * client.c: conditionally include the right stuff for variable arg
  271. lists.
  272. (send_to_server): new func.
  273. Fri Dec 15 23:10:22 1995 Karl Fogel <kfogel@floss.cyclic.com>
  274. * error.c: expanded comments.
  275. * client.c (connect_to_pserver): verbosify errors.
  276. (connect_to_pserver): use send() and recv(), not write() and
  277. read(). Sockets are not file descriptors on all systems.
  278. Fri Dec 15 22:36:05 1995 Karl Fogel <kfogel@floss.cyclic.com>
  279. * client.c (connect_to_pserver): oops, removed old debugging
  280. printf.
  281. Fri Dec 15 18:21:16 1995 Karl Fogel (kfogel@floss.cyclic.com)
  282. * client.c (auth_server_port_number): don't call htons();
  283. init_sockaddr() does that for us.
  284. (init_sockaddr): zero the sockadder_in struct before doing
  285. anything with it. IBM TCP/IP docs recommend this, and it can't
  286. hurt.
  287. Fri Dec 15 15:21:53 1995 Karl Fogel <kfogel@floss.cyclic.com>
  288. * client.c (connect_to_pserver): new var `port_number', initialize
  289. with new func auth_server_port_number() and pass to
  290. init_sockaddr().
  291. (auth_server_port_number): new func. Right now it just returns
  292. `htons (CVS_AUTH_PORT)'. We'll probably add the ability to
  293. specify the port at run time soon, anyway, so having this function
  294. will make that easier.
  295. Wed Dec 6 18:08:40 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  296. * cvs.h: Add CVSREP.
  297. * find_names.c (find_dirs): Skip CVSREP too.
  298. * fileattr.h, fileattr.c: New files, to manipulate file attributes.
  299. * hash.c (nodetypestring), hash.h (enum ntype): Add FILEATTR.
  300. * hash.c, hash.h (list_isempty): New function.
  301. * recurse.c (do_recursion): Call fileattr_startdir before
  302. processing files in a directory and fileattr_write and
  303. fileattr_free (after files, before recursing).
  304. * watch.c, watch.h: New files, to handle notification features.
  305. * edit.c, edit.h: New file, to handle new read-only checkout features.
  306. * client.c, server.c: Add "Mode" request, to change the mode of a file
  307. when it is checked in.
  308. * main.c (cmds): Add "watch", "edit", "unedit", "watchers", "editors".
  309. * main.c: Split command help from usg into new variable cmd_usage,
  310. which.
  311. (main): Add --help-commands option to print out cmd_usage.
  312. * cvs.h: Declare watch, edit, unedit, watchers, editors.
  313. * client.c, client.h: Add client_watch, client_edit, client_unedit,
  314. client_watchers, client_editors.
  315. * client.c, server.c: Add notification stuff.
  316. * update.c (checkout_file, patch_file), checkin.c (Checkin): Check
  317. _watched attribute when deciding read-only or read-write.
  318. * commit.c (checkaddfile): Call fileattr_newfile to set attributes
  319. on newly created files.
  320. * release.c (release):
  321. * cvs.h: Add CVSADM_NOTIFY and CVSADM_NOTIFYBAK.
  322. * recurse.c (do_recursion): Call notify_check.
  323. * commit.c (commit_fileproc): Call notify_do after committing file.
  324. * client.c (get_responses_and_close): Set to_server and from_server
  325. to NULL so that it is possible to tell whether we are speaking to
  326. the server.
  327. * cvs.h: Add CVSROOTADM_NOTIFY.
  328. * mkmodules.c (main): Add CVSROOTADM_NOTIFY to filelist.
  329. * Makefile.in (SOURCES,OBJECTS,HEADERS): Add new files mentioned above.
  330. * lock.c, cvs.h (lock_tree_for_write, lock_tree_cleanup): New
  331. functions, taken from old commit.c writelock code. As part of
  332. this, fsortcmp and lock_filesdoneproc go from commit.c to lock.c.
  333. So does locklist but it gets renamed to lock_tree_list.
  334. * commit.c: Use lock_tree_*.
  335. Fri Dec 15 10:37:00 1995 J.T. Conklin <jtc@slave.cygnus.com>
  336. * tag.c (tag_usage): Added -r and -D flags to usage string.
  337. (tag): Detect when user specifies both -r and -D arguments.
  338. Pass -r and -D arguments to server.
  339. Thu Dec 14 11:56:13 1995 Karl Fogel <kfogel@floss.cyclic.com>
  340. * client.c (start_rsh_server): use RSH_NEEDS_BINARY_FLAG to
  341. conditionalize "-b" option to "rsh".
  342. * run.c (filter_stream_through_program): document return value and
  343. error behavior.
  344. * client.c (filter_through_gunzip): pass the supposedly
  345. superfluous "-d" option to gunzip, to avoid stimulating what seems
  346. to be an argument-passing bug in spawn() under OS/2 with IBM
  347. C/C++. Yucko.
  348. Wed Dec 13 20:08:37 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  349. * options.h.in (RCSBIN_DFLT): Recommend specifying -b in
  350. inetd.conf for pserver. That is a pretty good solution.
  351. Wed Dec 13 18:29:59 1995 Preston L. Bannister <pbannister@ca.mdis.com>
  352. and Karl Fogel <kfogel@floss.cyclic.com>
  353. * client.c (send_modified): make sure that vers and vers->options
  354. are non-NULL before strcmp()'ing them with "-kb".
  355. Initialize `bin' near where it is used, not at beginning of
  356. function.
  357. (update_entries): make sure `options' is non-NULL before
  358. strcmp()'ing with "-kb".
  359. Initialize `bin' near where it is used, not at beginning of
  360. function.
  361. Tue Dec 12 18:56:38 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  362. * options.h.in (RCSBIN_DFLT): document the probable need for this
  363. to be set in the authenticating server.
  364. Tue Dec 12 11:56:43 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  365. * server.c (expand_proc): If mfile is non-NULL, return it too as
  366. part of the expansion.
  367. * sanity.sh (modules): Add tests for above-fixed bug.
  368. Mon Dec 11 21:39:07 1995 Karl Fogel <kfogel@floss.cyclic.com>
  369. * dog.c (flea_bath): Take `suds' arg.
  370. All collars changed.
  371. Mon Dec 11 15:58:47 1995 Karl Fogel <kfogel@floss.cyclic.com>
  372. * login.c (login): if client password file doesn't exist, create
  373. it, duh.
  374. * main.c (main): die if CVSroot has access-method but no
  375. username.
  376. * root.c: added some comments.
  377. * main.c: removed all code pertaining to the "-a" option. We
  378. specify access-method in CVSroot now.
  379. * client.c (parse_cvsroot): new var, `access_method'. If CVSroot
  380. is prepended with an access method (i.e.,
  381. ":pserver:user@host:/path"), then handle it.
  382. * login.c (login): use || when checking if CVSroot is "fully
  383. qualified".
  384. Prepend ":pserver:" before writing to ~/.cvspass.
  385. (get_cvs_password): Take no parameters; we'll just use CVSroot to
  386. get the password.
  387. Mon Dec 11 12:43:35 1995 adamg <adamg@microsoft.com>
  388. * error.c, client.c, remove.c, main.c: Add explicit casts for some
  389. function pointers to remove warnings under MS VC.
  390. * main.c (main): remove use of NEED_CALL_SOCKINIT in favor of the
  391. more generic INITIALIZE_SOCKET_SUBSYSTEM. Note that the code assumes
  392. that if INITIALIZE_SOCKET_SUBSYSTEM() returns, socket subsystem
  393. initialization has been successful.
  394. Sat Dec 9 22:01:41 1995 Dan O'Connor <doconnor@tii.com>
  395. * commit.c (check_fileproc): pass RUN_REALLY flag to run_exec,
  396. because it's okay to examine the file with noexec set.
  397. Sat Dec 9 20:28:01 1995 Karl Fogel <kfogel@floss.cyclic.com>
  398. * client.c (update_entries): new var, `bin, init to 0.
  399. Use it in determining whether to convert the file.
  400. (send_modified): same as above.
  401. Fri Dec 8 17:47:39 1995 Karl Fogel <kfogel@floss.cyclic.com>
  402. * server.c (downcase_string): removed.
  403. (check_repository_password): don't deal with case-insensitivity
  404. anymore.
  405. * options.h.in (CVS_PASSWORDS_CASE_SENSITIVE): deleted this. No
  406. need for it anymore.
  407. Thu Dec 7 21:08:39 1995 Karl Fogel <kfogel@floss.cyclic.com>
  408. * server.c (check_repository_password): when checking for false
  409. prefix-matches, look for ':', not '@'. Duh.
  410. Thu Dec 7 18:44:51 1995 Karl Fogel <kfogel@floss.cyclic.com>
  411. * options.h.in (CVS_PASSWORDS_CASE_SENSITIVE): replaces
  412. CVS_PASSWORDS_CASE_INSENSITIVE; passwords are now insensitive by
  413. default. Expanded explanatory comment.
  414. * login.c (get_cvs_password): Use memset(), not bzero(). I
  415. botched this change earlier.
  416. * server.c (check_repository_password): no need to check
  417. xmalloc()'s return value.
  418. (check_repository_password): check for false prefix-matches (for
  419. example, username is "theo" and linebuf contains user
  420. "theocracy").
  421. Thu Dec 7 14:49:16 1995 Jim Meyering (meyering@comco.com)
  422. * filesubr.c (isaccessible): Rename from isaccessable.
  423. Update callers.
  424. * cvs.h: Update prototype.
  425. * main.c (main): Update callers.
  426. * server.c (main): Update callers.
  427. Thu Dec 7 12:50:20 1995 Adam Glass <glass@NetBSD.ORG>
  428. * cvs.h: "isaccessible" is the correct spelling.
  429. Also add "const" to second arg to make prototype match
  430. declaration.
  431. Thu Dec 7 11:06:51 1995 Karl Fogel <kfogel@floss.cyclic.com>
  432. * client.c, login.c: memset() instead of bzero().
  433. Thu Dec 7 00:08:53 1995 Karl Fogel <kfogel@floss.cyclic.com>
  434. * server.c (authenticate_connection): document server's side of
  435. the Authentication Protocol too.
  436. * client.c (connect_to_pserver): when printing out "unrecognized
  437. response", also print out the offending response.
  438. * server.c (check_password): take `repository' arg too now.
  439. Call check_repository_password() before checking /etc/passwd.
  440. (check_repository_password): new func.
  441. * options.h.in (CVS_PASSWORDS_CASE_INSENSITIVE): new define, unset
  442. by default.
  443. Wed Dec 6 18:51:16 1995 Karl Fogel <kfogel@floss.cyclic.com>
  444. * server.c (check_password): If user has a null password, then
  445. return 1 if arg is also null.
  446. Reverse sense of return value. Caller changed.
  447. Wed Dec 6 14:42:57 1995 Karl Fogel <kfogel@floss.cyclic.com>
  448. * server.c (check_password): new func.
  449. (authenticate_connection): call above new func.
  450. * login.c (login): use construct_cvspass_filename().
  451. If CVSroot is not "fully-qualified", then insist the user qualify
  452. it before going on.
  453. (get_cvs_password): fleshed out. Now reads from ~/.cvspass, or
  454. prompts if no appropriate password found.
  455. (construct_cvspass_filename): new func.
  456. * server.c (authenticate_connection): send ACK or NACK to client.
  457. * client.c (connect_to_pserver): check for ACK vs NACK response
  458. from server after sending authorization request.
  459. * login.c (get_cvs_password): new func.
  460. * client.c (connect_to_pserver): use new func get_cvs_password().
  461. Prototype it at top of file. Hmmm.
  462. Wed Dec 6 13:29:22 1995 Karl Fogel <kfogel@floss.cyclic.com>
  463. * server.c: same as below (AUTH_SERVER_SUPPORT).
  464. * main.c: same as below (AUTH_SERVER_SUPPORT where appropriate).
  465. * login.c: same same as below.
  466. * cvs.h: same as below.
  467. * client.c: use AUTH_CLIENT_SUPPORT, not CVS_LOGIN.
  468. * options.h.in (AUTH_CLIENT_SUPPORT, AUTH_SERVER_SUPPORT): these
  469. replace CVS_LOGIN.
  470. Wed Dec 6 00:04:58 1995 Karl Fogel <kfogel@floss.cyclic.com>
  471. * server.c (authenticate_connection): expanded comment.
  472. Tue Dec 5 23:37:39 1995 Karl Fogel <kfogel@floss.cyclic.com>
  473. * client.c (connect_to_pserver): read password from prompt for
  474. now.
  475. * server.c (authenticate_connection): if the password passes
  476. muster, then don't abort.
  477. Tue Dec 5 22:46:37 1995 Karl Fogel <kfogel@floss.cyclic.com>
  478. * subr.c (strip_trailing_newlines): new func.
  479. * client.c (connect_to_pserver): took out print statements.
  480. * server.c (authenticate_connection): removed print statments.
  481. Use new func strip_trailing_newlines() to purify `repository',
  482. `username', and `password'.
  483. Run a primitive password check, just for testing.
  484. * client.c (connect_to_pserver): use CVS_AUTH_PORT.
  485. Take tofdp, fromfdp, and log args. Caller changed.
  486. (get_responses_and_close): either kerberos and CVS_LOGIN might
  487. have one fd for both directions, so adjust #ifdef accordingly.
  488. * cvs.h (CVS_AUTH_PORT): new define, default to 2401.
  489. Prototype strip_trailing_newlines().
  490. Tue Dec 5 16:53:35 1995 Karl Fogel <kfogel@floss.cyclic.com>
  491. * server.c (authenticate_connection): new func.
  492. * client.c (init_sockaddr): func moved here from login.c.
  493. (connect_to_pserver): same as above. Take no args, now.
  494. Include <sys/socket.h>, <netinet/in.h>, <netdb.h>, if CVS_LOGIN.
  495. * cvs.h: Declare use_authenticating_server, as extern int.
  496. Declare connect_to_pserver().
  497. * main.c (main): call authenticate_connection(). Removed testing
  498. code.
  499. Add 'a' to the short-option string in the getopt() call.
  500. * login.c (connect_to_pserver): moved to client.c.
  501. Tue Dec 5 16:01:42 1995 Peter Chubb <peterc@bookworm.sw.oz.au>
  502. (patch applied by Karl Fogel <kfogel@cyclic.com>)
  503. * update.c (join_file): if vers->vn_user is "0", file has been
  504. removed on the current branch, so print an error and return.
  505. Mon Dec 4 14:27:42 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  506. * Version 1.6.3.
  507. Mon Dec 4 16:28:25 1995 Norbert Kiesel <nk@col.sw-ley.de>
  508. * release.c (release): add return (0) as last line
  509. * cvs.h: declare program_path
  510. * main.c define program_path
  511. (main): set program_path
  512. * release.c (release): use program_path for update_cmd
  513. Mon Dec 4 11:22:42 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  514. * Version 1.6.2.
  515. Sun Dec 3 20:02:29 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  516. * rcs.h (struct rcsnode), rcs.c (freercsnode): Add expand field.
  517. * rcs.h (RCSEXPAND): New #define.
  518. * rcs.c (RCS_reparsercsfile): Record keyword expansion in expand
  519. field of struct rcsnode.
  520. * update.c (checkout_file): Set keyword expansion in Entries file
  521. from rcs file if there is nowhere else to set it from.
  522. * client.c (send_modified, update_entries) [LINES_CRLF_TERMINATED]:
  523. If -kb is in effect, don't convert.
  524. * update.c (update_file_proc), commit.c (check_fileproc),
  525. rcscmds.c (RCS_merge): Direct stdout to DEVNULL rather than
  526. passing -s option to grep. This avoids trouble with respect to
  527. finding a grep which support -s and whether we should use the (GNU
  528. grep) -q option if it exists.
  529. * options.h.in: Change "@ggrep_path@" to "grep".
  530. Fri Dec 1 11:53:19 1995 Norbert Kiesel <nk@col.sw-ley.de>
  531. * rcs.c (RCS_gettag): new parameter return_both force return both
  532. tags: the symbolic and the numeric one.
  533. (RCS_getversion): new parameter return_both is forwarded to
  534. RCS_gettag.
  535. * rtag.c, tag.c, commit.c, patch.c, update.c: pass 0 as additional
  536. last parameter to RCS_getversion and RCS_gettag
  537. * rcs.h (RCS_gettag): new parameter return_both.
  538. (RCS_getversion): new parameter return_both.
  539. * cvs.h (struct vers_ts): add vn_tag slot for symbolic tag name
  540. * vers_ts.c (Version_TS): call RCS_getversion with 1 for
  541. return_both and split output into vn_rcs and vn_tag
  542. (freevers_ts): free vn_tag
  543. * update.c (checkout_file): use vn_tag instead of vn_rcs when
  544. calling 'rcs co' to allow rcs expansion of :$Name :
  545. Thu Nov 30 20:44:30 1995 Karl Fogel <kfogel@floss.cyclic.com>
  546. * client.c (get_responses_and_close): undo previous change
  547. regarding waitpid(). The problem has been solved by modifying
  548. os2/waitpid.c instead of its callers.
  549. Thu Nov 30 16:37:10 1995 Karl Fogel <kfogel@floss.cyclic.com>
  550. * client.c: All these changes are for OS/2, which will no longer have
  551. a separate client.c:
  552. (start_kerberos_server): new func, contains code that
  553. used to be in start_server().
  554. (start_server): moved kerberos code to above function, reorganized
  555. the rest. Added authentication clause.
  556. (call_in_directory): test errno against EACCESS, if EACCESS is
  557. defined (this is for OS/2's oddball mkdir).
  558. (change_mode): don't set execute permission on anything if
  559. EXECUTE_PERMISSION_LOSES is defined.
  560. (get_responses_and_close): if START_RSH_WITH_POPEN_RW, then use
  561. pclose() instead of fclose().
  562. If waitpid errors with ECHILD, don't die. This is okay.
  563. (start_rsh_server): alternate definition if
  564. START_RSH_WITH_POPEN_RW.
  565. * main.c: [all these changes conditional on CVS_LOGIN: ]
  566. Don't prototype connect_to_pserver, don't enter it in cmds[]
  567. (actually, it was never in there, I don't know why my previous
  568. change said it was).
  569. (use_authenticating_server): new global var.
  570. (main): if "-a", then set above new var to TRUE.
  571. (usg): document "-a" option.
  572. Wed Nov 29 12:55:10 1995 Karl Fogel <kfogel@floss.cyclic.com>
  573. * main.c: Prototype connect_to_pserver(), and enter it in cmds[].
  574. (main): test some extremely primitive authentication.
  575. * login.c: Include <sys/socket.h>
  576. (connect_to_pserver): new func.
  577. (init_sockaddr): new func.
  578. Mon Nov 20 14:07:41 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  579. * Makefile.in (TAGFILES): Separate out from DISTFILES, for C code.
  580. (TAGS,tags): Use TAGFILES not DISTFILES.
  581. Sun Nov 19 11:22:43 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  582. * recurse.c (do_recursion): Don't call server_pause_check if there
  583. are writelocks around. Revise comment to reflect fact we are no
  584. longer relying on a writelock'd operations being "unable" to
  585. generate enough data to pause.
  586. Sun Nov 19 10:04:50 1995 Peter Wemm <peter@haywire.DIALix.COM>
  587. * server.c, server.h, options.h.in: Implement hooks for doing
  588. simple flow control on the server to prevent VM exhaustion on a
  589. slow network with a fast server.
  590. * recurse.c: Call the flow control check at a convenient location
  591. while no locks are active. This is a convenience tradeoff against
  592. accurate flow control - if you have a large directory it will all
  593. be queued up, bypassing the flow control check until the next
  594. directory is processed.
  595. Sat Nov 18 16:22:06 1995 Karl Fogel <kfogel@floss.cyclic.com>
  596. * client.c, update.c, vers_ts.c, server.c, rcs.c, lock.c,
  597. ignore.c, entries.c, diff.c, commit.c, checkin.c:
  598. Use new macro `existence_error', instead of comparing errno to
  599. ENOENT directly.
  600. Fri Nov 17 14:56:12 1995 Karl Fogel <kfogel@floss.cyclic.com>
  601. * client.c (start_server): removed alternate version of this func,
  602. since os2/client.c will now be used under OS/2.
  603. Thu Nov 16 22:57:12 1995 Karl Fogel <kfogel@floss.cyclic.com>
  604. * client.c (start_server): ifdef HAVE_POPEN_RW, use a different
  605. version of start_server(). This is maybe not the cleanest cut to
  606. make, but it's better than mucking around with yet more #ifdefs in
  607. the middle of the old start_server() function. Once things are
  608. up, I may reposition this code.
  609. Wed Nov 15 15:33:37 1995 Karl Fogel <kfogel@floss.cyclic.com>
  610. * main.c (main): ifdef NEED_CALL_SOCKINIT, then call SockInit().
  611. Only OS/2 needs this initialization.
  612. Tue Nov 14 18:54:01 1995 Greg A. Woods <woods@most.weird.com>
  613. * patch.c:
  614. - fix orientation of test for result of getline() call
  615. - use fputs() not printf() when just copying file out
  616. * cvsbug.sh:
  617. - add space after #!
  618. - new rcs id
  619. - allow version to be edited by Makefile.
  620. * Makefile.in:
  621. - make Makefile a dependent of all (this might not be perfect, but
  622. it at least gives you a chance to catch up on the second
  623. go-around).
  624. - filter cvsbug.sh in a manner similar to cvsinit.sh to get the
  625. version number set from version.c
  626. Tue Nov 14 13:28:17 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  627. * sanity.sh: Call old log file check.plog, not check.olog.
  628. * sanity.sh: Convert remaining tests from old-style ('***' on fail
  629. and nothing on pass), to new-style (FAIL on fail and PASS on pass).
  630. * sanity.sh: Fix ability to run only some of the tests (always run
  631. tests 1-4.75 to set up repository, document better how it works).
  632. * sanity.sh: Change "completed successfully" to "completed" in
  633. message--many tests, but not all, exit if they fail.
  634. Tue Nov 14 15:10:00 1995 Greg A. Woods <woods@most.weird.com>
  635. * sanity.sh: test 63 doesn't work and probably can't
  636. Tue Nov 14 12:22:00 1995 Greg A. Woods <woods@most.weird.com>
  637. * sanity.sh: many minor tweaks:
  638. - make the optional arguments almost work
  639. - use a function 'directory_cmp' instead of 'diff -r'
  640. - fix up a few more tests that weren't working....
  641. Mon Nov 13 07:33:55 1995 Karl Fogel <kfogel@floss.cyclic.com>
  642. * cvs.h: ifdef USE_OWN_POPEN, #include "popen.h". Only OS/2 has
  643. its own popen()/pclose() right now.
  644. Mon Nov 13 04:06:10 1995 Karl Fogel <kfogel@floss.cyclic.com>
  645. * cvs.h: conform to 80 column standard (yes, I'm a pedant).
  646. Sat Nov 11 13:45:13 1995 Karl Fogel <kfogel@floss.cyclic.com>
  647. * client.c (process_prune_candidates): use unlink_file_dir() to
  648. remove the directory, instead of invoking "rm" via run_exec().
  649. Fri Nov 10 14:38:56 1995 Karl Fogel <kfogel@floss.cyclic.com>
  650. * main.c (main): removed "#define KF_GETOPT_LONG 1", since that
  651. change is no longer in testing.
  652. Thu Nov 9 20:32:12 1995 Karl Fogel <kfogel@floss.cyclic.com>
  653. * release.c (release): Use Popen(), not popen().
  654. Wed Nov 8 10:20:20 1995 Jim Meyering (meyering@comco.com)
  655. * entries.c (ParseTag): Remove dcl of unused local.
  656. * patch.c: Include getline.h.
  657. Wed Nov 8 11:57:31 1995 Norbert Kiesel <nk@col.sw-ley.de>
  658. * options.h.in: add configuration option STEXID_SUPPORT (default
  659. is off i.e. old semantics)
  660. * filesubr.c (isaccessable): new function. Checks access-rights
  661. for files like access(), but is getxid-safe. Falls back to
  662. access() if SETXID_SUPPORT is not enabled.
  663. (isfile): replace stat() by isaccessable(file, F_OK)
  664. (isreadable): replace access() by isaccessable()
  665. (iswritable): ditto
  666. (make_directory): rename local variable buf to sb
  667. * cvs.h: add prototype for new function isaccessable.
  668. * server.c (serve_root): replace access() by isaccessable()
  669. * cvsrc.c (read_cvsrc): replace access() by isreadable()
  670. * main.c (main): replace access() by isaccessable()
  671. Wed Nov 8 10:22:41 1995 Greg A. Woods <woods@most.weird.com>
  672. * entries.c (fgetentent): change definition to static to match the
  673. declaration at the top of the file
  674. Tue Nov 7 16:59:25 1995 J.T. Conklin <jtc@lestat.cygnus.com>
  675. * rcs.c (RCS_getbranch, RCS_getdate, RCS_getrevtime, RCS_gettag,
  676. RCS_getversion, RCS_head): Use assert() instead of attempting to
  677. "do the right thing" with a bogus RCSNode argument.
  678. Mon Nov 6 14:24:34 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  679. * vers_ts.c: Remove ctime define. It is just asking for trouble.
  680. Mon Nov 6 11:58:26 1995 Karl Fogel <kfogel@floss.cyclic.com>
  681. * vers_ts.c: ifdef ctime, undef it before redefining it. It is a
  682. macro on some systems.
  683. * lock.c: don't prototype ctime() here. (See note below about
  684. fgetentent() in entries.c.)
  685. Sun Nov 5 16:06:01 1995 Karl Fogel <kfogel@floss.cyclic.com>
  686. * entries.c (fgetentent): don't prototype ctime here; we include
  687. cvs.h, which includes system.h, which includes <time.h>
  688. unconditionally (either as <time.h> or <sys/time.h>). Anyway, IBM
  689. C/C++ chokes on mid-function, or even mid-file, prototypes. Sigh.
  690. Thu Nov 2 21:51:04 1995 Dan Wilder <dan@gasboy.com>
  691. * rtag.c (rtag): Fix typo ("-T" -> "-F").
  692. Tue Oct 31 19:09:11 1995 Dan Wilder <dan@gasboy.com>
  693. * diff.c (diff_dirproc): just return R_SKIP_ALL if dir not exist.
  694. (diff_file_nodiff): don't complain if file doesn't exist, just
  695. ignore.
  696. Tue Oct 31 09:25:10 1995 Norbert Kiesel <nk@col.sw-ley.de>
  697. * sanity.sh: Use absolute pathname for mkmodules.
  698. Sat Oct 28 01:01:41 1995 Jim Meyering (meyering@comco.com)
  699. * entries.c (ParseTag): Use getline instead of fgets.
  700. Fri Oct 27 13:44:20 1995 Karl Fogel <kfogel@floss.cyclic.com>
  701. * cvs.h: do nothing about alloca ifdef ALLOCA_IN_STDLIB. I am
  702. rather suspicious of this solution, and will not be surprised to
  703. find out that there's a Right Way to handle this situation ("this
  704. situation" being that OS/2 simply declares alloca in <stdlib.h>).
  705. Suggestions are welcome; see src/cvs.h and lib/system.h to see why
  706. I was getting a conflict in the first place.
  707. Wed Oct 25 16:03:20 1995 J.T. Conklin <jtc@slave.cygnus.com>
  708. * cvs.h (struct entnode): Add user field.
  709. * entries.c (fputentent): New function, write entries line.
  710. (write_ent_proc): Call fputentent to write entries line.
  711. (Entnode_Create): New function, construct new Entnode.
  712. (Entnode_Destroy): New function, destruct old Entnode.
  713. (AddEntryNode): Changed to take an Entnode argument instead of
  714. separate user, version, timestamp, etc. arguments.
  715. (fgetentent): Changed to return Entnode.
  716. (struct entent, free_entent): Removed.
  717. Wed Oct 25 12:44:32 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  718. * admin.c (admin): Don't rely on ANSI C string concatenation;
  719. SunOS 4.1.3 /bin/cc doesn't support it.
  720. Tue Oct 24 22:34:22 1995 Anthony J. Lill <ajlill@ajlc.waterloo.on.ca>
  721. * import.c (expand_at_signs): Check errno as well as return value
  722. from putc. Some systems bogusly return EOF when successfully
  723. writing 0xff.
  724. Tue Oct 24 14:32:45 1995 Norbert Kiesel <nk@col.sw-ley.de>
  725. * admin.c (admin): use getcaller() instead of getpwuid
  726. * subr.c (getcaller): prefer getlogin() to $USER and $LOGNAME
  727. (especially useful for NT where getuid always returns 0)
  728. Tue Oct 24 06:22:08 1995 Jim Meyering (meyering@comco.com)
  729. * cvsrc.c (read_cvsrc): Use getline instead of fgets.
  730. * patch.c (patch_fileproc): Use getline instead of fgets.
  731. * entries.c (fgetentent): Use getline instead of fgets.
  732. Use xmalloc to allocate space for each returned entry.
  733. Since LINE is no longer static, save it in struct entent.
  734. (struct entent): New member, line.
  735. (free_entent): New function.
  736. (Entries_Open): Call it after each call to fgetentent.
  737. Tue Oct 24 11:13:15 1995 Norbert Kiesel <nk@col.sw-ley.de>
  738. * cvs.h: Declare valloc again, but this time with the right
  739. signature (also changed in libs/valloc.c)
  740. Mon Oct 23 12:17:03 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  741. * logmsg.c (do_editor): Check for errors from stdio calls.
  742. Mon Oct 23 12:37:06 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  743. * cvs.h: Don't declare valloc. Some systems (e.g. linux) declare
  744. it in stdlib.h in a conflicting way.
  745. Mon Oct 23 08:41:25 1995 Jim Meyering (meyering@comco.com)
  746. * commit.c (commit_filesdoneproc): Use getline instead of fgets.
  747. * logmsg.c (do_editor): Use getline instead of fgets.
  748. (rcsinfo_proc): Likewise.
  749. * logmsg.c (do_editor): Lose if fclose of temp file output
  750. stream fails.
  751. Mon Oct 23 11:59:41 1995 Norbert Kiesel <nk@col.sw-ley.de>
  752. * cvs.h: add valloc declaration
  753. * server.h: add server_cleanup prototype
  754. * server.c: remove server_cleanup prototype
  755. * mkmodules.c (server_cleanup): fix parameter type
  756. * server.c: encapsulate wait_sig in #ifdef sun (it's only used in
  757. code which is also encapsulated in #ifdef sun)
  758. * rcscmds.c (RCS_deltag, RCS_lock): add definition of noerr
  759. parameter
  760. * error.c: include cvs.h instead of config.h, add USE(rcsid)
  761. * error.c (error): fix parameter type
  762. * update.c (join_file): encapsulate recent changes from garyo
  763. within #ifdef SERVER_SUPPORT
  764. Sun Oct 22 13:47:53 1995 J.T. Conklin <jtc@slave.cygnus.com>
  765. * client.c (update_entries): Fix memory leak; free mode_string and
  766. file_timestamp.
  767. (send_fileproc): Fix memory leak; call freevers_ts before exiting.
  768. * module.c (do_module): Partially fix memory leak; added
  769. variable so that the address of memory allocated by line2argv
  770. is retained, but comment out the call to free_names. Freeing
  771. the vector at that point loses because some of the elements
  772. may be used later in the function.
  773. (cat_module): fix memory leak.
  774. * recurse.c (start_recursion): Fix memory leak; free return
  775. value of Name_Repository after it has been used.
  776. Sat Oct 21 23:24:26 1995 Jim Meyering (meyering@comco.com)
  777. * client.c (send_modified) [LINES_CRLF_TERMINATED]: Comment text
  778. after #endif.
  779. Fri Oct 20 14:41:49 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  780. * sanity.sh: Add test 87a, to test for bug fixed by garyo in
  781. change below.
  782. Fri Oct 20 10:59:58 1995 Gary Oberbrunner <garyo@darkstar.avs.com>
  783. * update.c (join_file): send file back to client even if no
  784. conflicts were detected, by calling Register().
  785. Fri Oct 20 10:46:45 1995 Norbert Kiesel <nk@col.sw-ley.de>
  786. * lock.c: Add prototype for Check_Owner
  787. Thu Oct 19 16:38:14 1995 Jim Meyering (meyering@comco.com)
  788. * lock.c (Check_Owner): Declare function `static int'.
  789. Thu Oct 19 14:58:40 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  790. * expand_path.c (expand_variable): Fix typo ('*'->'(').
  791. Thu Oct 19 14:58:40 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  792. * commit.c (commit_filesdoneproc): Check for errors from fopen,
  793. fgets, and fclose.
  794. * rcscmds.c (RCS_merge): Remove comment about rcsmerge -E.
  795. Hacking CVS was never a very good solution; the situation is fixed
  796. in RCS 5.7, and is documented in ../INSTALL.
  797. Thu Oct 19 15:06:15 1995 Jim Meyering (meyering@comco.com)
  798. * filesubr.c (xchmod): Parenthesize arithmetic in operand of |
  799. to placate gcc -Wall.
  800. * expand_path.c (expand_path): Parenthesize assignments used as
  801. truth values to placate gcc -Wall.
  802. * commit.c (checkaddfile): Remove dcls of unused variables.
  803. * lock.c (unlock): Remove dcl of unused variable.
  804. Thu Oct 19 14:58:40 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  805. * root.c (Create_Root): If noexec, don't create CVS/Root.
  806. Wed Oct 18 11:19:40 1995 J.T. Conklin <jtc@slave.cygnus.com>
  807. * lock.c (unlock): Change order of comparison so that Check_Owner
  808. is called only if other conditions are true. This performance
  809. enhancement was broken when the AFS support was added.
  810. Wed Oct 18 12:51:33 1995 Karl Fogel <kfogel@floss.cyclic.com>
  811. * main.c (main): check if argv[0] is "pserver" with else-if, not
  812. if, since we've already asked if it's "kserver".
  813. Tue Oct 17 18:09:23 1995 Warren Jones <wjones@tc.fluke.com>
  814. and Jim Kingdon <kingdon@harvey.cyclic.com>
  815. * sanity.sh: Deal with supplying a relative cvs filename, or
  816. with a cvs filename which doesn't have basename "cvs".
  817. Mon Oct 16 15:58:31 1995 Vince Demarco <vdemarco@bou.shl.com>
  818. * parseinfo.c (Parse_Info): if the Keyword isn't ALL the current
  819. version doesn't use the expanded variable, It should.
  820. Mon Oct 16 15:58:31 1995 Gary Oberbrunner <garyo@avs.com>
  821. and Jim Kingdon <kingdon@harvey.cyclic.com>
  822. * server.c (server_register): Don't pass NULL to printf if tag,
  823. date, or conflict is NULL.
  824. Thu Oct 12 12:13:42 1995 Karl Fogel <kfogel@floss.cyclic.com>
  825. * main.c (main): begin to handle "pserver"; support not complete
  826. yet, however.
  827. Thu Oct 12 02:52:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  828. * expand_path.c: Don't #include <pwd.h>, since cvs.h already does,
  829. and not all systems' <pwd.h>s are protected from multiple inclusion.
  830. * login.c: Likewise.
  831. Wed Oct 11 15:23:24 1995 Karl Fogel <kfogel@floss.cyclic.com>
  832. * login.c (login): handle everything correctly now.
  833. Wed Oct 11 12:02:48 1995 Norbert Kiesel <nk@col.sw-ley.de>
  834. * rcs.c (RCS_gettag): support RCS keyword Name
  835. Tue Oct 10 19:11:16 1995 Karl Fogel <kfogel@floss.cyclic.com>
  836. * options.h.in (CVS_LOGIN): discuss, but leave commented out.
  837. The "cvs login" command is still under construction; however, the
  838. repository was changing so fast that instead of creating a branch
  839. and dealing with the attendant hair, I'm just developing on the
  840. trunk, making sure that everything is surrounded by "#ifdef
  841. CVS_LOGIN ... #endif" so I don't get in anyone's way.
  842. * login.c: include cvs.h before checking CVS_LOGIN, so it has a
  843. chance to get defined before we ask if it's defined.
  844. (login): oops, use semi not comma in `for' loop init.
  845. * Makefile.in (SOURCES, OBJECTS): include login.c, login.o.
  846. * main.c: added protoype for login().
  847. Added "login" entry to cmds[].
  848. (usg): added line about "login".
  849. * login.c: new file.
  850. Tue Oct 10 18:33:47 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  851. * Makefile.in (COMMON_OBJECTS): added error.o.
  852. (OBJECTS): took error.o out; it's in COMMON_OBJECTS now.
  853. Tue Oct 10 12:02:37 1995 Thorsten Lockert <tholo@sigmasoft.com>
  854. * cvsbug.sh: Cater to lame versions of sh (4.4BSD ash) by using
  855. ${foo-bar} instead of `if....`.
  856. Tue Oct 10 12:02:37 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  857. * remove.c (remove_fileproc): If noexec, don't remove file. Check
  858. for error when removing file.
  859. Sun Oct 8 12:32:15 1995 Peter Wemm <peter@haywire.DIALix.COM>
  860. * run.c: detect/use POSIX/BSD style reliable signals for critical
  861. section masking etc. Helps prevent stray locks on interruption.
  862. Sat Oct 7 23:26:54 1995 Norbert Kiesel <nk@col.sw-ley.de>
  863. * admin.c (admin): If group CVS_ADMIN_GROUP exists, allow only
  864. users in that group to use "cvs admin".
  865. * options.h.in: Default CVS_ADMIN_GROUP to "cvsadmin".
  866. Sat Oct 7 23:05:24 1995 Norbert Kiesel <nk@col.sw-ley.de>
  867. * add.c, checkout.c, commit.c, cvs.h, filesubr.c, import.c,
  868. lock.c, main.c, modules.c, options.h.in: New variable cvsumask
  869. which is used to set mode of files in repository (regardless of
  870. umask in effect when cvs is run).
  871. Sat Oct 7 22:40:17 1995 Stephen Bailey <sjbailey@sand.npl.washington.edu>
  872. * lock.c: Include AFSCVS ifdefs to deal with AFS's lack of
  873. correspondance between userid's from stat and from geteuid.
  874. Sat Oct 7 22:28:49 1995 Scott Carson <sdc@TracerTech.COM>
  875. * add.c (add): Pass -ko, not -k -ko, to set keyword expansion options.
  876. * admin.c (admin): Don't skip first argument when sending to server.
  877. Fri Oct 6 21:45:03 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  878. * version.c: Version 1.6.1.
  879. Fri Oct 6 21:31:28 1995 Jeff Johnson <jbj@brewster.jbj.org>
  880. * cvs.h, admin.c, client.c, commit.c, log.c, modules.c,
  881. parseinfo.c, patch.c, recurse.c, rtag.c, status.c, tag.c:
  882. Prototype when dealing in pointers to functions.
  883. Fri Oct 6 21:07:22 1995 Mark H. Wilkinson <mhw@minster.york.ac.uk>
  884. * cvsrc.c (read_cvsrc): fix look up of command names in cvsrc file
  885. to use full name from command table rather than possible nickname
  886. in argv. Fixes errors with things like `cvs di' when cvsrc has
  887. `diff -u5' in it.
  888. Thu Aug 3 01:03:52 1995 Vince DeMarco <vdemarco@bou.shl.com>
  889. * parseinfo.c (Parse_Info): Add code to call expand_path function
  890. instead of using built in code.
  891. * wrapper.c (wrap_add): Add code to call expand_path function to
  892. expand all built in variables.
  893. * expand_path.c (New file): expand things that look like
  894. environmental variables (only expand local CVS environmental
  895. variables) and user names like ~/.
  896. * cvs.h: Declare expand_path.
  897. * Makefile.in (SOURCES, OBJECTS): Added expand_path.c,
  898. expand_path.o.
  899. Fri Oct 6 14:03:09 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  900. * ignore.c (ign_setup): Don't try to look for a file in CVSroot if
  901. client. (The recent tightening of the error checking detects this).
  902. * commit.c (checkaddfile): Don't try to pass options if it is "".
  903. Thu Oct 5 18:04:46 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  904. * sanity.sh: unset CVSREAD, since it causes the script to bomb.
  905. Thu Oct 5 18:29:17 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  906. * remove.c, add.c, commit.c, cvs.h: Remove CVSEXT_OPT stuff; it
  907. has been broken for ages and the options are already stored in the
  908. Entries file.
  909. Thu Oct 5 18:20:13 1995 Norbert Kiesel <nk@col.sw-ley.de>
  910. * commit.c (checkaddfile): New argument options; pass it to RCS.
  911. (commit_fileproc): Pass it.
  912. Tue Oct 3 09:26:00 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  913. * version.c: upped to 1.6.
  914. Mon Oct 2 18:10:35 1995 Larry Jones <larry.jones@sdrc.com>
  915. * server.c: if HAVE_SYS_BSDTYPES_H, include <sys/bsdtypes.h>.
  916. Mon Oct 2 10:34:53 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  917. * version.c: Upped version to 1.5.95.
  918. Mon Oct 2 15:16:47 1995 Norbert Kiesel <nk@col.sw-ley.de>
  919. * tag.c, rtag.c: pass "mov" instead of "add" if tag will be moved
  920. (i.e. invoked with -F)
  921. Sun Oct 1 18:36:34 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  922. * version.c: upped to 1.5.94.
  923. * server.c: reverted earlier ISC change (of Sep. 28).
  924. * version.c: upped to 1.5.93, for Peter Wemm's new SVR4 patch.
  925. Sun Oct 1 14:51:59 1995 Harlan Stenn <Harlan.Stenn@pfcs.com>
  926. * main.c: don't #include <pwd.h>; cvs.h does that already.
  927. Fri Sep 29 15:21:35 1995 Karl Fogel <kfogel@floss.cyclic.com>
  928. * version.c: upped to 1.5.91 for another pre-1.6 release.
  929. Fri Sep 29 14:41:14 1995 <bmeier@rzu.unizh.ch>
  930. * root.c: start rcsid[] with "CVSid".
  931. Fri Sep 29 13:22:44 1995 Jim Blandy <jimb@totoro.cyclic.com>
  932. * diff.c (diff): Doc fix.
  933. Fri Sep 29 14:32:36 1995 Norbert Kiesel <nk@col.sw-ley.de>
  934. * repos.c (Short_Repository): chop superfluous "/".
  935. * tag.c (pretag_proc): correct user-visible string.
  936. * rtag.c (pretag_proc): correct user-visible string.
  937. Fri Sep 29 13:45:36 1995 Karl Fogel <kfogel@floss.cyclic.com>
  938. * cvs.h (USE): if __GNUC__ != 2, expand to a dummy var instead of
  939. nothing.
  940. Thu Sep 28 13:37:05 1995 Larry Jones <larry.jones@sdrc.com>
  941. * server.c: ifdef ISC, include <sys/bsdtypes.h>.
  942. Fri Sep 29 07:54:22 1995 Mike Sutton <mws115@llcoolj.dayton.saic.com>
  943. * filesubr.c (last_component): Don't use ANSI style declaration.
  944. Wed Sep 27 15:24:00 1995 Del <del@matra.com.au>
  945. * tag.c, rtag.c: Pass a few extra options to the script
  946. named in taginfo (del/add, and revision number).
  947. * tag.c: Support a -r option (at long last). Also needs
  948. a -f option to tag the head if there is no matching -r tag.
  949. Tue Sep 26 11:41:08 1995 Karl Fogel <kfogel@totoro.cyclic.com>
  950. * version.c: Upped version to 1.5.89 for test release preceding
  951. 1.6.
  952. Wed Sep 20 15:32:49 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  953. * ignore.c (ign_add_file): Check for errors from fopen and fclose.
  954. Tue Sep 19 18:02:16 1995 Jim Blandy <jimb@totoro.cyclic.com>
  955. * Makefile.in (DISTFILES): Remove sanity.el from this list; the
  956. file has been deleted.
  957. Thu Sep 14 14:17:52 1995 Peter Wemm <peter@haywire.dialix.com>
  958. * import.c: Recover from being unable to open the user file.
  959. * update.c (join_file): Print a message in the case where the file
  960. was added.
  961. * mkmodules.c: Deal with .db as well as .pag/.dir (for use with
  962. BSD 4.4 and real dbm support).
  963. Mon Sep 11 15:44:13 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  964. * release.c (release): Revise comment regarding why and how we
  965. skip argv[0].
  966. Mon Sep 11 10:03:59 1995 Karl Fogel <kfogel@floss.cyclic.com>
  967. * release.c (release): use return value of pclose to determine
  968. success of update.
  969. Mon Sep 11 09:56:33 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  970. * release.c (release_delete): Fix comment.
  971. Sun Sep 10 18:48:35 1995 Karl Fogel <kfogel@floss.cyclic.com>
  972. * release.c (release): made work with client/server.
  973. Don't ask if <arg> is mentioned in `modules'.
  974. Fri Sep 8 13:25:55 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  975. * sanity.sh: When committing a removal, send stdout to LOGFILE;
  976. this is no longer a silent operation.
  977. * sanity.sh: Remove OUTPUT variable; it is unused.
  978. * client.c: Add comment regarding deleting temp file.
  979. * main.c: Add comment regarding getopt REQUIRE_ORDER.
  980. Thu Sep 7 20:24:46 1995 Karl Fogel <kfogel@floss.cyclic.com>
  981. * main.c (main): use getopt_long(), accept "--help" and
  982. "--version".
  983. Don't assume EOF is -1.
  984. Thu Sep 7 19:18:00 1995 Jim Blandy <jimb@cyclic.com>
  985. * cvs.h (unlink_file_dir): Add prototype for this.
  986. Thu Sep 7 14:38:06 1995 Karl Fogel <kfogel@floss.cyclic.com>
  987. * ALL FILES: add semicolon, as indicated below.
  988. * cvs.h (USE): don't provide semicolon in the expansion of the USE
  989. macro; we'd rather the callers provided it themselves because that
  990. way etags doesn't get fooled.
  991. Mon Sep 4 23:30:41 1995 Magnus Hyllander <mhy@os.se>
  992. * checkout.c: cvs export now takes -k option and does not default
  993. to -kv.
  994. * checkout.c, cvs.h, modules.c: Modules file now takes -e option
  995. for cvs export.
  996. Mon Sep 4 23:30:41 1995 Kirby Koster <koster@sctc.com>
  997. * commit.c: When committing a removal, print a message saying what
  998. we are doing.
  999. Wed Aug 2 10:06:51 1995 Vince DeMarco <vdemarco@bou.shl.com>
  1000. * server.c: fix compiler warnings (on NeXT) (declare functions as
  1001. static inline instead of just static) functions: get_buffer_date,
  1002. buf_append_char, and buf_append_data
  1003. Mon Sep 4 22:31:28 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1004. * client.c (update_entries), import.c (expand_at_signs): Check for
  1005. errors from fread and putc.
  1006. Fri Sep 1 00:03:17 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1007. * sanity.sh: Fix TODO item pathname.
  1008. * sanity.el: Removed. It was out of date, didn't do much, and I
  1009. doubt anyone was using it.
  1010. * no_diff.c (No_Difference): Don't change the modes of the files.
  1011. Thu Aug 31 13:14:34 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1012. * version.c: Change version to 1.5.1.
  1013. * client.c (start_rsh_server): Don't pass -d to "cvs server"
  1014. invocation via rsh (restore change which was lost when NT stuff
  1015. was merged in).
  1016. * sanity.sh: Add TODO item suggesting test for bug which this fixes.
  1017. Wed Aug 30 12:36:37 1995 Jim Blandy <jimb@totoro.cyclic.com>
  1018. * sanity.sh (basic1): Make sure first-dir is deleted before
  1019. running this set of tests.
  1020. * subr.c: Extract file twiddling functions to a different file,
  1021. because we want to use different versions of many of these
  1022. routines under Windows NT.
  1023. (copy_file, isdir, islink, isfile, isreadable, iswritable,
  1024. open_file, make_directory, make_directories, xchmod,
  1025. rename_file, link_file, unlink_file, xcmp, tmpnam,
  1026. unlink_file_dir, deep_remove_dir): Moved to...
  1027. * filesubr.c: ...this file, which is new.
  1028. * Makefile.in (SOURCES): Mention filesubr.c.
  1029. (COMMON_OBJECTS): Mention filesubr.o.
  1030. * subr.c: Extract process execution guts to a different file,
  1031. because we want to replace these routines entirely under
  1032. Windows NT.
  1033. (VA_START, va_alist, va_dcl): Move this stuff...
  1034. (run_add_arg, run_init_prog): and these declarations...
  1035. (run_prog, run_argv, run_argc, run_argc_allocated): and these
  1036. variables...
  1037. (run_setup, run_arg, run_args, run_add_arg, run_init_prog,
  1038. run_exec, run_print, Popen): and these functions...
  1039. * run.c: To this file, which is new.
  1040. * Makefile.in (SOURCES): Mention run.c.
  1041. (COMMON_OBJECTS): Mention run.o.
  1042. * status.c (status): Call ign_setup, if client_active. Otherwise,
  1043. we don't end up ignoring CVS directories and such.
  1044. * server.c (mkdir_p, dirswitch): Use CVS_MKDIR instead of mkdir.
  1045. * repos.c (Name_Repository): Use the isabsolute function instead of
  1046. checking the first character of the path.
  1047. * root.c (Name_Root): Same.
  1048. * release.c (release): Use fncmp instead of strcmp to compare
  1049. filenames.
  1050. * rcs.c (RCS_parse, RCS_parsercsfile) [LINES_CRLF_TERMINATED]:
  1051. Abort, because we have strong reason to believe this code is
  1052. wrong.
  1053. * patch.c (patch): Register signal handlers iff the signal name is
  1054. #defined.
  1055. * no_diff.c (No_Difference): Don't try to include server_active in
  1056. trace message unless SERVER_SUPPORT is #defined.
  1057. * modules.c (do_module): Use CVS_MKDIR instead of mkdir.
  1058. * mkmodules.c (main): Call last_component instead of writing it out.
  1059. * main.c (main): Call last_component instead of writing it out.
  1060. Break up the long copyright string into several strings; Microsoft
  1061. Visual C++ can't handle a line that long. Feh.
  1062. Use fncmp instead of strcmp to compare filenames.
  1063. Register signal handlers iff the signal name is #defined.
  1064. * lock.c (readers_exist): Don't check return value of closedir.
  1065. Most of the rest of the code doesn't, and some systems don't
  1066. provide a return value anyway.
  1067. (set_lock): Use CVS_MKDIR instead of mkdir.
  1068. * import.c (import): Use the isabsolute function instead of
  1069. checking the first character of the path.
  1070. Try to delete the temporary file again after we close it, so it'll
  1071. get deleted on systems that don't let you delete files that are
  1072. open.
  1073. (add_rev): Instead of making a hard link to the working file and
  1074. checking in the revision with ci -r, use ci -u and restore the
  1075. permission bits.
  1076. (comtable): Include lines from SYSTEM_COMMENT_TABLE, if it is
  1077. #defined.
  1078. (add_rcs_file) [LINES_CRLF_TERMINATED]: Abort, because we have
  1079. strong reason to believe this code is wrong.
  1080. (import_descend_dir): Use CVS_MKDIR instead of mkdir.
  1081. * history.c (read_hrecs): Open the file with OPEN_BINARY.
  1082. * find_names.c (add_entries_proc, fsortcmp): Add prototypes.
  1083. * entries.c (write_ent_proc): Add prototype.
  1084. * hash.c (walklist): Add prototype for PROC argument.
  1085. (sortlist): Add prototype for COMP argument.
  1086. (printnode): Add a prototype, and make it static.
  1087. * cvs.h (wrap_add_file, wrap_add): Add extern decls for these;
  1088. they're used in import.c and update.c.
  1089. * wrapper.c (wrap_add_file, wrap_add): Remove them from here.
  1090. * cvs.h (RUN_NORMAL, RUN_COMBINED, RUN_REALLY, RUN_STDOUT_APPEND,
  1091. RUN_STDERR_APPEND, RUN_SIGNIGNORE, RUN_TTY, run_arg, run_print,
  1092. run_setup, run_args, run_exec, Popen, piped_child, close_on_exec,
  1093. filter_stream_through_program, waitpid): Move all these
  1094. declarations and definitions to the same section.
  1095. * cvs.h (error_set_cleanup): Fix prototype.
  1096. * cvs.h (isabsolute, last_component): New extern decls.
  1097. * cvs.h (link_file): Function is deleted; remove extern decl.
  1098. * cvs.h (DEATH_STATE, DEATH_SUPPORT): Move #definitions of these
  1099. above the point where we #include rcs.h, since rcs.h tests them
  1100. (or DEATH_SUPPORT, at least).
  1101. * cvs.h (DEVNULL): #define this iff it isn't already #defined.
  1102. config.h may want to override it.
  1103. * cvs.h (SERVER_SUPPORT, CLIENT_SUPPORT): Don't #define these
  1104. here; let config.h do that. On some systems, we don't have any
  1105. server support.
  1106. * cvs.h: Don't #include <io.h> or <direct.h>; we take care of
  1107. those in lib/system.h.
  1108. * commit.c (commit): Open logfile with the OPEN_BINARY flag.
  1109. (precommit_proc): Use the isabsolute function, instead of
  1110. comparing the first character with /.
  1111. (remove_file, checkaddfile): Use CVS_MKDIR instead of mkdir.
  1112. * client.c (send_repository): Use larger line buffers.
  1113. * client.c [LINES_CRLF_TERMINATED] (update_entries): If we've just
  1114. received a gzipped file, copy it over, converting LF to CRLF,
  1115. instead of just renaming it into place.
  1116. [LINES_CRLF_TERMINATED] (send_modified): Convert file to LF format
  1117. before sending with gzip.
  1118. (send_modified): Don't be disturbed if we get fewer than
  1119. sb.st_size characters when we read. The read function may be
  1120. collapsing CRLF to LF for us.
  1121. * client.c: Add forward declarations for all the cvs command
  1122. functions we call.
  1123. * client.c: Add forward static declarations for all the
  1124. handle_mumble functions.
  1125. On some systems, RSH converts LF to CRLF; this screws us up.
  1126. * client.c (rsh_pid): Declare this iff RSH_NOT_TRANSPARENT is not
  1127. #defined.
  1128. (get_responses_and_close): Use SHUTDOWN_SERVER if it is #defined.
  1129. Only wait for rsh process to exit if RSH_NOT_TRANSPARENT is not
  1130. #defined.
  1131. (start_rsh_server): Declare and define only if
  1132. RSH_NOT_TRANSPARENT is not #defined. Use piped_child, instead of
  1133. writing all that out.
  1134. (start_server): Only try to call start_rsh_server if
  1135. RSH_NOT_TRANSPARENT is not #defined. Use START_SERVER if it is
  1136. #defined. Convert file descriptors to stdio file pointers using
  1137. the FOPEN_BINARY_WRITE and FOPEN_BINARY_READ strings.
  1138. * client.h (rsh_pid): Don't declare this; it's never used elsewhere.
  1139. (supported_request): Add external declaration for this;
  1140. it's used in checkout.c.
  1141. Move process-running functions to run.c; we need to totally
  1142. replace these on other systems, like Windows NT.
  1143. * client.c (close_on_exec, filter_stream_through_program): Moved
  1144. to run.c.
  1145. * run.c (close_on_exec, filter_stream_through_program): Here they
  1146. are.
  1147. * add.c (add_directory): Use CVS_MKDIR instead of straight mkdir.
  1148. * checkout.c (checkout, build_dirs_and_chdir): Same.
  1149. (checkout_proc): Use fncmp instead of strcmp.
  1150. * client.c (call_in_directory): Use CVS_MKDIR instead of straight
  1151. mkdir.
  1152. * client.c (handle_checksum): Cast return value of strtol.
  1153. Wed Aug 30 10:35:46 1995 Stefan Monnier <stefan.monnier@epfl.ch>
  1154. * main.c (main): Allow -d to override CVSROOT_ENV.
  1155. Thu Aug 24 18:57:49 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1156. * cvs.h, rcscmds.c (RCS_unlock, RCS_deltag, RCS_lock): Add extra
  1157. parameter for whether to direct stderr to DEVNULL.
  1158. * checkin.c, tag.c, rtag.c, import.c, commit.c: Pass extra
  1159. argument. 1 if stderr had been directed to DEVNULL before
  1160. rcscmds.c was in use, 0 if it was RUN_TTY.
  1161. * cvs.h: Add comment regarding attic.
  1162. Tue Aug 22 10:09:29 1995 Alexander Dupuy <dupuy@smarts.com>
  1163. * rcs.c (whitespace): Cast to unsigned char in case char is signed
  1164. and value is negative.
  1165. Tue Aug 22 10:09:29 1995 Kirby Koster <koster@sctc.com>
  1166. and Jim Kingdon <kingdon@harvey.cyclic.com>
  1167. * update.c (join_file): If vers->vn_user is NULL, just return.
  1168. Tue Aug 22 10:09:29 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1169. * server.c, client.c: Add comments about modes and umasks.
  1170. Mon Aug 21 12:54:14 1995 Rick Sladkey <jrs@world.std.com>
  1171. * update.c (update_filesdone_proc): If pipeout, don't try to
  1172. create CVS/Root.
  1173. Mon Aug 21 12:54:14 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1174. * client.c (start_rsh_server): Don't pass -d to "cvs server"
  1175. invocation via rsh.
  1176. * server.c (serve_root): Report errors via pending_error_text.
  1177. (serve_valid_requests): Check for pending errors.
  1178. Sun Aug 20 00:59:46 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1179. * options.h.in: Document usage of DIFF in update.c
  1180. * update.c: Use DIFF -c, not DIFF -u. The small improvement in
  1181. diff size is not worth the hassle in terms of everyone having to
  1182. make sure that DIFF is GNU diff (IMHO).
  1183. Sat Aug 19 22:05:46 1995 Jim Blandy <jimb@totoro.cyclic.com>
  1184. * recurse.c (start_recursion): Doc fix.
  1185. * server.c (do_cvs_command): Clear error_use_protocol in the
  1186. child.
  1187. (server): Set error_use_protocol.
  1188. Sun Aug 13 15:33:37 1995 Jim Kingdon <kingdon@harvey.cyclic.com>
  1189. * server.c (do_cvs_command): Don't select on exceptions.
  1190. Fri Aug 4 00:13:47 1995 Jim Meyering (meyering@comco.com)
  1191. * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
  1192. (options.h): Depend on ../config.status and options.h.in.
  1193. Add rule to build it from dependents.
  1194. * add.c: Include save-cwd.h.
  1195. (add_directory): Use save_cwd and restore_cwd instead of
  1196. explicit getwd then chdir.
  1197. * import.c (import_descend_dir): Likewise.
  1198. * modules.c (do_module): Likewise.
  1199. * recurse.c (save_cwd, restore_cwd, free_cwd): Remove functions.
  1200. New versions have been broken out into save-cwd.c.
  1201. (do_dir_proc): Adapt to handle status code returned by new versions
  1202. of save_cwd and restore_cwd -- and one fewer argument to restore_cwd.
  1203. (unroll_files_proc): Likewise.
  1204. * wrapper.c (wrap_name_has): Add default: abort () to switch
  1205. statement to avoid warning from gcc -Wall.
  1206. (wrap_matching_entry): Remove dcl of unused TEMP.
  1207. (wrap_tocvs_process_file): Remove dcl of unused ERR.
  1208. (wrap_fromcvs_process_file): Likewise.
  1209. * cvs.h: Remove prototype for error. Instead, include error.h.
  1210. Also, remove trailing white space.
  1211. Thu Aug 3 10:12:20 1995 Jim Meyering (meyering@comco.com)
  1212. * import.c (import_descend_dir): Don't print probably-bogus CWD
  1213. in error messages saying `cannot get working directory'.
  1214. Sun Jul 30 20:52:04 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1215. * parseinfo.c (Parse_Info): Revise comments and indentation.
  1216. Sun Jul 30 15:30:16 1995 Vince DeMarco <vdemarco@bou.shl.com>
  1217. * history.c: put ifdef SERVER_SUPPORT around tracing code incase
  1218. the client/server code is not compiled into the program.
  1219. Sat Jul 29 16:59:49 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1220. * subr.c (deep_remove_dir): Use struct dirent, not struct direct.
  1221. Sat Jul 29 18:32:06 1995 Vince DeMarco <vdemarco@bou.shl.com>
  1222. * add.c: Check wrap_name_has.
  1223. * diff.c, checkin.c, import.c: have code call unlink_file_dir in
  1224. the appropriate places instead of just calling unlink_file.
  1225. * checkin.c: Remove one unlink call.
  1226. * import.c (comtable): Add .m .psw .pswm.
  1227. * import.c (add_rcs_file): Remove tocvsPath before returning.
  1228. * subr.c (unlink_file_dir): Add new function. unlinks the file if
  1229. it is a file. or will do a recursive delete if the path is
  1230. actually a directory.
  1231. (deep_remove_dir): New function, helps unlink_file_dir.
  1232. * mkmodules.c: Added CVSROOTADM_WRAPPER (cvswrappers file) to the
  1233. checkout file list.
  1234. Fri Jul 28 16:27:56 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1235. * checkout.c (safe_location): Use PATH_MAX not MAXPATHLEN.
  1236. Fri Jul 28 19:37:03 1995 Paul Eggert <eggert@twinsun.com>
  1237. * log.c (cvslog, log_fileproc): Pass all options (except -l)
  1238. to rlog as-is, so that users can put spaces in options,
  1239. can specify multiple -d options, etc.
  1240. (ac, av): New variables.
  1241. (log_option_with_arg, options): Remove.
  1242. (log_fileproc): Don't prepend `/' to file name if update_dir is empty.
  1243. Tue Jul 25 00:52:26 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1244. * checkout.c (safe_location): Don't use PROTO in function definition.
  1245. Mon Jul 24 18:32:06 1995 Vince DeMarco <vdemarco@bou.shl.com>
  1246. * checkout.c (safe_location): fix a compiler warning. (Declare
  1247. safe_location). Changed code in safe_location to call getwd
  1248. instead of getcwd. getwd is declared in the ../lib directory and
  1249. used exclusively thoughout the code. (this helps portability on
  1250. non POSIX systems).
  1251. * wrapper.c: updated Andrew Athan's email address.
  1252. * main.c: fix an ifdef so the code will compile. syntax error in
  1253. the ifdef for CVS_NOADMIN.
  1254. Mon Jul 24 13:25:00 1995 Del <del@babel.dialix.oz.au>
  1255. * checkout.c: New procedure safe_location.
  1256. Ensures that you don't check out into the repository
  1257. itself.
  1258. * tag.c, rtag.c, cvs.h, mkmodules.c: Added a "taginfo" file in
  1259. CVSROOT to perform pre-tag checks.
  1260. * main.c, options.h.in: Added a compile time option to
  1261. disable the admin command.
  1262. Fri Jul 21 17:07:42 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1263. * update.c, status.c, patch.c, checkout.c, import.c, release.c,
  1264. rtag.c, tag.c: Now -q and -Q options just print an error message
  1265. telling you to use global -q and -Q options. The non-global
  1266. options were a mess because some commands accepted them and some
  1267. did not, and they were redundant with -q and -Q global options.
  1268. * rcs.c, cvs.h, commit.c, log.c, find_names.c: Remove CVS.dea
  1269. stuff. It is slower than the alternatives and I don't think
  1270. anyone ever actually used it.
  1271. Fri Jul 21 10:35:10 1995 Vince DeMarco <vdemarco@bou.shl.com>
  1272. * Makefile.in (SOURCES, OBJECTS): Add wrapper.c, wrapper.o.
  1273. * add.c, admin.c, checkout.c, commit.c, diff.c, import.c, log.c,
  1274. remove.c, status.c: Call wrap_setup at start of commands.
  1275. * add.c (add): Check for wrapper, as well as directory, in repository.
  1276. * checkin.c: Add tocvsPath variable and associated handling.
  1277. * cvs.h: Add wrapper declarations.
  1278. * diff.c: Add tocvsPath variable and associated handling.
  1279. * import.c: Add -W option, CVSDOTWRAPPER handling.
  1280. (import_descend): check wrap_name_has.
  1281. (update_rcs_file, add_rev, add_rcs_file): add tocvsPath
  1282. variable and associated handling.
  1283. * no_diff.c: Add tocvsPath variable and associated handling.
  1284. * recurse.c (start_recursion): Check wrap_name_has.
  1285. * update.c: Copy, don't merge, copy-by-merge files. Attempt to
  1286. use -j on a copy-by-merge file generates a warning and no further
  1287. action.
  1288. * update.c: Add CVSDOTWRAPPER handling.
  1289. * wrapper.c: Added.
  1290. Fri Jul 21 00:20:52 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1291. * client.c: Revert David Lamkin patch, except for the bits about
  1292. removing temp_filename and the .rej file.
  1293. * sanity.sh (errmsg1): Test for the underlying bug which Lamkin
  1294. kludged around.
  1295. * client.c (call_in_directory): Set short_pathname to include the
  1296. filename, not just the directory. Improve comments regarding what
  1297. is passed to FUNC.
  1298. Thu Jul 20 17:51:54 1995 David Lamkin <drl@net-tel.co.uk>
  1299. * client.c (short_pathname): Fixes the fetching of the whole file
  1300. after a patch to bring it up to date has failed:
  1301. - failed_patches[] now holds short path to file that failed
  1302. - patch temp files are unlinked where the patch is done
  1303. Thu Jul 20 12:37:10 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1304. * cvs.h: Declare error_set_cleanup
  1305. * main.c: Call it.
  1306. (error_cleanup): New function.
  1307. Thu Jul 20 12:17:16 1995 Mark H. Wilkinson <mhw@minster.york.ac.uk>
  1308. * add.c, admin.c, checkin.c, checkout.c, classify.c, client.c,
  1309. client.h, commit.c, create_adm.c, cvs.h, diff.c, entries.c,
  1310. history.c, import.c, log.c, main.c, modules.c, no_diff.c, patch.c,
  1311. release.c, remove.c, repos.c, rtag.c, server.c, server.h,
  1312. status.c, subr.c, tag.c, update.c, vers_ts.c, version.c: Put
  1313. client code inside #ifdef CLIENT_SUPPORT, server code inside
  1314. #ifdef SERVER_SUPPORT. When reporting version, report whether
  1315. client and/or server are compiled in.
  1316. Wed Jul 19 18:00:00 1995 Jim Blandy <jimb@cyclic.com>
  1317. * subr.c (copy_file): Declare local var n to be an int,
  1318. not a size_t. size_t is unsigned, and the return values
  1319. of read and write are definitely not unsigned.
  1320. * cvs.h [HAVE_IO_H]: #include <io.h>.
  1321. [HAVE_DIRECT_H]: #include <direct.h>.
  1322. Fri Jul 14 22:28:46 1995 Jim Blandy <jimb@totoro.cyclic.com>
  1323. * server.c (dirswitch, serve_static_directory, serve_sticky,
  1324. serve_lost, server_write_entries, serve_checkin_prog,
  1325. serve_update_prog): Include more information in error messages.
  1326. (Thanks, DJM.)
  1327. * cvsbug.sh: Use /usr/sbin/sendmail, unless it doesn't
  1328. exist, in which case use /usr/lib/sendmail. (Thanks, DJM.)
  1329. * server.c (server, server_cleanup): Use "/tmp" instead of
  1330. "/usr/tmp" when the TMPDIR environment variable isn't set. This
  1331. is what the rest of the code uses.
  1332. Thu Jul 13 11:03:17 1995 Jim Meyering (meyering@comco.com)
  1333. * recurse.c (free_cwd): New function.
  1334. (save_cwd, restore_cwd): Use it instead of simply freeing any
  1335. string. The function also closes any open file descriptor.
  1336. * import.c (comtable): Now static.
  1337. (comtable): Put braces around each element of initializer.
  1338. * cvs.h: Add prototype for xgetwd.
  1339. * recurse.c (save_cwd, restore_cwd): New functions to encapsulate
  1340. run-time solution to secure-SunOS vs. fchown problem.
  1341. (do_dir_proc, unroll_files_proc): Use new functions instead of
  1342. open-coded fchdir/chdir calls with cpp directives.
  1343. * sanity.sh: Change out of TESTDIR before removing it.
  1344. Some versions of rm fail when asked to delete the current directory.
  1345. Wed Jul 12 22:35:04 1995 Jim Meyering (meyering@comco.com)
  1346. * client.c (get_short_pathname): Add const qualifier to parameter dcl.
  1347. (copy_a_file): Remove set-but-not-used variable, LEN.
  1348. (handle_clear_static_directory): Likewise: SHORT_PATHNAME.
  1349. (set_sticky): Likewise: LEN.
  1350. (handle_set_sticky): Likewise: SHORT_PATHNAME.
  1351. (handle_clear_sticky): Likewise: SHORT_PATHNAME.
  1352. (start_rsh_server): Convert perl-style `cond || stmt' to more
  1353. conventional C-style `if (cond) stmt.' Sheesh.
  1354. Remove dcl of unused file-static, SEND_CONTENTS.
  1355. * history.c: Remove dcls of set-but-not-used file-statics,
  1356. HISTSIZE, HISTDATA.
  1357. (read_hrecs): Don't set them.
  1358. * import.c (add_rev): Remove dcl of set-but-not-used local, RETCODE.
  1359. * repos.c (Name_Repository): Remove dcl of set-but-not-used local,
  1360. HAS_CVSADM.
  1361. * cvsrc.c (read_cvsrc): Parenthesize assignment used as truth value.
  1362. Tue Jul 11 16:49:41 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1363. * hash.h (struct entnode, Entnode): moved from here...
  1364. * cvs.h: to here.
  1365. Wed Jul 12 19:45:24 1995 Dominik Westner (dominik@gowest.ppp.informatik.uni-muenchen.de)
  1366. * client.c (server_user): new var.
  1367. (parse_cvsroot): set above if repo is "user@host:/dir".
  1368. (start_rsh_server): if server_user set, then use it.
  1369. Wed Jul 12 10:53:36 1995 Karl Fogel <kfogel@floss.cyclic.com>
  1370. * sanity.sh: remove the TESTDIR after done.
  1371. * cvsbug.sh (GNATS_ADDR): now bug-cvs@prep.ai.mit.edu again.
  1372. Tue Jul 11 15:53:08 1995 Greg A. Woods <woods@most.weird.com>
  1373. * options.h.in: depend on configure for grep and diff, now that
  1374. changes to configure.in are applied.
  1375. Tue Jul 11 14:32:14 1995 Michael Shields <shields@tembel.org>
  1376. * Makefile.in (LDFLAGS): Pick up from configure.
  1377. Tue Jul 11 14:20:00 1995 Loren James Rittle <rittle@supra.comm.mot.com>
  1378. * import.c (add_rev), commit.c (remove_file, ci_new_rev),
  1379. checkin.c (Checkin), subr.c (make_message_rcslegal), cvs.h:
  1380. Always perform sanity check and fix-up on messages to be passed
  1381. directly to RCS via the '-m' switch. RCS 5.7 requires that a
  1382. non-total-whitespace, non-null message be provided or it will
  1383. abort with an error. CVS is not setup to handle any returned
  1384. error from 'ci' gracefully and, thus, the repository entered a
  1385. trashed state.
  1386. * sanity.sh: Add regression tests for new code and interactions
  1387. with RCS 5.7.
  1388. Sun Jul 9 19:03:00 1995 Greg A. Woods <woods@most.weird.com>
  1389. * .cvsignore: added new backup file
  1390. * options.h.in: our new configure.in finds the right diff and
  1391. grep paths now....
  1392. * subr.c: quote the string in run_print() for visibility
  1393. - indent a comment
  1394. - Jun Hamano's xchmod() patch to prevent writable files
  1395. (from previous local changes)
  1396. * logmsg.c: fix a NULL pointer de-reference
  1397. - clean up some string handling code...
  1398. (from previous local changes)
  1399. * parseinfo.c: add hack to expand $CVSROOT in an *info file.
  1400. - document "ALL" and "DEFAULT" in opening comment for Parse_Info()
  1401. - fix the code to match the comments w.r.t. callbacks for "ALL"
  1402. - add a line of trace output...
  1403. (from previous local changes)
  1404. * mkmodules.c: add support for comments in CVSROOT/checkoutlist
  1405. - add CVSroot used by something other .o, ala main.c
  1406. (from previous local changes)
  1407. * main.c, cvs.h: add support for $VISUAL as log msg editor
  1408. (from previous local changes)
  1409. * status.c: add support for -q and -Q (from previous local changes)
  1410. Sun Jul 9 18:44:32 1995 Karl Fogel <kfogel@floss.cyclic.com>
  1411. * log.c: trivial change to test ChangeLog stuff.
  1412. Sat Jul 8 20:33:57 1995 Paul Eggert <eggert@twinsun.com>
  1413. * history.c: (history_write): Don't assume that fopen(..., "a")
  1414. lets one interleave writes to the history file from different processes
  1415. without interlocking. Use open's O_APPEND option instead.
  1416. Throw in an lseek to lessen the race bugs on non-Posix hosts.
  1417. * cvs.h, subr.c (Fopen): Remove.
  1418. * log.c (log_fileproc): Pass working file name to rlog, so that
  1419. the name is reported correctly.
  1420. Fri Jul 7 18:29:37 1995 Michael Hohmuth <hohmuth@inf.tu-dresden.de>
  1421. * client.c, client.h (client_import_setup): New function.
  1422. (client_import_done, client_process_import_file): Add comments
  1423. regarding now-redundant code.
  1424. * import.c (import): Call client_import_setup.
  1425. Tue Jul 4 09:21:26 1995 Bernd Leibing <bernd.leibing@rz.uni-ulm.de>
  1426. * rcs.c (RCS_parsercsfile_i): Rename error to l_error; SunOS4 /bin/cc
  1427. doesn't like a label and function with the same name.
  1428. Sun Jul 2 12:51:33 1995 Fred Appelman <Fred.Appelman@cv.ruu.nl>
  1429. * logmsg.c: Rename strlist to str_list to avoid conflict with
  1430. Unixware 2.01.
  1431. Thu Jun 29 17:37:22 1995 Paul Eggert <eggert@twinsun.com>
  1432. * rcs.c (RCS_check_kflag): Allow RCS 5.7's new -kb option.
  1433. Wed Jun 28 09:53:14 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1434. * Makefile.in (HEADERS): Remove options.h.in.
  1435. (DISTFILES): Add options.h.in.
  1436. Depend on options.h in addition to HEADERS.
  1437. Tue Jun 27 22:37:28 1995 Vince Demarco <vdemarco@bou.shl.com>
  1438. * subr.c: Don't try to do fancy waitstatus stuff for NeXT,
  1439. lib/wait.h is sufficient.
  1440. Mon Jun 26 15:17:45 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1441. * Makefile.in (DISTFILES): Remove RCS-patches and convert.sh.
  1442. Fri Jun 23 13:38:28 1995 J.T. Conklin (jtc@rtl.cygnus.com)
  1443. * server.c (dirswitch, serve_co): Use CVSADM macro instead of
  1444. literal "CVS".
  1445. Fri Jun 23 00:00:51 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1446. * README-rm-add: Do not talk about patching RCS, that only
  1447. confuses people.
  1448. * RCS-patches, convert.sh: Removed (likewise).
  1449. Thu Jun 22 10:41:41 1995 James Kingdon <kingdon@harvey.cyclic.com>
  1450. * subr.c: Change -1 to (size_t)-1 when comparing against a size_t.
  1451. Wed Jun 21 16:51:54 1995 nk@ipgate.col.sw-ley.de (Norbert Kiesel)
  1452. * create_adm.c, entries.c, modules.c: Avoid coredumps if
  1453. timestamps, tags, etc., are NULL.
  1454. Tue Jun 20 15:52:53 1995 Jim Meyering (meyering@comco.com)
  1455. * checkout.c (checkout): Remove dcl of unused variable.
  1456. * client.c (call_in_directory, handle_clear_static_directory,
  1457. handle_set_sticky, handle_clear_sticky, send_a_repository,
  1458. send_modified, send_dirent_proc): Remove dcls of unused variables.
  1459. * server.c (receive_file, serve_modified, server_cleanup):
  1460. Remove dcls of unused variables.
  1461. * subr.c (copy_file): Remove dcl of unused variable.
  1462. * vers_ts.c (time_stamp_server): Remove dcl of unused variable.
  1463. Mon Jun 19 13:49:35 1995 Jim Blandy <jimb@totoro.cyclic.com>
  1464. * sanity.sh: Fix commencement message --- the test suite says
  1465. "Ok." when it's done.
  1466. Fri Jun 16 11:23:44 1995 Jim Meyering (meyering@comco.com)
  1467. * entries.c (fgetentent): Parenthesize assignment in if-conditional.
  1468. Thu Jun 15 17:33:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1469. * server.c (get_buffer_data, buf_append_char, buf_append_data):
  1470. Don't conditionalize use of "inline". Autoconf takes care of
  1471. defining it away on systems that don't grok it.
  1472. Thu Jun 15 13:43:38 1995 Jim Kingdon (kingdon@cyclic.com)
  1473. * options.h.in (DIFF): Default to "diff" not "diff -a" since diff
  1474. might not support the -a option.
  1475. Wed Jun 14 11:29:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1476. * import.c (import_descend): Initialize dirlist to NULL.
  1477. * subr.c (copy_file): Fix infinite loop.
  1478. * server.c (serve_directory): fix a memory leak.
  1479. * checkout.c, commit.c, diff.c, history.c, import.c, log.c,
  1480. patch.c, release.c, remove.c, rtag.c, status.c, tag.c, update.c:
  1481. Use send_arg() to send command line arguments to server.
  1482. * commit.c (fsortcmp), find_names (fsortcmp), hash.c (hashp,
  1483. findnode), hash.h (findnode), rcs.c (RCS_addnode,
  1484. RCS_check_kflag, RCS_check_tag, RCS_isdead, RCS_parse,
  1485. RCS_parsercsfile_i), rcs.h (RCS_addnode, RCS_check_kflag,
  1486. RCS_check_tag, RCS_parse): Added const qualifiers as
  1487. appropriate.
  1488. * rcs.h (RCS_isdead): Added prototype.
  1489. * hash.h (walklist, sortlist): correct function prototypes.
  1490. * ignore.c (ign_setup): don't bother checking to see if file
  1491. exists before calling ign_add_file.
  1492. Fri Jun 9 11:24:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1493. * all source files (rcsid): Added const qualifer.
  1494. * ignore.c (ign_default): Added const qualifier.
  1495. * subr.c (numdots): Added const qualifier to function argument.
  1496. * cvs.h (numdots): Added const qualifier to prototype argument.
  1497. * client.c (change_mode): Tied consecutive if statements testing
  1498. the same variable together with else if.
  1499. * import.c (import_descend): Build list of subdirectories when
  1500. reading directory, and then process the subdirectories in that
  1501. list. This change avoids I/O overhead of rereading directory
  1502. and reloading ignore list (.cvsignore) for each subdirectory.
  1503. Thu Jun 8 11:54:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1504. * import.c (import_descend): Use 4.4BSD d_type field if it is
  1505. present.
  1506. * lock.c (set_lockers_name): Use %lu in format and cast st_uid
  1507. field to unsigned long.
  1508. * import.c (import): Use RCS_check_kflag() to check -k options.
  1509. (keyword_usage, str2expmode, strn2expmode, expand_names):
  1510. Removed.
  1511. * rcs.c (RCS_check_kflag): Added keyword_usage array from import.c
  1512. for more descriptive error messages.
  1513. * subr.c (run_setup, run_args): Changed variable argument
  1514. processing to work on machines that use <varargs.h>.
  1515. * subr.c (copy_file, xcmp): Changed to read the file(s) by blocks
  1516. rather than by reading the whole file into a huge buffer. The
  1517. claim that this was reasonable because source files tend to be
  1518. small does not hold up in real world situations. CVS is used
  1519. to manage non-source files, and mallocs of 400K+ buffers (x2
  1520. for xcmp) can easily fail due to lack of available memory or
  1521. even memory pool fragmentation.
  1522. (block_read): New function, taken from GNU cmp and slightly
  1523. modified.
  1524. * subr.c (xcmp): Added const qualifier to function arguments.
  1525. * cvs.h (xcmp): Added const qualifer to prototype arguments.
  1526. Wed Jun 7 11:28:31 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1527. * cvs.h (Popen): Added prototype.
  1528. (Fopen, open_file, isreadable, iswritable, isdir, isfile,
  1529. islink, make_directory, make_directories, rename_file,
  1530. link_file, unlink_file, copy_file): Added const qualifer to
  1531. prototype arguments.
  1532. * subr.c (Fopen, Popen, open_file, isreadable, iswritable, isdir,
  1533. isfile, islink, make_directory, make_directories, rename_file,
  1534. link_file, unlink_file, copy_file): Added const qualifier to
  1535. function arguments.
  1536. * logmsg.c (logfile_write), recurse.c (do_recursion, addfile):
  1537. Don't cast void functions to a void expression. There is at
  1538. least one compiler (MPW) that balks at this.
  1539. * rcs.c (keysize, valsize): Change type to size_t.
  1540. * add.c (add_directory): Don't cast umask() argument to int.
  1541. * import.c (add_rcs_file): Changed type of mode to mode_t.
  1542. * rcscmds.c (RCS_merge): New function.
  1543. * cvs.h (RCS_merge): Declare.
  1544. * update.c (merge_file, join_file): Call RCS_merge instead of
  1545. invoking rcsmerge directly.
  1546. * cvs.h: Include <stdlib.h> if HAVE_STDC_HEADERS, otherwise
  1547. declared getenv().
  1548. * cvsrc.c, ignore.c, main.c: Removed getenv() declaration.
  1549. * client.c (mode_to_string): Changed to take mode_t instead of
  1550. struct statb argument. Simplified implementation, no longer
  1551. overallocates storage for returned mode string.
  1552. * client.h (mode_to_string): Updated declaration.
  1553. * server.c (server_updated): Updated for new calling conventions,
  1554. pass st_mode instead of pointer to struct statb.
  1555. * cvs.h (CONST): Removed definition, use of const qualifier is
  1556. determined by autoconf.
  1557. * history.c, modules.c, parseinfo.c: Use const instead of CONST.
  1558. * add.c, admin.c, checkout.c, commit.c, diff.c, import.c, log.c,
  1559. main.c, mkmodules.c, patch.c, recurse.c, remove.c, rtag.c,
  1560. server.c, status.c, subr.c, tag.c, update.c: Changed function
  1561. arguments "char *argv[]" to "char **argv" to silence lint
  1562. warnings about performing arithmetic on arrays.
  1563. Tue Jun 6 18:57:21 1995 Jim Blandy <jimb@totoro.cyclic.com>
  1564. * version.c: Fix up version string, to say that this is Cyclic
  1565. CVS.
  1566. Tue Jun 6 15:26:16 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1567. * subr.c (run_setup, run_args, run_add_arg, xstrdup): Add const
  1568. qualifier to format argument.
  1569. * cvs.h (run_setup, run_args, xstrdup): Likewise.
  1570. * Makefile.in (SOURCES): Added rcscmds.c.
  1571. (OBJECTS): Added rcscmds.o.
  1572. * rcscmds.c: New file, with new functions RCS_settag, RCS_deltag,
  1573. RCS_setbranch, RCS_lock, RCS_unlock.
  1574. * checkin.c, commit.c, import.c, rtag.c, tag.c: Call above
  1575. functions instead of exec'ing rcs commands.
  1576. * cvs.h: Declare new functions.
  1577. Mon May 29 21:40:54 1995 J.T. Conklin (jtc@rtl.cygnus.com)
  1578. * recurse.c (start_recursion, do_recursion): Set entries to NULL
  1579. after calling Entries_Close().
  1580. Sat May 27 08:08:18 1995 Jim Meyering (meyering@comco.com)
  1581. * Makefile.in (check): Export RCSBIN only if there exists an
  1582. `rcs' executable in ../../rcs/src. Before, tests would fail when
  1583. the directory existed but contained no executables.
  1584. (distclean): Remove options.h, now that it's generated.
  1585. (Makefile): Regenerate only *this* file when Makefile.in is
  1586. out of date. Depend on ../config.status.
  1587. Fri May 26 14:34:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1588. * entries.c (Entries_Open): Added missing fclose().
  1589. (Entries_Close): Don't write Entries unless Entries.Log exists.
  1590. * entries.c (Entries_Open): Renamed from ParseEntries; changed to
  1591. process Entries Log files left over from previous crashes or
  1592. aborted runs.
  1593. (Entries_Close): New function, write out Entries file if
  1594. neccessary and erase Log file.
  1595. (Register): Append changed records to Log file instead of
  1596. re-writing file.
  1597. (fgetentent): New function, parse one Entry record from a file.
  1598. (AddEntryNode): It's no longer an error for two records with the
  1599. same name to be added to the list. New records replace older
  1600. ones.
  1601. * cvs.h (Entries_Open, Entries_Close): Add prototypes.
  1602. (CVSADM_ENTLOG): New constant, name of Entries Log file.
  1603. * add.c, checkout.c, client.c, find_names.c, recurse.c: Use
  1604. Entries_Open()/Entries_Close() instead of ParseEntries()/dellist().
  1605. * add.c, admin.c, checkout.c, client.c, commit.c, diff.c,
  1606. history.c, import.c, log.c, patch.c, release.c, remove.c,
  1607. rtag.c, server.c, status.c, tag.c, update.c: Changed
  1608. conditionals so that return value of *printf is tested less than
  1609. 0 instead of equal to EOF.
  1610. Thu May 25 08:30:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1611. * subr.c (xmalloc): Never try to malloc zero bytes; if the user
  1612. asks for zero bytes, malloc one instead.
  1613. Wed May 24 12:44:25 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  1614. * subr.c (xmalloc): Don't complain about NULL if zero bytes were
  1615. requested.
  1616. Tue May 16 21:49:05 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1617. * subr.c (xmalloc): Never try to malloc zero bytes; if the user
  1618. asks for zero bytes, malloc one instead.
  1619. Mon May 15 14:35:11 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1620. * lock.c (L_LOCK_OWNED): Removed.
  1621. * add.c, checkout.c, client.c, create_adm.c, cvs.h, entries.c,
  1622. find_names.c modules.c, recurse.c, release.c, repos.c, update.c:
  1623. removed CVS 1.2 compatibility/upgrade code.
  1624. Mon May 8 11:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1625. * lock.c (write_lock): Missed one instance where rmdir(tmp) should
  1626. have been changed to clear_lock().
  1627. Wed May 3 11:08:32 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1628. * create_adm.c, entries.c, import.c, root.c: Changed conditionals
  1629. so that return value of *printf is tested less than 0 instead of
  1630. equal to EOF --- That's all Standard C requires.
  1631. Wed May 3 18:03:37 1995 Samuel Tardieu <tardieu@emma.enst.fr>
  1632. * rcs.h: removed #ifdef CVS_PRIVATE and #endif because cvs didn't
  1633. compile anymore.
  1634. Mon May 1 13:58:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1635. * rcs.c, rcs.h: Implemented lazy parsing of rcs files.
  1636. RCS_parsercsfile_i modified to read only the first two records
  1637. of rcs files, a new function RCS_reparsercsfile is called only
  1638. when additional information (tags, revision numbers, dates,
  1639. etc.) is required.
  1640. Mon May 1 12:20:02 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1641. * Makefile.in (INCLUDES): Include -I. for options.h.
  1642. Fri Apr 28 16:16:33 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1643. * Makefile.in (SOURCES, HEADERS, DISTFILES): Updated.
  1644. (dist-dir): Renamed from dist; changed to work with DISTDIR
  1645. variable passed from parent.
  1646. We don't want to include a file the user has to edit in the
  1647. distribution.
  1648. * options.h: No longer distributed.
  1649. * options.h.in: Distribute this instead.
  1650. * ../INSTALL, ../README: Installation instructions updated.
  1651. * client.c (start_rsh_server): Send the remote command to rsh as a
  1652. single string.
  1653. Fri Apr 28 00:29:49 1995 Noel Cragg <noel@vo.com>
  1654. * commit.c: Added initializer for FORCE_CI
  1655. * sanity.sh: Fix tests added 25 Apr -- they were expecting the
  1656. server to make noise, but the CVS_SERVER variable had been
  1657. accidentally set with the `-Q' flag. Ran all tests -- both
  1658. locally and remotely -- to verify that the change didn't break
  1659. anything.
  1660. Thu Apr 27 12:41:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1661. * Makefile.in: Revise comment regarding check vs. remotecheck.
  1662. Thu Apr 27 12:52:28 1995 Bryan O'Sullivan <bos@cyclic.com>
  1663. * client.c (start_rsh_server): If the CVS_RSH environment variable
  1664. is set, use its contents as the name of the program to invoke
  1665. instead of `rsh'.
  1666. Thu Apr 27 12:18:38 1995 Noel Cragg <noel@vo.com>
  1667. * checkout.c (checkout): To fix new bug created by Apr 23 change,
  1668. re-enabled "expand-module" functionality, because it has the side
  1669. effect of setting the checkin/update programs for a directory. To
  1670. solve the local/remote checkout problem that prompted this change
  1671. in the first place, I performed the next change.
  1672. * server.c (expand_proc): Now returns expansions for aliases only.
  1673. Wed Apr 26 12:07:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1674. * rcs.c (getrcskey): Rewritten to process runs of whitespace chars
  1675. and rcs @ strings instead of using state variables "white" and
  1676. "funky".
  1677. Fri Apr 7 15:49:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1678. * lock.c (unlock): Only call stat if we need to.
  1679. Wed Apr 26 10:48:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1680. * server.c (new_entries_line): Don't prototype.
  1681. Tue Apr 25 22:19:16 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1682. * sanity.sh: Add new tests to catch bugs in Apr 23 change.
  1683. Tue Apr 25 17:10:55 1995 Roland McGrath <roland@baalperazim.frob.com>
  1684. * create_adm.c (Create_Admin): Use getwd instead of getcwd.
  1685. Sun Apr 23 20:58:32 1995 Noel Cragg <noel@vo.com>
  1686. * checkout.c (checkout): Disabled "expand-module" functionality on
  1687. remote checkout, since it makes modules behave like aliases (see
  1688. longer note there). This change necessitated the change below.
  1689. Also merged the like parts of a conditional.
  1690. * client.c (call_in_directory): Changed the algorithm that created
  1691. nested and directories and the "CVS" administration directories
  1692. therein. The algoithm wrongly assumed that the name of the
  1693. directory that that was to be created and the repository name were
  1694. the same, which breaks modules.
  1695. * create_adm.c (Create_Admin), module.c (do_module), server.c
  1696. (server_register), subr.c, entries.c: Added fprintfs for trace-mode
  1697. debugging.
  1698. * client.c (client_send_expansions): Argument to function didn't
  1699. have a type -- added one.
  1700. * server.c (new_entries_line): Arguments to this function are
  1701. never used -- reoved them and fixed callers.
  1702. Sat Apr 22 11:17:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1703. * rcs.c (RCS_parse): If we can't open the file, give an error
  1704. message (except for ENOENT in case callers rely on that).
  1705. Wed Apr 19 08:52:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1706. * client.c (send_repository): Check for CVSADM_ENTSTAT in `dir', not
  1707. in `.'.
  1708. * sanity.sh: Add TODO list. Revise some comments. Add tests of
  1709. one working directory adding a file and other updating it.
  1710. Sat Apr 8 14:52:55 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1711. * Makefile.in (CFLAGS): Let configure set the default for CFLAGS.
  1712. Under GCC, we want -g -O.
  1713. Fri Apr 7 15:49:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1714. * root.c (Name_Root): merge identical adjacent conditionals.
  1715. * create_admin.c (Create_Admin): Rearranged check for CVSADM and
  1716. OCVSADM directories so that CVSADM pathname is only built once.
  1717. * update.c (update_dirleave_proc): Removed code to remove CVS
  1718. administration directory if command_name == "export" and to
  1719. create CVS/Root file if it is not present. Identical code
  1720. in update_filesdone_proc() will perform these same actions.
  1721. Also removed code that read and verfied CVS/Root. This is
  1722. expensive, and if it is necessary should happen in the
  1723. general recursion processor rather than in the update
  1724. callbacks.
  1725. * lock.c (masterlock): New variable, pathname of master lockdir.
  1726. (set_lock): removed lockdir argument, now constructs it itself
  1727. and stores it in masterlock.
  1728. (clear_lock): new function, removes master lockdir.
  1729. (Reader_Lock, write_lock): call clear_lock instead of removing
  1730. master lockdir.
  1731. (Reader_Lock, write_lock): #ifdef'd out CVSTFL code.
  1732. * main.c (main): register Lock_Cleanup signal handler.
  1733. * lock.c (Reader_Lock, write_lock): no longer register
  1734. Lock_Cleanup.
  1735. * main.c (main): initialize new array hostname.
  1736. * lock.c (Reader_Lock, write_lock): Use global hostname array.
  1737. * logmsg.c (logfile_write): Likewise.
  1738. * recurse.c (do_dir_proc, unroll_files_proc): Use open()/fchdir()
  1739. instead of getwd()/chdir() on systems that support the fchdir()
  1740. system call.
  1741. Fri Apr 7 06:57:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1742. * server.c: Include the word "server" in error message for memory
  1743. exhausted, so the user knows which machine ran out of memory.
  1744. * sanity.sh: For remote, set CVS_SERVER to test the right server,
  1745. rather than a random one from the PATH.
  1746. * commit.c [DEATH_STATE]: Pass -f to `ci'.
  1747. Thu Apr 6 13:05:15 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1748. * commit.c (checkaddfile): If we didn't manage to fopen the file,
  1749. don't try to fclose it.
  1750. * client.c (handle_m, handle_e): Use fwrite, rather than a loop of
  1751. putc's. Sometimes these streams are unbuffered.
  1752. Tue Apr 4 11:33:56 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1753. * (DISTFILES): Include cvsbug.sh, ChangeLog, NOTES, RCS-patches,
  1754. README-rm-add, ChangeLog.fsf, sanity.sh, sanity.el, and
  1755. .cvsignore.
  1756. Mon Mar 27 08:58:42 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1757. * rcs.c (RCS_parsercsfile_i): Accept `dead' state regardless of
  1758. DEATH_STATE define. Revise comments regarding DEATH_STATE versus
  1759. CVSDEA versus the scheme which uses a patched RCS.
  1760. * README-rm-add, RCS-patches: Explain what versions of CVS need
  1761. RCS patches.
  1762. Sat Mar 25 18:51:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  1763. * server.c (server_cleanup): Only do the abysmal kludge of waiting
  1764. for command and draining the pipe #ifdef sun. The code makes
  1765. assumptions not valid on all systems, and is only there to
  1766. workaround a SunOS bug.
  1767. Wed Mar 22 21:55:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  1768. * server.c (mkdir_p): Call stat only if we get the EACCES. Faster
  1769. and more elegant.
  1770. Tue Jan 31 20:59:19 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  1771. * server.c: Try to avoid starting the "rm -rf" at cleanup time
  1772. until after subprocesses have finished.
  1773. (command_fds_to_drain, max_command_fd): New variables.
  1774. (do_cvs_command): Set them.
  1775. (command_pid_is_dead): New variable.
  1776. (wait_sig): New function.
  1777. (server_cleanup): If command_pid is nonzero, wait for it to die,
  1778. draining output from it in the meantime. If nonzero SIG was
  1779. passed, send a signal to the subprocess, to encourage it to die
  1780. soon.
  1781. * main.c (usage): Argument is now `const char *const *'.
  1782. * cvs.h (usage): Changed prototype.
  1783. (USE): Make new variable `const'.
  1784. * add.c (add_usage), admin.c (admin_usage), checkout.c
  1785. (checkout_usage, export_usage, checkout), commit.c (commit_usage),
  1786. diff.c (diff_usage), history.c (history_usg), import.c
  1787. (import_usage, keyword_usage), log.c (log_usage), main.c (usg),
  1788. patch.c (patch_usage), release.c (release_usage), remove.c
  1789. (remove_usage), rtag.c (rtag_usage), server.c (server), status.c
  1790. (status_usage), tag.c (tag_usage), update.c (update_usage): Usage
  1791. messages are now const arrays of pointers to const char.
  1792. * import.c (comtable): Now const.
  1793. * main.c (rcsid): Now static.
  1794. (cmd): Now const.
  1795. (main): Local variable CM now points to const.
  1796. * server.c (outbuf_memory_error): Local var MSG now const.
  1797. * client.c (client_commit_usage): Deleted.
  1798. Sat Dec 31 15:51:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1799. * logmsg.c (do_editor): Allocate enough space for trailing '\0'.
  1800. Fri Mar 3 11:59:49 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1801. * cvsbug.sh: Call it "Cyclic CVS" now, not "Remote CVS". Call it
  1802. version C1.4A, not 1.4A2-remote. Send bugs to cyclic-cvs, not
  1803. remote-cvs.
  1804. * classify.c (Classify_File): Put check for dead file inside
  1805. "#ifdef DEATH_SUPPORT".
  1806. Thu Feb 23 23:03:43 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1807. * update.c (join_file): Don't pass the -E option to rcsmerge here,
  1808. either (see Jan 22 change).
  1809. Mon Feb 13 13:28:46 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1810. * cvsbug.sh: Send bug reports to remote-cvs@cyclic.com, rather
  1811. than to the ordinary CVS bug address. This does mean we'll have
  1812. to wade through GNATS-style bug reports, sigh.
  1813. Wed Feb 8 06:42:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  1814. * server.c: Don't include <sys/stat.h>; system.h already does, and
  1815. 4.3BSD can't take it twice.
  1816. * subr.c [! HAVE_VPRINTF] (run_setup, run_args): Don't use va_dcl
  1817. in declaration. Declare the a1..a8 args which are used in the
  1818. sprintf call.
  1819. * cvs.h [! HAVE_VPRINTF] (run_setup, run_args): Don't prototype
  1820. args, to avoid conflicting with the function definitions
  1821. themselves.
  1822. Tue Feb 7 20:10:00 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1823. * client.c (update_entries): Pass the patch subprocess the switch
  1824. "-b ~", not "-b~"; the latter form seems not to work with patch
  1825. version 2.0 and earlier --- it takes the next argv element as the
  1826. backup suffix, and thus doesn't notice that the patch file's name
  1827. has been specified, thus doesn't find the patch, thus... *aargh*
  1828. Fri Feb 3 20:28:21 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1829. * log.c (log_option_with_arg): New function.
  1830. (cvslog): Use it and send_arg to handle the rlog options that take
  1831. arguments. The code used to use send_option_string for
  1832. everything, which assumes that "-d1995/01/02" is equivalent to
  1833. "-d -1 -9 -9 -5 ...".
  1834. Tue Jan 31 15:02:01 1995 Jim Blandy <jimb@floss.life.uiuc.edu>
  1835. * server.c: #include <sys/stat.h> for the new stat call in mkdir_p.
  1836. (mkdir_p): Don't try to create the intermediate directory if it
  1837. exists already. Some systems return EEXIST, but others return
  1838. EACCES, which we can't otherwise distinguish from a real access
  1839. problem.
  1840. Sun Jan 22 15:25:45 1995 Jim Blandy <jimb@totoro.bio.indiana.edu>
  1841. * update.c (merge_file): My rcsmerge doesn't accept a -E option,
  1842. and it doesn't look too important, so don't pass it.
  1843. Fri Jan 20 14:24:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
  1844. * client.c (do_deferred_progs): Don't try to chdir to toplevel_wd
  1845. if it has not been set.
  1846. (process_prune_candidates): Likewise.
  1847. Mon Nov 28 09:59:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1848. * client.c (client_commit): Move guts of function from here...
  1849. * commit.c (commit): ...to here.
  1850. Mon Nov 28 15:14:36 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  1851. * server.c (buf_input_data, buf_send_output): Start cpp directives
  1852. in column 1, otherwise Sun 4 pcc complains.
  1853. Mon Nov 28 09:59:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1854. * client.c (add_prune_candidate): Don't try to prune ".".
  1855. Tue Nov 22 05:27:10 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1856. * server.c, client.c: More formatting cleanups.
  1857. * client.h, client.c: New variable client_prune_dirs.
  1858. * update.c (update), checkout.c (checkout): Set it.
  1859. * client.c (add_prune_candidate, process_prune_candidates): New
  1860. functions.
  1861. (send_repository, call_in_directory, get_responses_and_close):
  1862. Call them.
  1863. Wed Nov 23 01:17:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1864. * server.c (do_cvs_command): Don't select on STDOUT_FILENO unless
  1865. we have something to write.
  1866. Tue Nov 22 05:27:10 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1867. * remove.c (remove_fileproc): Only call server_checked_in if we
  1868. actually are changing the entries file.
  1869. * server.c (server_write_entries): New function.
  1870. (dirswitch, do_cvs_command): Call it.
  1871. (serve_entry, serve_updated): Just update in-memory data
  1872. structures, don't mess with CVS/Entries file.
  1873. Mon Nov 21 10:15:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1874. * server.c (server_checked_in): Set scratched_file to NULL after
  1875. using it.
  1876. * checkin.c (Checkin): If the file was changed by the checkin,
  1877. call server_updated not server_checked_in.
  1878. Sun Nov 20 08:01:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1879. * client.c (send_repository): Move check for update_dir NULL to
  1880. before where we check last_update_dir. Check for "" here too.
  1881. * client.c (send_repository): Use new argument dir.
  1882. * client.c: Pass new argument dir to send_repository and
  1883. send_a_repository.
  1884. * server.c, server.h (server_prog): New function.
  1885. * modules.c (do_modules): Call it if server_expanding.
  1886. * client.c: Support Set-checkin-prog and Set-update-prog responses.
  1887. * server.c, client.c: Add Checkin-prog and Update-prog requests.
  1888. Fri Nov 18 14:04:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1889. * client.c (get_short_pathname, is_cvsroot_level,
  1890. call_in_directory): Base whether this is new-style or
  1891. old-style based on whether we actually used the Directory request,
  1892. not based on whether the pathname is absolute. Rename
  1893. directory_supported to use_directory.
  1894. * server.c: Rename use_relative_pathnames to use_dir_and_repos.
  1895. * client.c (send_a_repository): If update_dir is absolute, don't
  1896. use it to try to reconstruct how far we have recursed.
  1897. * server.c, server.h, client.c, client.h, vers_ts.c, update.h:
  1898. More cosmetic changes (identation, PARAMS vs. PROTO, eliminate
  1899. alloca, etc.) to remote CVS to make it more like the rest of CVS.
  1900. * server.c: Make server_temp_dir just the dir name, not the name
  1901. with "%s" at the end.
  1902. * server.c, client.c: Add "Max-dotdot" request, and use it to make
  1903. extra directories in server_temp_dir if needed.
  1904. Thu Nov 17 09:03:28 1994 Jim Kingdon <kingdon@cygnus.com>
  1905. * client.c: Fix two cases where NULL was used and 0 was meant.
  1906. Mon Nov 14 08:48:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1907. * server.c (serve_unchanged): Set noexec to 0 when calling Register.
  1908. * update.c (merge_file): Don't call xcmp if noexec.
  1909. Fri Nov 11 13:58:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1910. * client.c (call_in_directory): Deal with it if reposdirname is
  1911. not a subdirectory of toplevel_repos.
  1912. Mon Nov 7 09:12:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1913. * patch.c: If file is removed and we don't have a tag or date,
  1914. just print "current release".
  1915. * classify.c (Classify_File): Treat dead files appropriately.
  1916. Fri Nov 4 07:33:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1917. * main.c (main) [SERVER_SUPPORT]: Move call to getwd past where we
  1918. know whether we are the server or not. Set CurDir to "<remote>"
  1919. if we are the server.
  1920. * client.c: Remove #if 0'd function option_with_arg.
  1921. Remove #if 0'd code pertaining to the old way of logging the
  1922. session.
  1923. * client.c (start_rsh_server): Don't invoke the server with the
  1924. -d option.
  1925. * server.c (serve_root): Test root for validity, just like main.c
  1926. does for non-remote CVS.
  1927. * main.c (main): If `cvs server' happens with a colon in the
  1928. CVSroot, just handle it normally; don't make it an error.
  1929. Wed Nov 2 11:09:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1930. * client.c (send_dirent_proc): If dir does not exist, just return
  1931. R_SKIP_ALL.
  1932. * server.c, client.c: Add Directory request and support for
  1933. local relative pathnames (along with the repository absolute
  1934. pathnames).
  1935. * update.c, add.c, checkout.c, checkin.c, cvs.h, create_adm.c,
  1936. commit.c, modules.c, server.c, server.h, remove.c, client.h:
  1937. Pass update_dir to server_* functions. Include update_dir in
  1938. more error messages.
  1939. Fri Oct 28 08:54:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1940. * client.c: Reformat to bring closer to cvs standards for brace
  1941. position, comment formatting, etc.
  1942. * sanity.sh: Remove wrong "last mod" line. Convert more tests to
  1943. put PASS or FAIL in log file. Change it so arguments to the
  1944. script specify which tests to run.
  1945. * client.c, client.h, server.c, checkout.c: Expand modules in
  1946. separate step from the checkout itself.
  1947. Sat Oct 22 20:33:35 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
  1948. * update.c (join_file): When checking for null return from
  1949. RCS_getversion, still do return even if quiet flag is set.
  1950. Thu Oct 13 07:36:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  1951. * client.c (send_files): Call send_repository even if
  1952. toplevel_repos was NULL.
  1953. * server.c (server_updated): If joining, don't remove file.
  1954. * update.c (join_file): If server and file is unmodified, check it
  1955. out before joining. After joining, call server_updated. New
  1956. argument repository.
  1957. * server.c, server.h (server_copy_file): New function.
  1958. * update.c (update_file_proc, join_file): Call it.
  1959. * client.c (copy_file, handle_copy_file): New functions.
  1960. * client.c (responses): Add "Copy-file".
  1961. * client.c, client.h: Make toplevel_wd, failed_patches and
  1962. failed_patches_count extern.
  1963. * client.c (client_update): Move guts of function from here...
  1964. * update.c (update): ...to here.
  1965. * client.c, checkout.c: Likewise for checkout.
  1966. * client.c (is_cvsroot_level): New function.
  1967. (handle_set_sticky, handle_clear_sticky,
  1968. handle_clear_static_directory): Call it, instead of checking
  1969. short_pathname for a slash.
  1970. * client.c, client.h (client_process_import_file,
  1971. client_import_done): New functions.
  1972. * import.c (import, import_descend): Use them.
  1973. * import.c (import_descend): If server, don't mention ignored CVS
  1974. directories.
  1975. * import.c (import_descend_dir): If client, don't print warm
  1976. fuzzies, or make directories in repository. If server, print warm
  1977. fuzzies to stdout not stderr.
  1978. * client.c (send_modified): New function, broken out from
  1979. send_fileproc.
  1980. (send_fileproc): Call it.
  1981. * client.c (handle_clear_sticky, handle_set_sticky,
  1982. handle_clear_static_directory, handle_set_static_directory): If
  1983. command is export, just return.
  1984. (call_in_directory, update_entries): If command is export, don't
  1985. create CVS directories, CVS/Entries files, etc.
  1986. * update.c (update_filesdone_proc): Don't remove CVS directories if
  1987. client_active.
  1988. * client.c (send_a_repository): Instead of insisting that
  1989. repository end with update_dir, just strip as many pathname
  1990. components from the end as there are in update_dir.
  1991. * Makefile.in (remotecheck): New target, pass -r to sanity.sh.
  1992. * sanity.sh: Accept -r argument which means to test remote cvs.
  1993. * tag.c (tag), rtag.c (rtag), patch.c (patch), import.c (import),
  1994. admin.c (admin), release.c (release): If client_active, connect to
  1995. the server and send the right requests.
  1996. * main.c (cmds): Add these commands.
  1997. (main): Remove code which would strip hostname off cvsroot and try
  1998. the command locally. There are no longer any commands which are
  1999. not supported.
  2000. * client.c, client.h (client_rdiff, client_tag, client_rtag,
  2001. client_import, client_admin, client_export, client_history,
  2002. client_release): New functions.
  2003. * server.c (serve_rdiff, serve_tag, serve_rtag, serve_import,
  2004. serve_admin, serve_export, serve_history, serve_release): New
  2005. functions.
  2006. (requests): List them.
  2007. * server.c: Declare cvs commands (add, admin, etc.).
  2008. * cvs.h, server.h: Don't declare any of them here.
  2009. * main.c: Restore declarations of cvs commands which were
  2010. previously removed.
  2011. * cvs.h: New define DEATH_STATE, commented out for now.
  2012. * rcs.c (RCS_parsercsfile_i), commit.c (remove_file, checkaddfile)
  2013. [DEATH_STATE]: Use RCS state to record a dead file.
  2014. Mon Oct 3 09:44:54 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2015. * status.c (status_fileproc): Now that ts_rcs is just one time,
  2016. don't try to print the second time from it. (Same as raeburn 20
  2017. Aug change, it accidentally got lost in 1.4 Alpha-1 merge).
  2018. * cvs.h (CVSDEA): Added (but commented out for now).
  2019. * rcs.c (RCS_parsercsfile_i) [CVSDEA]: Also look in CVSDEA to see if
  2020. something is dead.
  2021. * commit.c (ci_new_rev, mark_file) [CVSDEA]: New functions.
  2022. (remove_file, checkaddfile) [CVSDEA]: Use them instead of ci -K.
  2023. * find_names.c (find_dirs) [CVSDEA]: Don't match CVSDEA directories.
  2024. * update.c (checkout_file): Check RCS_isdead rather than relying
  2025. on co to not create the file.
  2026. * sanity.sh: Direct output to logfile, not /dev/null.
  2027. * subr.c (run_exec): Print error message if we are unable to exec.
  2028. * commit.c (remove_file): Call Scratch_Entry when removing tag
  2029. from file. The DEATH_SUPPORT ifdef was erroneous.
  2030. Sun Oct 2 20:33:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2031. * commit.c (checkaddfile): Instead of calling isdir before
  2032. attempting to create the directory, just ignore EEXIST errors from
  2033. mkdir. (This removes some DEATH_SUPPORT ifdefs which actually had
  2034. nothing to do with death support).
  2035. Thu Sep 29 09:23:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2036. * diff.c (diff): Search attic too if we have a second tag/date.
  2037. (diff_fileproc): If we have a second tag/date, don't do all the
  2038. checking regarding the user file.
  2039. Mon Sep 26 12:02:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2040. * checkin.c (Checkin): Check for error from unlink_file.
  2041. Mon Sep 26 08:51:10 1994 Anthony J. Lill (ajlill@ajlc.waterloo.on.ca)
  2042. * rcs.c (getrcskey): Allocate space for terminating '\0' if
  2043. necessary.
  2044. Sat Sep 24 09:07:37 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2045. * commit.c (commit_fileproc): Set got_message = 1 when calling
  2046. do_editor (accidentally omitted from last change).
  2047. Fri Sep 23 11:59:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2048. Revert buggy parts of Rich's change of 1 Nov 1993 (keeping the
  2049. dynamic buffer allocation, which was the point of that change).
  2050. * logmsg.c (do_editor): Reinstate message arg, but make it char
  2051. **messagep instead of char *message. Change occurances of message
  2052. to *messagep. Char return type from char * back to void.
  2053. * cvs.h: Change do_editor declaration.
  2054. * commit.c: Reinstate got_message variable
  2055. (commit_filesdoneproc, commit_fileproc, commit_direntproc): Use it.
  2056. * import.c (import), commit.c (commit_fileproc,
  2057. commit_direntproc): Pass &message to do_editor; don't expect it to
  2058. return a value.
  2059. * client.c (client_commit): Likewise.
  2060. * import.c (import): Deal with it if message is NULL.
  2061. Wed Sep 21 09:43:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2062. * server.c (server_updated): If the file doesn't exist, skip it.
  2063. * diff.c, client.h, client.c: Rename diff_client_senddate to
  2064. client_senddate and move from diff.c to client.c.
  2065. * client.c (client_update, client_checkout): Use it.
  2066. Sat Sep 17 08:36:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2067. * checkout.c (checkout_proc): Don't pass NULL to Register for
  2068. version. (should fix "cvs co -r <nonexistent-tag> <file>"
  2069. coredump on Solaris).
  2070. Fri Sep 16 08:38:02 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2071. * diff.c (diff_fileproc): Set top_rev from vn_user, not vn_rcs.
  2072. Rename it to user_file_rev because it need not be the head of any
  2073. branch.
  2074. (diff_file_nodiff): After checking user_file_rev, if we have both
  2075. use_rev1 and use_rev2, compare them instead of going on to code
  2076. which assumes use_rev2 == NULL.
  2077. Thu Sep 15 08:20:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2078. * status.c (status): Return a value in client_active case.
  2079. Thu Sep 15 15:02:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2080. * server.c (serve_modified): Create the file even if the size is
  2081. zero.
  2082. Thu Sep 15 08:20:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2083. * lock.c (readers_exist): Clear errno each time around the loop,
  2084. not just the first time.
  2085. * client.c (start_server): Don't send Global_option -q twice.
  2086. * no_diff.c (No_Difference): Check for error from unlink.
  2087. * no_diff.c, cvs.h (No_Difference): New args repository,
  2088. update_dir. Call server_update_entries if needed. Use update_dir
  2089. in error message.
  2090. * classify.c (Classify_File): Pass new args to No_Difference.
  2091. * server.c (server_update_entries, server_checked_in,
  2092. server_updated): Don't do anything if noexec.
  2093. * client.c (send_fileproc): Rather than guessing how big the gzip
  2094. output may be, just realloc the buffer as needed.
  2095. Tue Sep 13 13:22:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2096. * lock.c: Check for errors from unlink, readdir, and closedir.
  2097. * classify.c (Classify_File): Pass repository and update_dir to
  2098. sticky_ck.
  2099. (sticky_ck): New args repository and update_dir.
  2100. * server.c, server.h (server_update_entries): New function.
  2101. * classify.c (sticky_ck): Call it.
  2102. * client.c: New response "New-entry".
  2103. * client.c (send_fileproc): Send tag/date from vers->entdata, not
  2104. from vers itself.
  2105. Mon Sep 12 07:07:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2106. * server.c: Clean up formatting ("= (errno)" -> "= errno").
  2107. * cvs.h: Declare strerror.
  2108. * client.c: Add code to deal with Set-sticky and Clear-sticky
  2109. responses, and Sticky request.
  2110. * server.c: Add code to deal with Sticky request.
  2111. * server.c, server.h (server_set_sticky): New function.
  2112. * create_adm.c (Create_Admin), update.c (update, update_dirent_proc),
  2113. commit.c (commit_dirleaveproc): Call it.
  2114. * client.c, client.h (send_files): Add parameter aflag.
  2115. * add.c (add), diff.c (diff), log.c (cvslog), remove.c (cvsremove),
  2116. status.c (status),
  2117. client.c (client_commit, client_update, client_checkout): Pass it.
  2118. * client.c (client_update): Add -A flag.
  2119. Fri Sep 9 07:05:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2120. * entries.c (WriteTag): Check for error from unlink_file.
  2121. * server.c (server_updated): Initialize size to 0. Previously if
  2122. the file was zero length, the variable size got used without being
  2123. set.
  2124. Thu Sep 8 14:23:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2125. * server.c (serve_repository): Check for error from fopen on
  2126. CVSADM_ENT.
  2127. * update.c (update, update_dirent_proc): Check for errors when
  2128. removing Entries.Static.
  2129. * client.c: Add code to deal with Set-static-directory and
  2130. Clear-static-directory responses, and Static-directory request.
  2131. * server.c, server.h (server_clear_entstat, server_set_entstat):
  2132. New functions.
  2133. * update.c, checkout.c, modules.c: Call them.
  2134. * server.c: Add code to deal with Static-directory request.
  2135. * server.c, client.c: Use strchr and strrchr instead of index and
  2136. rindex.
  2137. * server.c (serve_unchanged, serve_lost): Change comments which
  2138. referred to changing timestamp; we don't always change the
  2139. timestamp in those cases anymore.
  2140. Wed Sep 7 10:58:12 1994 J.T. Conklin (jtc@rtl.cygnus.com)
  2141. * cvsrc.c (read_cvsrc): Don't call getenv() three times when one
  2142. time will do.
  2143. * subr.c (xmalloc, xrealloc): Change type of bytes argument from
  2144. int to size_t and remove the test that checks if it is less than
  2145. zero.
  2146. * cvs.h (xmalloc, xrealloc): Update prototype.
  2147. Thu Sep 1 12:22:20 1994 Jim Kingdon (kingdon@cygnus.com)
  2148. * update.c (merge_file, join_file): Pass -E to rcsmerge.
  2149. (merge_file): If rcsmerge doesn't change the file, say so.
  2150. * recurse.c, cvs.h (start_recursion): New argument wd_is_repos.
  2151. * recurse.c (start_recursion): Use it instead of checking whether
  2152. command_name is rtag to find out if we are cd'd to the repository.
  2153. * client.c, update.c, commit.c, status.c, diff.c, log.c, admin.c,
  2154. remove.c, tag.c: Pass 0 for wd_is_repos.
  2155. * rtag.c, patch.c: Pass 1 for wd_is_repos.
  2156. * classify.c, cvs.h (Classify_File): New argument pipeout.
  2157. * classify.c (Classify_File): If pipeout, don't complain if the
  2158. file is already there.
  2159. * update.c, commit.c, status.c: Change callers.
  2160. * mkmodules.c (main): Don't print "reminders" if commitinfo,
  2161. loginfo, rcsinfo, or editinfo files are missing.
  2162. Mon Aug 22 23:22:59 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
  2163. * server.c (strerror): Static definition replaced by extern
  2164. declaration.
  2165. Sun Aug 21 07:16:27 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
  2166. * client.c (update_entries): Run "patch" with input from
  2167. /dev/null, so if it's the wrong version, it fails quickly rather
  2168. than waiting for EOF from terminal before failing.
  2169. Sat Aug 20 04:16:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  2170. * server.c (serve_unchanged): Instead of creating a file with a
  2171. zero timestamp, rewrite the entries file to have "=" in the
  2172. timestamp field.
  2173. * vers_ts.c (mark_lost, mark_unchanged): New macros.
  2174. (time_stamp_server): Use them, for clarity. Interpret "="
  2175. timestamp as an unchanged file. A zero-timestamp file should
  2176. never be encountered now in use_unchanged mode.
  2177. * client.c (start_server): If CVS_CLIENT_PORT indicates a
  2178. non-positive port number, skip straight to rsh connection.
  2179. * status.c (status_fileproc): Fix ts_rcs reference when printing
  2180. version info, to correspond to new Entries file format. Don't
  2181. print it at all if server_active, because it won't have any useful
  2182. data.
  2183. Thu Aug 18 14:38:21 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  2184. * cvs.h (status): Declare.
  2185. * client.c (client_status): New function.
  2186. * client.h (client_status): Declare.
  2187. * main.c (cmds): Include it.
  2188. * server.c (serve_status): New function.
  2189. (requests): Add it.
  2190. * status.c (status): Do the remote thing if client_active.
  2191. * client.c (supported_request): New function.
  2192. (start_server): Use it.
  2193. * server.c (receive_partial_file): New function, broken out from
  2194. serve_modified. Operate with fixed-size local buffer, instead of
  2195. growing stack frame by entire file size.
  2196. (receive_file): New function, broken out from serve_modified.
  2197. (serve_modified): Call it.
  2198. (server): Print out name of unrecognized request.
  2199. More generic stream-filtering support:
  2200. * client.c (close_on_exec, filter_stream_through_program): New
  2201. functions.
  2202. (server_fd): New variable.
  2203. (get_responses_and_close): Direct non-rsh connection is now
  2204. indicated by server_fd being non-negative. File descriptors for
  2205. to_server and from_server may now be different in case "tee"
  2206. filtering is being done. Wait for rsh_pid specifically.
  2207. (start_server): Use filter_stream_through_program for "tee"
  2208. filter, and enable it for direct Kerberos-authenticated
  2209. connections. Use dup to create new file descriptors for server
  2210. connection if logging is enabled.
  2211. (start_rsh_server): Disable code that deals with logging.
  2212. Per-file compression support:
  2213. * cvs.h (gzip_level): Declare.
  2214. * main.c (usg): Describe new -z argument.
  2215. (main): Recognize it and set gzip_level.
  2216. * client.c (filter_through_gzip, filter_through_gunzip): New
  2217. functions to handle compression.
  2218. (update_entries): If size starts with "z", uncompress
  2219. (start_server): If gzip_level is non-zero and server supports it,
  2220. issue gzip-file-contents request.
  2221. (send_fileproc): Optionally compress file contents. Use a
  2222. slightly larger buffer, anticipating the worst case.
  2223. * server.c (gzip_level): Define here.
  2224. (receive_file): Uncompress file contents if needed.
  2225. (serve_modified): Recognize "z" in file size and pass receive_file
  2226. appropriate flag.
  2227. (buf_read_file_to_eof, buf_chain_length): New functions.
  2228. (server_updated): Call them when sending a compressed file.
  2229. (serve_gzip_contents): New function; set gzip_level.
  2230. (requests): Added gzip-file-contents request.
  2231. Wed Aug 17 09:37:44 1994 J.T. Conklin (jtc@cygnus.com)
  2232. * find_names.c (find_dirs): Use 4.4BSD filesystem feature (it
  2233. contains the file type in the dirent structure) to avoid
  2234. stat'ing each file.
  2235. * commit.c (remove_file,checkaddfile): Change type of umask
  2236. variables from int to mode_t.
  2237. * subr.c (): Likewise.
  2238. Tue Aug 16 19:56:34 1994 Mark Eichin (eichin@cygnus.com)
  2239. * diff.c (diff_fileproc): Don't use diff_rev* because they're
  2240. invariant across calls -- add new variable top_rev.
  2241. (diff_file_nodiff): After checking possible use_rev* values, if
  2242. top_rev is set drop it in as well (if we don't already have two
  2243. versions) and then clear it for next time around.
  2244. Wed Aug 10 20:50:47 1994 Mark Eichin (eichin@cygnus.com)
  2245. * diff.c (diff_fileproc): if ts_user and ts_rcs match, then the
  2246. file is at the top of the tree -- so we might not even have a
  2247. copy. Put the revision into diff_rev1 or diff_rev2.
  2248. Wed Aug 10 14:55:38 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  2249. * server.c (do_cvs_command): Use waitpid.
  2250. * subr.c (run_exec): Always use waitpid.
  2251. * Makefile.in (CC, LIBS): Define here, in case "make" is run in
  2252. this directory instead of top level.
  2253. Wed Aug 10 13:57:06 1994 Mark Eichin (eichin@cygnus.com)
  2254. * client.c (krb_get_err_text): use HAVE_KRB_GET_ERR_TEXT to
  2255. determine if we need to use the array or the function.
  2256. * main.c: ditto.
  2257. Tue Aug 9 16:43:30 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  2258. * entries.c (ParseEntries): If timestamp is in old format, rebuild
  2259. it in the new format. Fudge an unmatchable entry that won't
  2260. trigger this code next time around, if the file is modified.
  2261. * vers_ts.c (time_stamp): Only put st_mtime field into timestamp,
  2262. and use GMT time for it. With st_ctime or in local time, copying
  2263. trees between machines in different time zones makes all the files
  2264. look modified.
  2265. (time_stamp_server): Likewise.
  2266. Tue Aug 9 19:40:51 1994 Mark Eichin (eichin@cygnus.com)
  2267. * main.c (main): use krb_get_err_text function instead of
  2268. krb_err_txt array.
  2269. Thu Aug 4 15:37:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2270. * main.c (main): When invoked as kserver, set LOGNAME and USER
  2271. environment variables to the remote user name.
  2272. Thu Aug 4 07:44:37 1994 Mark Eichin (eichin@cygnus.com)
  2273. * client.c: (handle_valid_requests): if we get an option that has
  2274. rq_enableme set, then send that option. If it is UseUnchanged, set
  2275. use_unchanged so that the rest of the client knows about
  2276. it. (Could become a more general method for dealing with protocol
  2277. upgrades.)
  2278. (send_fileproc): if use_unchanged didn't get set, send an
  2279. old-style "Lost" request, otherwise send an "Unchanged" request.
  2280. * server.c (serve_unchanged): new function, same as serve_lost,
  2281. but used in the opposite case.
  2282. (requests): add new UseUnchanged and Unchanged requests, and make
  2283. "Lost" optional (there isn't a good way to interlock these.)
  2284. * server.h (request.status): rq_enableme, new value for detecting
  2285. compatibility changes.
  2286. * vers_ts.c (time_stamp_server): swap meaning of zero timestamp if
  2287. use_unchanged is set.
  2288. Tue Jul 26 10:19:30 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2289. * sanity.sh: Separate CVSROOT_FILENAME, which must be the filename
  2290. of the root, from CVSROOT, which can include a hostname for
  2291. testing remote CVS. (but the tests aren't yet prepared to deal
  2292. with the bugs in remote CVS).
  2293. * import.c (update_rcs_file): Change temporary file name in TMPDIR
  2294. from FILE_HOLDER to cvs-imp<process-id>.
  2295. * sanity.sh: Add ">/dev/null" and "2>/dev/null" many places to
  2296. suppress spurious output. Comment out tests which don't work (cvs
  2297. add on top-level directory, cvs diff when non-committed adds or
  2298. removes have been made, cvs release, test 53 (already commented as
  2299. broken), retagging without deleting old tag, test 63). Now 'make
  2300. check' runs without any failures.
  2301. Fri Jul 15 12:58:29 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2302. * Makefile.in (install): Do not depend upon installdirs.
  2303. Thu Jul 14 15:49:42 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2304. * client.c, server.c: Don't try to handle alloca here; it's
  2305. handled by cvs.h.
  2306. Tue Jul 12 13:32:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2307. * client.c (update_entries): Reset stored_checksum_valid if we
  2308. quit early because of a patch failure.
  2309. Fri Jul 8 11:13:05 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2310. * client.c (responses): Mark "Remove-entry" as optional.
  2311. Thu Jul 7 14:07:58 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2312. * server.c (server_updated): Add new checksum argument. If it is
  2313. not NULL, and the client supports the "Checksum" response, send
  2314. it.
  2315. * server.h (server_updated): Update prototype.
  2316. * update.c: Include md5.h.
  2317. (update_file_proc): Pass new arguments to patch_file and
  2318. server_updated.
  2319. (patch_file): Add new checksum argument. Set it to the MD5
  2320. checksum of the version of the file being checked out.
  2321. (merge_file): Pass new argument to server_updated.
  2322. * client.c: Include md5.h.
  2323. (stored_checksum_valid, stored_checksum): New static variables.
  2324. (handle_checksum): New static function.
  2325. (update_entries): If a checksum was received, check it against the
  2326. MD5 checksum of the final file.
  2327. (responses): Add "Checksum".
  2328. (start_server): Clear stored_checksum_valid.
  2329. * commit.c (commit_fileproc): Pass new argument to server_updated.
  2330. * client.h (struct response): Move definition in from client.c,
  2331. add status field.
  2332. (responses): Declare.
  2333. * client.c (struct response): Remove definition; moved to
  2334. client.h.
  2335. (responses): Make non-static. Initialize status field.
  2336. * server.c (serve_valid_responses): Check and record valid
  2337. responses, just as in handle_valid_requests in client.c.
  2338. * diff.c (diff_client_senddate): New function.
  2339. (diff): Use it to send -D arguments to server.
  2340. Wed Jul 6 12:52:37 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
  2341. * rcs.c (RCS_parsercsfile_i): New function, parse RCS file
  2342. referenced by file ptr argument.
  2343. (RCS_parsercsfile): Open file and pass its file ptr to above function.
  2344. (RCS_parse): Likewise.
  2345. Wed Jul 6 01:25:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2346. * client.c (update_entries): Print message indicating that an
  2347. unpatchable file will be refetched.
  2348. (client_update): Print message when refetching unpatchable files.
  2349. Fri Jul 1 07:16:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2350. * client.c (send_dirent_proc): Don't call send_a_repository if
  2351. repository is "".
  2352. Fri Jul 1 13:58:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2353. * client.c (last_dirname, last_repos): Move out of function.
  2354. (failed_patches, failed_patches_count): New static variables.
  2355. (update_entries): If patch program fails, save short_pathname in
  2356. failed_patches array, only exit program if retcode is -1, and
  2357. return out of the function rather than update the Entries line.
  2358. (start_server): Clear toplevel_repos, last_dirname, last_repos.
  2359. (client_update): If failed_patches is not NULL after doing first
  2360. update, do another update, but remove all the failed files first.
  2361. Thu Jun 30 09:08:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2362. * server.c (requests): Add request "Global_option".
  2363. (serve_global_option): New function, to handle it.
  2364. * client.c (start_server): Deal with global options. Check for
  2365. errors from fprintf.
  2366. * client.c (send_fileproc): Split out code which sends repository
  2367. into new function send_a_repository. Also, deal with update_dir
  2368. being ".".
  2369. (send_dirent_proc): Call send_a_repository.
  2370. * add.c (add): If client_active, do special processing for
  2371. directories.
  2372. (add_directory): If server_active, don't try to create CVSADM
  2373. directory.
  2374. Thu Jun 30 11:58:52 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2375. * client.c (update_entries): If patch succeeds, remove the backup
  2376. file.
  2377. * server.c (server_updated): Add new argument file_info. If it is
  2378. not NULL, use it rather than sb to get the file mode.
  2379. * server.h (server_updated): Update prototype for new argument.
  2380. * update.c (update_file_proc): Pass new arguments to patch_file
  2381. and server_updated.
  2382. (patch_file): Add new argument file_info. Don't use -p to check
  2383. out new version, check it out into file and rename that to file2.
  2384. If result is not readable, assume file is dead and set docheckout.
  2385. Call xchmod on file2. Close the patch file after checking for a
  2386. binary diff. Set file_info to the results of stat on file2.
  2387. (merge_file): Pass new argument to server_updated.
  2388. * commit.c (commit_fileproc): Pass new argument to server_updated.
  2389. Wed Jun 29 13:00:41 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2390. * client.c (krb_realmofhost): Declare, since it's not the current
  2391. <krb.h>.
  2392. (start_server): Save the name returned by gethostbyname. Call
  2393. krb_realmofhost to get the realm. Pass the resulting realm to
  2394. krb_sendauth. Pass the saved real name to krb_sendauth, rather
  2395. than server_host.
  2396. * update.c (update_file_proc): Pass &docheckout to patch_file. If
  2397. it is set to 1, fall through to T_CHECKOUT case.
  2398. (patch_file): Add docheckout argument. Set it to 1 if we can't
  2399. make a patch. Check out the files and run diff rather than
  2400. rcsdiff. If either file does not end in a newline, we can't make
  2401. a patch. If the patch starts with the string "Binary", assume
  2402. one or the other is a binary file, and that we can't make a patch.
  2403. Tue Jun 28 11:57:29 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2404. * client.c (update_entries): If the patch file is empty, don't run
  2405. patch program; avoids error message.
  2406. * classify.c (Classify_File): Return T_CHECKOUT, not T_PATCH, if
  2407. the file is in the Attic.
  2408. * cvs.h (enum classify_type): Add T_PATCH.
  2409. * config.h (PATCH_PROGRAM): Define.
  2410. * classify.c (Classify_File): If user file exists and is not
  2411. modified, and using the same -k options, return T_PATCH instead of
  2412. T_CHECKOUT.
  2413. * update.c (patches): New static variable.
  2414. (update): Add u to gnu_getopt argument. Handle it.
  2415. (update_file_proc): Handle T_PATCH.
  2416. (patch_file): New static function.
  2417. * server.h (enum server_updated_arg4): Add SERVER_PATCHED.
  2418. * server.c (server_updated): Handle SERVER_PATCHED by sending
  2419. "Patched" command.
  2420. (serve_ignore): New static function.
  2421. (requests): Add "update-patches".
  2422. (client_update): If the server supports "update-patches", send -u.
  2423. * client.c (struct update_entries_data): Change contents field
  2424. from int to an unnamed enum.
  2425. (update_entries): Correponding change. If contents is
  2426. UPDATE_ENTRIES_PATCH, pass the input to the patch program.
  2427. (handle_checked_in): Initialize contents to enum value, not int.
  2428. (handle_updated, handle_merged): Likewise.
  2429. (handle_patched): New static function.
  2430. (responses): Add "Patched".
  2431. * commit.c (check_fileproc): Handle T_PATCH.
  2432. * status.c (status_fileproc): Likewise.
  2433. * client.c (start_server): If CVS_CLIENT_PORT is set in the
  2434. environment, connect to that port, rather than looking up "cvs" in
  2435. /etc/services. For debugging.
  2436. Tue Jun 21 12:48:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  2437. * update.c (joining): Return result of comparing pointer with
  2438. NULL, not result of casting (truncating, on Alpha) pointer to int.
  2439. * main.c (main) [HAVE_KERBEROS]: Impose a umask if starting as
  2440. Kerberos server, so temp directories won't be world-writeable.
  2441. * update.c (update_filesdone_proc) [CVSADM_ROOT]: If environment
  2442. variable CVS_IGNORE_REMOTE_ROOT is set and repository is remote,
  2443. don't create CVS/Root file.
  2444. * main.c (main): If env var CVS_IGNORE_REMOTE_ROOT is set, don't
  2445. check CVS/Root.
  2446. Fri Jun 10 18:48:32 1994 Mark Eichin (eichin@cygnus.com)
  2447. * server.c (O_NDELAY): use POSIX O_NONBLOCK by default, unless it
  2448. isn't available (in which case substitute O_NDELAY.)
  2449. Thu Jun 9 19:17:44 1994 Mark Eichin (eichin@cygnus.com)
  2450. * server.c (server_cleanup): chdir out of server_temp_dir before
  2451. deleting it (so that it works on non-BSD systems.) Code for choice
  2452. of directory cloned from server().
  2453. Fri May 27 18:16:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2454. * client.c (update_entries): Add return type of void.
  2455. (get_responses_and_close): If using Kerberos and from_server and
  2456. to_server are using the same file descriptor, use shutdown, not
  2457. fclose. Close from_server.
  2458. (start_server): New function; most of old version renamed to
  2459. start_rsh_server.
  2460. (start_rsh_server): Mostly renamed from old start_server.
  2461. (send_fileproc): Use %lu and cast sb.st_size in fprintf call.
  2462. (send_files): Remove unused variables repos and i.
  2463. (option_no_arg): Comment out; unused.
  2464. * main.c (main): Initialize cvs_update_env to 0. If command is
  2465. "kserver", authenticate and change command to "server". If
  2466. command is "server", don't call Name_Root, don't check access to
  2467. history file, and don't assume that CVSroot is not NULL.
  2468. * server.c (my_memmove): Removed.
  2469. (strerror): Change check from STRERROR_MISSING to HAVE_STRERROR.
  2470. (serve_root): Likewise for putenv.
  2471. (serve_modified): Initialize buf to NULL.
  2472. (struct output_buffer, buf_try_send): Remove old buffering code.
  2473. (struct buffer, struct buffer_data, BUFFER_DATA_SIZE,
  2474. allocate_buffer_datas, get_buffer_data, buf_empty_p,
  2475. buf_append_char, buf_append_data, buf_read_file, buf_input_data,
  2476. buf_copy_lines): New buffering code.
  2477. (buf_output, buf_output0, buf_send_output, set_nonblock,
  2478. set_block, buf_send_counted, buf_copy_counted): Rewrite for new
  2479. buffering code.
  2480. (protocol, protocol_memory_error, outbuf_memory_error,
  2481. do_cvs_command, server_updated): Rewrite for new buffering code.
  2482. (input_memory_error): New function.
  2483. (server): Put Rcsbin at start of PATH in environment.
  2484. * Makefile.in: Add @includeopt@ to DEFS.
  2485. Fri May 20 08:13:10 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2486. * cvs.h, classify.c (Classify_File): New argument update_dir.
  2487. Include it in user messages.
  2488. * commit.c (check_fileproc), status.c (status_fileproc), update.c
  2489. (update_file_proc): Pass update_dir to Classify_File.
  2490. * commit.c (check_fileproc), update.c (checkout_file):
  2491. Include update_dir in user messages.
  2492. * commit.c (check_fileproc) update.c (update_file_proc): Re-word
  2493. "unknown status" message.
  2494. * server.c (server_checked_in): Deal with the case where
  2495. scratched_file is set rather than entries_line.
  2496. * entries.c (Register): Write file even if server_active.
  2497. * add.c (add): Add comment about how we depend on above behavior.
  2498. Tue May 17 08:16:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2499. * mkmodules.c: Add dummy server_active and server_cleanup, to go
  2500. with the dummy Lock_Cleanup already there.
  2501. * server.c (server_cleanup): No longer static.
  2502. Sat May 7 10:17:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2503. Deal with add and remove:
  2504. * commit.c (checkaddfile): If CVSEXT_OPT or CVSEXT_LOG file does
  2505. not exist, just silently keep going.
  2506. (remove_file): If server_active, remove file before creating
  2507. temporary file with that name.
  2508. * server.c (serve_remove, serve_add): New functions.
  2509. (requests): Add them.
  2510. * server.c (server_register): If options is NULL, it means there
  2511. are no options.
  2512. * server.c, server.h (server_scratch_entry_only): New function.
  2513. New variable kill_scratched_file.
  2514. (server_scratch, server_updated): Deal with kill_scratched_file.
  2515. * commit.c (commit_fileproc): If server_active, call
  2516. server_scratch_entry_only and server_updated.
  2517. * add.c (add): Add client_active code.
  2518. (add): If server_active, call server_checked_in for each file added.
  2519. * remove.c (remove): Add client_active code.
  2520. (remove_fileproc): If server_active, call server_checked_in.
  2521. * main.c (cmds), client.c, client.h: New functions client_add and
  2522. client_remove.
  2523. * Move declarations of add, cvsremove, diff, and cvslog from
  2524. main.c to cvs.h.
  2525. * client.c (call_in_directory): Update comment regarding Root and
  2526. Repository files.
  2527. (send_fileproc): Only send Entries line if Version_TS really finds
  2528. an entry. If it doesn't find one, send Modified.
  2529. (update_entries): If version is empty or starts with 0 or -,
  2530. create a dummy timestamp.
  2531. Thu May 5 19:02:51 1994 Per Bothner (bothner@kalessin.cygnus.com)
  2532. * recurse/c (start_recursion): If we're doing rtag, and thus
  2533. have cd'd to the reporsitory, add ,v to a file name before stat'ing.
  2534. Wed Apr 20 15:01:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2535. * client.c (client_commit): Call ign_setup.
  2536. (client_update, client_checkout): Likewise.
  2537. * diff.c (diff): If client, call ign_setup.
  2538. * log.c (cvslog): Likewise.
  2539. * update.h (ignlist): Change definition to declaration to avoid
  2540. depending upon common semantics (not required by ANSI C, and not
  2541. the default on Irix 5).
  2542. * update.c (ignlist): Define.
  2543. Tue Apr 19 00:02:54 1994 John Gilmore (gnu@cygnus.com)
  2544. Add support for remote `cvs log'; clean up `cvs diff' a bit.
  2545. * client.c (send_arg): Make external.
  2546. (send_option_string): New function.
  2547. (client_diff_usage): Remove, unused.
  2548. (client_diff): Just call diff, not do_diff.
  2549. (client_log): Add.
  2550. * client.h (client_log, send_arg, send_option_string): Declare.
  2551. * cvs.h (cvslog): Declare.
  2552. * diff.c (do_diff): Fold back into diff(), distinguish by checking
  2553. client_active.
  2554. (diff): Remove `-*' arg parsing crud; use send_option_string.
  2555. * log.c (cvslog): If a client, start the server, pass options
  2556. and files, and handle server responses.
  2557. * main.c (cmds): Add client_log.
  2558. (main): Remove obnoxious message every time CVS/Root is used.
  2559. Now CVS will be quiet about it -- unless there is a conflict
  2560. between $CVSROOT or -d value versus CVS/Root.
  2561. * server.c (serve_log): Add.
  2562. (requests): Add "log".
  2563. Mon Apr 18 22:07:53 1994 John Gilmore (gnu@cygnus.com)
  2564. Add support for remote `cvs diff'.
  2565. * diff.c (diff): Break guts out into new fn do_diff.
  2566. Add code to handle starting server, writing args,
  2567. sending files, and retrieving responses.
  2568. (includes): Use PARAMS for static function declarations.
  2569. * client.c (to_server, from_server, rsh_pid,
  2570. get_responses_and_close, start_server, send_files,
  2571. option_with_arg): Make external.
  2572. (send_file_names): New function.
  2573. (client_diff): New function.
  2574. * client.h (client_diff, to_server, from_server,
  2575. rsh_pid, option_with_arg, get_responses_and_close, start_server,
  2576. send_file_names, send_files): Declare.
  2577. * cvs.h (diff): Declare.
  2578. * main.c (cmds): Add client_diff to command table.
  2579. * server.c (serve_diff): New function.
  2580. (requests): Add serve_diff.
  2581. (server): Bug fix: avoid free()ing incremented cmd pointer.
  2582. * update.h (update_filesdone_proc): Declare with PARAMS.
  2583. Sat Apr 16 04:20:09 1994 John Gilmore (gnu@cygnus.com)
  2584. * root.c (Name_root): Fix tyop (CVSroot when root meant).
  2585. Sat Apr 16 03:49:36 1994 John Gilmore (gnu@cygnus.com)
  2586. Clean up remote `cvs update' to properly handle ignored
  2587. files (and files that CVS can't identify), and to create
  2588. CVS/Root entries on the client side, not the server side.
  2589. * client.c (send_fileproc): Handle the ignore list.
  2590. (send_dirent_proc): New function for handling ignores.
  2591. (send_files): Use update_filesdone_proc and send_dirent_proc
  2592. while recursing through the local filesystem.
  2593. * update.h: New file.
  2594. * update.c: Move a few things into update.h so that client.c
  2595. can use them.
  2596. Fri Mar 11 13:13:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2597. * server.c: If O_NDELAY is not defined, but O_NONBLOCK is, define
  2598. O_NDELAY to O_NONBLOCK.
  2599. Wed Mar 9 21:08:30 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  2600. Fix some spurious remote CVS errors caused by the CVS/Root patches:
  2601. * update.c (update_filesdone_proc): If server_active, don't try to
  2602. create CVS/Root.
  2603. * root.c (Name_Root): Make error messages which happen if root is
  2604. not an absolute pathname or if it doesn't exist a bit clearer.
  2605. Skip them if root contains a colon.
  2606. Mon Nov 1 15:54:51 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  2607. * client.c (client_commit): dynamically allocate message.
  2608. Tue Jun 1 17:03:05 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  2609. * server.h: remove alloca cruft
  2610. * server.c: replace with better alloca cruft
  2611. Mon May 24 11:25:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2612. * entries.c (Scratch_Entry): Update our local Entries file even if
  2613. server_active.
  2614. * server.c (server_scratch, server_register): If both Register
  2615. and Scratch_Entry happen, use whichever one happened later.
  2616. If neither happen, silently continue.
  2617. * client.c (client_checkout): Initialize tag and date (eichin and
  2618. I independently discovered this bug at the same time).
  2619. Wed May 19 10:11:51 1993 Mark Eichin (eichin@cygnus.com)
  2620. * client.c (update_entries): handle short reads over the net
  2621. (SVR4 fread is known to be broken, specifically for short
  2622. reads off of streams.)
  2623. Tue May 18 15:53:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2624. * server.c (do_cvs_command): Fix fencepost error in setting
  2625. num_to_check.
  2626. * server.c (do_cvs_command): If terminated with a core dump, print
  2627. message and set dont_delete_temp.
  2628. (server_cleanup): If dont_delete_temp, don't delete it.
  2629. * client.c (get_server_responses): Don't change cmd since we
  2630. are going to "free (cmd)".
  2631. * server.c: Rename memmove to my_memmove pending a real fix.
  2632. * server.c (do_cvs_command): Set num_to_check to largest descriptor
  2633. we try to use, rather than using (non-portable) getdtablesize.
  2634. Wed May 12 15:31:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2635. Add CVS client feature:
  2636. * client.{c,h}: New files.
  2637. * cvs.h: Include client.h.
  2638. * main.c: If CVSROOT has a colon, use client commands instead.
  2639. * vers_ts.c (Version_TS): If repository arg is NULL, don't worry
  2640. about the repository.
  2641. * logmsg.c (do_editor): If repository or changes is NULL, just don't
  2642. use those features.
  2643. * create_adm.c (Create_Admin), callers: Move the test for whether
  2644. the repository exists from here to callers.
  2645. * repos.c (Name_Repository): Don't test whether the repository exists
  2646. if client_active set (might be better to move test to callers).
  2647. Add CVS server feature:
  2648. * server.{c,h}: New files.
  2649. * cvs.h: Include server.h.
  2650. * checkin.c (Checkin): Call server_checked_in.
  2651. * update.c (update_file_proc, merge_files): Call server_updated.
  2652. * entries.c (Register): Call server_register.
  2653. (Scratch_Entry): Call server_scratch.
  2654. * main.c: Add server to cmds.
  2655. * vers_ts.c (Version_TS): If server_active, call new function
  2656. time_stamp_server to set ts_user.
  2657. For older changes, there might be some relevant stuff in the bottom of
  2658. the NEWS file, but I'm afraid probably a lot of them are lost in the
  2659. mists of time.