1998-07-01 Jim Kingdon * startserver.c (wnt_shutdown_server): Check for errors from close(). 1998-06-30 Noel Cragg * startserver.c: add a global variable which notes if we've opened a socket. Since the code in client.c will call wnt_shutdown_server regardless of which client method we've selected, we need to make sure and not call shutdown or closesocket on a pipe (it won't work). (wnt_shutdown_server): use the new global to decide whether or not to call socket routines or simply use close. 1998-06-11 Jim Kingdon * config.h (CVS_STAT, CVS_LSTAT): Define. * filesubr.c, config.h (wnt_stat, wnt_lstat, check_statbuf): New functions. 1998-04-09 Jim Kingdon * filesubr.c (link_file): Remove; no longer used. Tue Feb 17 02:31:41 1998 Noel Cragg * filesubr.c (last_component): return the top-level directory when asked about the top-level directory. Fri Jan 16 00:57:31 1998 Jim Kingdon * sanity.sh: Remove. As far as I know the Windows hacks in this file have been superceded by improvements to Cygwin and/or Ian's recent changes to src/sanity.sh. The ones I noticed: we had been working around lack of /dev/null (apprently Cygwin now has it); we had been not expecting rm -rf to delete readonly files (apparently it now does); there was an issue with case of arguments passed on command line (it would seem like Cygwin has changed this). I also notice that the file had not even been in the distribution because it was missing from Makefile.in (ugh). 13 Jan 1998 Jim Kingdon * run.c (run_exec): Change parameters from char * to const char *. Tue Jan 13 16:57:56 1998 Ian Lance Taylor * config.h (FOLD_FN_CHAR): Don't define; instead move to lib/system.h, where it is defined conditionally. (FILENAMES_CASE_INSENSITIVE, ISDIRSEP): Likewise. (WNT_filename_classes, fncmp, fnfold): Likewise for declarations. * filesubr.c (WNT_filename_classes): Remove; now in lib/fncase.c. (fncmp, fnfold): Likewise. Tue Jan 13 13:15:34 1998 Jim Kingdon * run.c: Adjust run_setup for new calling convention. * config.h (DIFF): Remove; no longer used. * options.h (DIFF, RCSBIN_DFLT): Remove; no longer used. Wed Dec 31 10:56:39 1997 Jim Kingdon * config.h, filesubr.c (convert_file): Remove; no longer used (except for BROKEN_READWRITE_CONVERSION which doesn't apply). Sat Dec 27 16:57:41 1997 Jim Kingdon * options.h (HAVE_RCS5): Remove; no longer used. * config.h (LINES_CRLF_TERMINATED): Remove; no longer used. Tue Dec 23 08:28:44 1997 Jim Kingdon * README: Change bug-cvs address from prep.ai.mit.edu to gnu.org per email from Martin Hamilton. Sun Nov 30 18:03:02 1997 Jim Kingdon * run.c (run_args): Remove; nowhere used. Sat Nov 29 22:21:19 1997 Jim Kingdon * options.h: Remove declaration of getwd; see lib/ChangeLog for rationale. Wed, 12 Nov 1997 Jim Kingdon * config.h: Define same_file. Sun, 9 Nov 1997 Jim Kingdon * config.h: Define HAVE_SETMODE. Mon Nov 10 11:15:54 1997 Jim Kingdon * run.c (call_diff, call_diff3): Removed, per change to src/rcscmds.c. Fri Oct 31 16:52:30 1997 Abe Feldman * config.h: Define UTIME_EXPECTS_WRITABLE. Tue Oct 28 14:50:37 1997 Jim Kingdon * run.c: Also define call_diff and call_diff3. Sat Sep 13 20:13:09 1997 indentation/whitespace fixes by Jim Kingdon * run.c (quote): quote any " included in argument string to avoid having ci choke on message string format. Sun Sep 7 19:59:56 1997 Jim Kingdon * README: Add section on coding standards (win32, ANSI, &c). Fri Aug 29 19:13:56 1997 Jim Kingdon * filesubr.c (isabsolute): Add comment about interaction with strip_trailing_slashes (reported by Jin S Choi ). Thu Aug 28 12:06:37 1997 Jim Kingdon * filesubr.c (link_file): Remove #if 0'd version; the real version is elsewhere in this file. Sun Aug 10 21:08:12 1997 Jim Kingdon * ndir.c, ndir.h, pwd.c, pwd.h: Remove $Header; we decided to get rid of these some time ago. Sun Aug 3 21:14:33 1997 Jim Kingdon * README: Note KLUDGE_FOR_WNT_TESTSUITE when discussing tests. Fri Jul 18 09:49:52 1997 Jim Kingdon * README: Adjust discussion of makefiles to deal with Visual C++ 5.x. One doesn't need patch if client and server are current. 10 Jul 1997 Jim Kingdon * config.h: Define USE_SETMODE_STDOUT. 8 Jul 1997 Jim Kingdon * rcmd.c (rcmd_authenticate): With error message, print the user names that we were attempting to use. * win32.c (win32getlogin): If GetUserName returns "", return NULL. Sun, 22 Jun 1997 Jim Kingdon * win32.c: Also include winsock.h. Include stdlib.h (for exit()). * rcmd.c: Move include of cvs.h above test of HAVE_WINSOCK_H. Tue Jun 17 16:35:06 1997 Jim Kingdon (unknown@beezley) * rcmd.c: Check HAVE_WINSOCK_H in figuring out which files to include (see comment about making this portable). If not HAVE_WINSOCK_H, make various #definitions. * rcmd.c (init_winsock): Move from here... * win32.c: ...to here. * rcmd.c (bind_and_connect, resolve_address): Shut up gcc -Wall (which doesn't know that error (1, ...) doesn't return). Sun Jun 8 23:43:21 1997 Jim Kingdon * config.h (HAVE_MKFIFO): Remove; not used anywhere. Sat May 3 11:15:46 1997 Jim Kingdon * rcmd.c: Add "copyright" notice. Thu Apr 17 00:15:36 1997 Jim Kingdon * Makefile.in: Add sockerror.c. Wed Apr 9 15:29:45 1997 Jim Kingdon * filesubr.c (expand_wild): Add comments about "." and comparing NULL pointers. 8 Apr 1997 Jim Kingdon * rcmd.c: Instead of returning -1 and passing that back to startserver.c which will print a very vague error message, call error() right away with a specific message. This also fixes some places where we had bogusly called GetLastError instead of WSAGetLastError. (init_winsock): Remove call to setsockopt. It was an artifact from before the time that we defined NO_SOCKET_TO_FD, doesn't seem to be needed any more, and fails with some non-Microsoft winsock implementations. Wed Apr 2 14:08:10 1997 Vince Del Vecchio and Jim Kingdon * sockerror.c: New file. * config.h (SOCK_STRERROR, SOCK_ERRNO): New macros. * startserver.c: In reporting errors from socket calls, use SOCK_STRERROR and SOCK_ERRNO since strerror(errno) doesn't work for Win32. * rcmd.c (rcmd_authenticate): Use WSASetLastError instead of assigning to errno, since that is where the caller will look. Sun Apr 6 17:22:19 1997 Jim Kingdon * filesubr.c (copy_file): Add comment about CopyFile. Wed Mar 26 13:13:41 1997 Jim Kingdon * README: Also mention tar and gzip. * README: Binaries are now under 1.9, not 1.8.3, on ftp.cyclic.com. Also mention http URL. 13 Mar 1997 Jim Kingdon * filesubr.c (get_homedir): Allocate pathbuf; removes arbitrary limit. Wed Mar 12 16:10:01 1997 Jim Kingdon * filesubr.c (get_homedir): Expand comment about HOME vs. HOMEDRIVE/HOMEPATH. * config.h (HAVE_SETVBUF): Removed; no longer used. Thu Mar 6 19:46:53 1997 Jim Kingdon * README: tab stop setting apparently was under "Editor" in Visual C++ 2.x but it is under "Tabs" in Visual C++ 4.x. List number of warnings for regex.c (103, which is actually down from 121 prior to the change I just made to regex.c). Sat Feb 15 15:27:39 1997 Jim Kingdon * Makefile.in (dist-dir): Also handle SUBDIRS. (SUBDIRS): New variable. Wed Jan 29 18:28:17 1997 Jim Kingdon * config.h, options.h (GREP): Remove; no longer used. Tue Jan 28 18:29:03 1997 Jim Kingdon * config.h: Remove SIZEOF_INT and SIZEOF_LONG; no longer needed with lib/md5.c changes. 1997-01-08 Jim Kingdon * filesubr.c (expand_wild): If we just find a file (that is, without expanding a wildcard), return the file name as specified rather than as it exists in the filesystem. Thu Jan 2 13:30:56 1997 Jim Kingdon * filesubr.c, ndir.c, ndir.h, pwd.c, pwd.h, run.c, stripslash.c: Remove "675" paragraph; see ../ChangeLog for rationale. Wed Jan 1 22:51:01 1997 Jim Kingdon * options.h: Reword comment for TMPDIR_DFLT to make it clear that this isn't specific to the pserver server. Tue Dec 31 14:17:38 1996 Jim Kingdon * README: Remove another mention of grep; CVS no longer uses it. Tue Dec 31 11:01:29 1996 Noel Cragg * README: Add note that the various support utilities can also be found at the Cyclic FTP site; things move around on the net. Tue Dec 31 12:33:29 1996 Jim Kingdon * README: Add note about lack of need for rsh. I don't know if this is the best place to talk about this, but many people get confused by it. Sat Nov 30 15:33:22 1996 Jim Kingdon * README: Grep is no longer required. Specify when gzip is required. Tue Nov 19 17:19:35 1996 Jim Kingdon * Makefile.in (SOURCES): Remove strippath.c. * strippath.c: Removed. Sun Nov 10 22:54:04 1996 Paul Sanders and Jim Kingdon * run.c (run_popen): Save and restore file descriptors. Fri Oct 18 16:54:00 1996 Tony Brusseau and Jim Kingdon * strippath.c (strip_path): Leave leading "\\" unmolested for UNC. Thu Oct 17 10:57:06 1996 Jim Kingdon * README: Clarify who it is who needs to be able to mount the repository. Mon Oct 14 08:30:38 1996 Jim Kingdon * README: Remove item about markso Win95 web site now that it is merged in. Mention Win95 at beginning. Tue Oct 8 12:37:54 1996 Ian Lance Taylor * options.h (HAD_RCS4): Remove; no longer used. Wed Sep 25 14:31:51 1996 Jim Kingdon * options.h (TMPDIR_DFLT): Change from c:\temp to c:\\temp. Tue Sep 24 14:37:29 1996 Jim Kingdon * options.h: Add TMPDIR_DFLT. Tue Sep 10 19:20:25 1996 Mark A. Solinski and Jim Kingdon This is said to be the last set of changes needed for Win95: * rcmd.c: Include cvs.h. (rcmd_authenticate): Use send/recv instead of read/write. (rcmd): Don't call _open_osfhandle; just return the socket. * options.h: Move NO_SOCKET_TO_FD from here... * config.h: ...to here. Update comment. * config.h (START_SERVER_RETURNS_SOCKET, SEND_NEVER_PARTIAL): Define. * startserver.c (shutdown_fd): Remove; it is unused. (wnt_start_server): Don't dup the file descriptor; instead set both *tofd and *fromfd to read_fd. (wnt_shutdown_server): Don't call _get_osfhandle; just use the argument as the socket. Wed Sep 4 1996 Jim Kingdon * filesubr.c (mkdir_if_needed): mkdir on NT only takes one, not two, arguments. Thu Aug 29 09:47:33 1996 Mark A. Solinski and Jim Kingdon * filesubr.c (deep_remove_dir, unlink_file_dir): ENOENT can also mean that we tried to unlink a directory (Win95). Mon Aug 26 12:47:58 1996 Jim Kingdon * filesubr.c (mkdir_if_needed): Added. Thu Aug 22 19:12:17 1996 Jim Kingdon The following changes are said to be necessary (but not sufficient) for Win95: * config.h (sleep): Use "unsigned int" not just "unsigned". * filesubr.c (deep_remove_dir): Treat EACCES as well as ENOTEMPTY as an indication that we need to remove the directory. Fri Aug 16 16:06:22 1996 Norbert Kiesel * Makefile.in (installdirs): new (empty) target Mon Aug 12 14:45:16 1996 Jim Kingdon * config.h: Remove CLIENT_ONLY; it is nowhere used. Mon Jul 15 1996 Jim Kingdon * README: Add note about tab stop setting. Fri Jun 7 13:07:37 1996 Jim Kingdon * config.h: Change INITIALIZE_SOCKET_SUBSYSTEM to SYSTEM_INITIALIZE to reflect change in ../src/main.c. Mon Jun 03 01:00:08 1996 noel * sanity.sh: include new tests from ../src/sanity.sh. * filesubr.c (copy_file): use open with O_CREAT instead of creat so we can also use O_BINARY -- we don't want to do any LF -> CR/LF translations when we copy files. Fri May 17 11:53:13 1996 Jim Kingdon * README: In a few places it used to say "server" when it meant "client". Fix it. Say explicitly that there is no server on NT. Fix typos (4,0 -> 4.0; CVS.system -> CVS). Thu May 16 16:52:45 1996 Noel Cragg * README: explain which utilities are required for client support and local support in separate paragraphs. * filesubr.c (expand_wild): rename max to cvs_max to avoid conflicts with other already-defined routines. (get_homedir): rename min to cvs_min. Thu May 16 01:18:22 1996 noel * sanity.sh: Hacked version of src/sanity.sh for use under CYGWIN32. * filesubr.c (expand_wild): Since FindFirstFile and FindNextFile don't return the pathname of a file, we need to keep track of it ourselves. * options.h: Fix defines for DIFF and GREP. * run.c (run_exec): Flush stdout and stderr so we end up with the correct interleaving of output for sanity.sh. This can be removed later, if desired. Wed May 15 23:51:49 1996 Noel Cragg * README: mention that grep is mandatory. Tue May 14 1996 Jim Kingdon * filesubr.c (cvs_temp_name): Call _tempnam not tmpnam. Tue May 14 13:38:51 1996 Jim Kingdon * filesubr.c (cvs_temp_name): New function.. Wed May 01 01:28:41 1996 noel * filesubr.c (get_homedir): use both HOMEDRIVE and HOMEPATH to construct the user's home directory. Tue Apr 9 20:56:14 1996 Jim Kingdon * README: Mention CRLF for src/server.c. Mon Mar 25 1996 Jim Kingdon * filesubr.c (expand_wild): New function. Tue Mar 19 17:55:39 1996 Norbert Kiesel * startserver.c (wnt_start_server): Cleaned up code to get port (and thus made consistent with VMS and Mac) Mon Mar 18 14:54:50 1996 Jim Kingdon * config.h: Don't declare gethostname; main.c already includes winsock.h. Define FILENAMES_CASE_INSENSITIVE. Fri Mar 15 1996 Jim Kingdon * filesubr.c (fncmp): Fix typo (n1 -> n2) which had caused the function to always return 0. Thu Mar 7 08:55:39 1996 Jim Blandy * Makefile.in (HEADERS): Remove alloca.h from list. Wed Feb 28 11:08:06 1996 Jim Kingdon * options.h: Remove AUTH_SERVER_SUPPORT; no longer should be defined in options.h. * config.h: Remove C_ALLOCA, CRAY_STACKSEG_END, HAVE_ALLOCA, HAVE_ALLOCA_H, and STACK_DIRECTION to reflect alloca removal. * startserver.c (wnt_start_server): Don't use alloca. * alloca.h: Removed. Fri Feb 23 18:00:00 1996 Jim Kingdon * options.h: Define AUTH_CLIENT_SUPPORT and NO_SOCKET_TO_FD. * config.h: Define HAVE_WINSOCK_H. * win32.c (getpass): New function. * filesubr.c (get_homedir): New function. Mon Feb 12 16:09:24 1996 Norbert Kiesel * run.c (run_popen): Changed more Popen() to run_popen() Mon Feb 12 03:33:27 1996 Benjamin J. Lee * run.c: Changed Popen() to run_popen() for the benefit of case-insensitive linkers (VMS) which confuse Popen() with popen() Fri Feb 9 22:10:12 1996 Jim Kingdon * Makefile.in (distclean): Remove Makefile. * config.h: Remove SYSTEM_COMMENT_TABLE. Thu Feb 1 15:09:17 1996 Jim Kingdon * options.h: Remove RM; no longer used. * filesubr.c: Remove rcsid. Thu Jan 11 16:01:27 1996 Jim Kingdon * README: Update with information for Visual C++ 4.0, some warnings that weren't mentioned, etc. Thu Jan 11 12:04:42 1996 Norbert Kiesel * options.h: remove CVS_NOADMIN Wed Jan 3 16:17:19 1996 Jon Dart and Jim Kingdon * run.c (filter_stream_through_program): If pidp is NULL, don't store to *pidp. * ndir.h: Change MAXNAMLEN to 255. * run.c (build_command): Deal with it if there are no arguments at all. Mon Jan 1 23:40:01 1996 Jim Kingdon * filesubr.c (link_file): New function. * README: Mention CRLF vs. LF in cvsnt.mak. Other minor revisions. Fri Dec 22 12:00:00 1995 Jim Kingdon * run.c (filter_stream_through_program): On error, error() rather than returning -1. Thu Dec 21 16:00:00 1995 Jim Kingdon * options.h: Don't define NO_SOCKET_TO_FD. Mon Dec 18 09:57:29 1995 Jim Kingdon * options.h: Explain NO_SOCKET_TO_FD some more. Sun Dec 17 21:19:18 1995 Karl Fogel * options.h (NO_SOCKET_TO_FD): define to 1. Tue Dec 12 19:18:00 1995 Karl Fogel * options.h (AUTH_CLIENT_SUPPORT, AUTH_SERVER_SUPPORT): these replace CVS_LOGIN. (RCSBIN_DFLT): expand comment. Mon Dec 11 12:43:35 1995 adamg * config.h: Add INITIALIZE_SOCKET_SUBSYSTEM macro to ensure that winsock is initialized early enough for the gethostname() in main.c to succeed. * rcmd.c: Remove from init_winsock(), and rcmd() code that initialized winsock on demand. Thu Dec 7 14:49:16 1995 Jim Meyering (meyering@comco.com) * filesubr.c (isaccessible): Rename from isaccessable. Update callers. Mon Dec 4 10:46:31 1995 Jim Kingdon * The following change was copied from src/filesubr.c. This is because we need filesubr.c to compile, not because we are trying to make set*id work on NT (if it even has set*id). * filesubr.c (isaccessable): new function. Checks access-rights for files like access(), but is getxid-safe. Falls back to access() if SETXID_SUPPORT is not enabled. (isfile): replace stat() by isaccessable(file, F_OK) (isreadable): replace access() by isaccessable() (iswritable): ditto (make_directory): rename local variable buf to sb Fri Nov 24 11:17:16 EST 1995 Boleslaw Ciesielski * filesubr.c (convert_file): Pass S_IWRITE to open when creating file (fixes problem with deleting temporary files). Fri Nov 24 11:12:47 1995 Boleslaw Ciesielski * run.c (build_command): Move len++ inside loop, to make room for spaces between arguments. Thu Oct 26 10:12:51 1995 Jim Kingdon * README: Say that patch is required, not optional. Wed Oct 25 07:40:17 1995 Noel Cragg * startserver.c (wnt_start_server): removed NTOHS call; since the resulting number was passed as the port number to rcmd which called NTOHS again, we did a complicated NOOP. Tue Oct 24 10:59:03 1995 Norbert Kiesel * Makefile.in: insert autoconf variables. This allows e.g. make dist to work when configure was called from within a subdir. * Makefile.in (dist): replace by rule which honors $(srcdir) Mon Oct 23 18:51:49 1995 Karl Fogel * Makefile.in (clean): new rule, does nothing but satisfy top-level Makefile's beliefs about what its children can do. Fri Oct 20 11:09:55 1995 Norbert Kiesel * config.h: use same layout and comments as current ../config.h.in * options.h: as above for ../src/options.h.in Tue Oct 10 16:04:18 1995 Jim Kingdon * README: Update to remove obsolete information (e.g. ftp distributions). Thu Oct 5 17:28:52 1995 Kevin Layer * filesubr.c: Add semicolon after USE. Thu Sep 7 19:18:00 1995 Jim Blandy * config.h (CVS_SUPPORT): #define this. * ndir.c (opendir): Make the directory name argument a const char *, instead of just a char *. * ndir.h (opendir): Extern declaration changed to match. Thu Aug 31 12:00:08 1995 Jim Blandy * Makefile.in (HEADERS, SOURCES): New variables. (DISTFILES): Refer to them, and include README, Makefile.in, and .cvsignore. * filesubr.c (unlink_file_dir, deep_remove_dir): New functions, originally added to src/filesubr.c and then adapted here for Windows NT. Wed Aug 30 15:39:57 1995 Jim Blandy * Windows NT port merged. * README, config.h, filesubr.c, mkdir.c, ndir.c, ndir.h, options.h, pwd.c, pwd.h, rcmd.c, rcmd.h, run.c, startserver.c, strippath.c, stripslash.c, waitpid.c, win32.c: Changed or added. Thu Aug 10 13:30:00 1995 Jim Blandy * filesubr.c, mkdir.c, pwd.c, run.c, win32.c: New source files. * pwd.h: New header file. Wed Jul 19 18:00:00 1995 Jim Blandy * alloca.h: New file. * config.h (HAVE_IO_H): Define this. Tue Jul 18 21:18:00 1995 Jim Blandy * config.h, options.h, pwd.h: New files.