Mon Dec 4 10:54:04 1995 Jim Kingdon * getdate.c: Remove #line directives. I know, this is a kludge, but Visual C++ 2.1 seems to require it (why, I have no idea. It has no trouble with the #line directives in getdate in CVS 1.6). Sat Nov 18 16:20:37 1995 Karl Fogel * rename.c: same. * mkdir.c: Use new macro `existence_error', instead of comparing errno to ENOENT directly. * system.h (existence_error): new macro, tries to portably ask if errno represents a file-not-exist error. Fri Nov 17 20:08:58 1995 Karl Fogel * system.h (NEED_DECOY_PERMISSIONS): moved this section to where it belongs, duh. * getdate.c: if STDC_HEADERS, then just include instead of declaring malloc() and realloc() to be char *. * system.h: ifdef NEED_DECOY_PERMISSIONS, then define the S_I* permission masks for USR, GRP, and OTH in terms of the simpler OS/2 masks. Wed Nov 15 15:36:03 1995 Karl Fogel * system.h: ifdef USE_OWN_TCPIP_H, then include "tcpip.h". Only OS/2 does this right now. Tue Nov 14 18:44:57 1995 Greg A. Woods * getdate.c: OK, this one is from SunOS-4.1 yacc and may be more portable -- at least it compiles silently here! ;-) Mon Nov 13 03:53:45 1995 Karl Fogel * fnmatch.c: conform to 80 column standard (yes, I'm a pedant). Wed Nov 8 11:10:59 1995 Karl Fogel * system.h (STAT_MACROS): ifdef S_IFMT, then use it as before; but if it's not defined, then just do a single mask and assume acceptance any of non-zero result. Norbert, I trust you'll let me know if this is unsatisfactory. :-) Ifdef HAVE_SYS_UTIME_H, then include . Only OS/2 defines this right now. Wed Nov 8 13:18:51 1995 Norbert Kiesel * valloc.c: omit malloc declaration (it's already in system.h which is included and conflicts with on some systems). Tue Nov 7 19:38:48 1995 Norbert Kiesel * system.h (STAT_MACROS_BROKEN): undo previous change, because else all regular files will be identified as links (the mask for links is S_IFREG|S_IFCHR). Mon Nov 6 19:20:56 1995 Karl Fogel * system.h (STAT_MACROS_BROKEN): in defining the S_IF* macros, don't fold to 1 or 0 by first masking with S_IFMT; not all systems have that macro, and anyway it's only necessary that we return non-zero. Fri Oct 27 13:43:35 1995 Karl Fogel * save-cwd.c: use __PROTO instead of __P (see below). * getline.h (__PROTO): same as below. * save-cwd.h (__PROTO): replaces __P. New name, so don't ask if already defined. The conflict was that OS/2 w/ IBM C/C++ uses `__P' for something else, in of all places. * system.h: do nothing about alloca ifdef ALLOCA_IN_STDLIB (see ../src/ChangeLog). Tue Oct 24 13:01:25 1995 Norbert Kiesel * wait.h: include sys/resource.h if available. This is needed at least under AIX-3.2 where doesn't include it. Mon Oct 23 17:39:11 1995 Norbert Kiesel * valloc.c (valloc): change parameter definition Sun Oct 22 14:15:44 1995 Jim Meyering (meyering@comco.com) * getline.c, getline.h: New files. * Makefile.in (SOURCES, OBJECTS, HEADERS): Add getline.c, getline.o, and getline.h, respectively. Tue Oct 10 18:01:50 1995 Karl Fogel * Makefile.in (cvs_srcdir): define cvs_srcdir to be ../src, then include it with -I so save_cwd.c can find error.h (for example). Sun Oct 8 12:27:57 1995 Peter Wemm * system.h: define POSIX_SIGNALS or BSD_SIGNALS if configure has located all the necessary functions for each "type". * sighandle.c: detect/use POSIX/BSD reliable signals (especially for blocking signals in critical sections). Helps prevent stray locks on interruption. Mon Oct 2 18:11:23 1995 Jim Blandy * system.h: Doc fix. Mon Oct 2 18:10:35 1995 Larry Jones * regex.c: compile 4.2 BSD compatible functions even when _POSIX_SOURCE is defined since we need them and we wouldn't be compiling this file unless they don't exist. Mon Oct 2 10:32:20 1995 Michael Finken * strstr.c (strstr): new file and func. * Makefile.in (SOURCES): added strstr.c. Sun Oct 1 21:03:40 1995 Karl Fogel * regex.c: reverted below change. Thu Sep 28 13:37:04 1995 Larry Jones * regexp.c: check for ISC. Thu Sep 7 19:18:00 1995 Jim Blandy * save-cwd.c: #include and , on systems that have them. * getopt.c (_getopt_internal): Cast the return value of strlen, which is unsigned, before comparing it with the difference between two pointers, which is unsigned. Thu Aug 31 11:31:42 1995 Jim Blandy * getdate.y [STDC_HEADERS]: #include , for abort. [HAVE_ALLOCA_H]: #include , for alloca on Windows NT. Wed Aug 30 18:48:44 1995 Jim Blandy * system.h [HAVE_IO_H]: #include , for Windows NT. [HAVE_DIRECT_H]: #include , for Windows NT. (CVS_MKDIR, FOLD_FN_CHAR, fnfold, fncmp, ISDIRSEP, OPEN_BINARY, FOPEN_BINARY_READ, FOPEN_BINARY_WRITE): New macros/functions, for use in system-sensitive code. * regex.c (re_set_registers): start and end are pointers, not integers. Cast the initializing value appropriately. * getopt.c [HAVE_STRING_H]: #include , to avoid warnings. * fnmatch.c (FOLD_FN_CHAR): Give this a dummy #definition if config.h didn't #define it. (fnmatch): Pass filename characters through FOLD_FN_CHAR before comparing them. * argmatch.c: #include . (argmatch): Declare arglen to be a size_t, rather than an int, to avoid signed/unsigned comparison "problems". * .cvsignore: Remove getdate.c from this file. We want to distribute it, for systems that don't have a Yacc-equivalent installed (like Windows NT). Sat Aug 19 22:00:51 1995 Jim Blandy * error.c: Don't #define CVS_SUPPORT here. config.h takes care of that for us. [CVS_SUPPORT] (error_use_protocol): New variable, with apology. (error): If error_use_protocol is set, report errors using the client/server protocol. * error.h [CVS_SUPPORT]: Extern decl for error_use_protocol. Fri Aug 4 00:01:24 1995 Jim Meyering (meyering@comco.com) * xgetwd.c: Don't declare free. A K&R style declaration gets a conflict on some Sun systems when compiling with acc. * save-cwd.c: New file. * save-cwd.h: New file. * Makefile.in (SOURCES): Add save-cwd.c (OBJECTS): Add save-cwd.o. (HEADERS): Add save-cwd.h. Thu Aug 3 00:55:54 1995 Jim Meyering (meyering@comco.com) * error.h: New file. * Makefile.in (HEADERS): Add error.h. Sat Jul 29 15:53:55 1995 James Kingdon * Makefile.in (SOURCES): Add getdate.c. Thu Jul 27 09:11:41 1995 Robert Lipe * system.h: Check for PATHSIZE before falling back to _POSIX_PATH_MAX. Thu Jul 20 12:38:03 1995 James Kingdon * error.c: Instead of calling cvs functions to clean up, allow cvs to register a callback via error_set_cleanup. Avoids hassles with include files and SERVER_SUPPORT and so on. Tue Jul 18 21:18:00 1995 Jim Blandy * system.h: Include only if HAVE_SYS_PARAM_H is #defined. We've added a test to configure.in to #define this on most systems. Thu Jul 13 11:22:21 1995 Jim Meyering (meyering@comco.com) * xgetwd.c: New file. * Makefile.in (SOURCES): Add xgetwd.c (OBJECTS): Add xgetwd.o. Wed Jul 12 09:18:49 1995 Jim Meyering (meyering@comco.com) * Makefile.in (OBJECTS): Remove fnmatch.o. Now configure adds it to LIBOBJS when necessary. Fri Jun 30 16:27:18 1995 James Kingdon * rename.c (rename): If MVDIR is not defined, just give an error on attempt to rename a directory. Thu Jun 29 00:46:31 1995 James Kingdon * system.h: Check HAVE_SYS_TIMEB_H not non-existent HAVE_TIMEB_H. * system.h: Don't define alloca if it is already defined. Wed Jun 28 15:24:51 1995 James Kingdon * system.h: If NeXT, define utimbuf ourself. Mon May 29 22:32:40 1995 J.T. Conklin * system.h: Handle time and directory headers as recommended in the autoconf manual. Undefine the S_FOO() macros if STAT_MACROS_BROKEN is set. Don't define mode_t, as it is handled by config.h. Sat May 27 08:46:00 1995 Jim Meyering (meyering@comco.com) * Makefile.in (Makefile): Regenerate only Makefile in current directory when Makefile.in is out of date. Depend on ../config.status. Fri Apr 28 22:49:25 1995 Jim Blandy * Makefile.in (SOURCES, OBJECTS): Updated. (HEADERS): New variable. (DISTFILES): Updated. (dist-dir): Renamed from dist; changed to work with DISTDIR variable passed from parent. Wed Feb 8 06:37:53 1995 Roland McGrath * system.h (S_IRUSR et al): Define if not already defined. * waitpid.c [HAVE_CONFIG_H]: Include "config.h". (ualloc): Return OLDPTR rather than running off the end. Mon Aug 22 22:48:19 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) * error.c (strerror): Replaced conditional static definition (always used, since the condition variable was never set) with an extern declaration, since it's provided by libc or strerror.c. Wed Aug 10 14:54:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com) * Makefile.in (SOURCES): Add waitpid.c. * waitpid.c: New file. Tue Aug 9 16:00:12 1994 Ken Raeburn (raeburn@cujo.cygnus.com) * md5.h (uint32): If SIZEOF_LONG isn't 4, don't define this to be "unsigned long"; try SIZEOF_INT and "unsigned int", otherwise complain. * md5.c: Include config.h. (const): Don't bother defining here, config.h should take care of it. * valloc.c (malloc): Declare. Fri Jul 15 12:57:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) * getopt.c: Do not include unless __GNU_LIBRARY__ is defined. On Irix 5.2, includes , which causes a multiple definition of struct option. Fri Jul 8 10:04:59 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * md5.h, md5.c: Remove ANSI-isms. Thu Jul 7 20:24:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) * md5.h, md5.c: New files. * Makefile.in (SOURCES): Add md5.c. (OBJECTS): Add md5.o. (DISTFILES): Add md5.h. (md5.o): New target; depend upon md5.h. Fri May 27 18:15:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * valloc.c: New file. Tue May 17 08:18:26 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * error.c (error, fperror): If server_active, call server_cleanup as well as Lock_Cleanup. Thu Jan 6 13:45:04 1994 Ken Raeburn (raeburn@cujo.cygnus.com) * system.h: Fix Dec 27 change to work correctly. Makes Sep 9 change unnecessary, so backed that one out. Never define PATH_MAX in terms of pathconf, because that doesn't produce a constant, and PATH_MAX is used to set array sizes. Mon Dec 27 14:22:07 1993 Mark Eichin (eichin@cygnus.com) * system.h: don't touch PATH_MAX or MAXPATHLEN if *both* of them are already defined, as one may be defined in terms of the other.