xref: /openbsd/gnu/usr.bin/cvs/lib/ChangeLog (revision 07ea8d15)
1Wed Oct  2 10:43:35 1996  Norbert Kiesel  <nk@col.sw-ley.de>
2
3	* getdate.y: removed CVSid variable
4
5	* getdate.c: regenerated (using byacc 1.9)
6
7Wed Sep 25 10:25:00 1996  Larry Jones  <larry.jones@sdrc.com>
8
9	* vasprintf.c: Fix type clashes in calls to strtoul.
10
11Wed Sep 11 15:55:31 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
12
13	* build_lib.com: Add valloc.c.
14
15Tue Sep 10 23:04:34 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
16
17	* Makefile.in (DISTFILES): Add build_lib.com.
18
19Fri Aug 16 16:01:57 1996  Norbert Kiesel  <nk@col.sw-ley.de>
20
21	* Makefile.in (installdirs): new (empty) target
22
23Mon Aug 12 11:03:43 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
24
25	* system.h: Don't use #elif.  It is said to cause problems with
26	one of the HP compilers on HPUX 9.01.
27
28Sun Jul  7 23:25:46 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
29
30	* memmove.c: Removed.  The memove function was used by a very old
31	version of the CVS server for nefarious purposes and it has been
32	long gone.
33	* Makefile.in (SOURCES): Remove memmove.c.
34
35Thu Jun  6 15:12:59 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
36
37	* vasprintf.c: If STDC_HEADERS, include stdlib.h rather than
38	declaring its functions ourself.
39
40Wed Jun 05 10:14:29 1996  Mike Ladwig  <mike@twinpeaks.prc.com>
41			  and Jim Kingdon  <kingdon@cyclic.com>
42
43	* system.h: If ERRNO_H_MISSING is defined, don't include errno.h.
44
45Wed Jun 05 10:14:29 1996  Mike Ladwig  <mike@twinpeaks.prc.com>
46
47	* regex.c: Don't define MAX and MIN if already defined.
48
49Sun May 12 09:40:08 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
50
51	* getdate.y: Replace alloca.h include with a comment explaining
52	why we avoid alloca and the consequences of that.
53	* getdate.c: Regenerated.
54
55Wed May  8 09:31:03 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
56
57	* getdate.c: Regenerate with the version of byacc in Red Hat 3.0.3
58	(which I believe is byacc 1.9).  byacc, unlike bison, does not
59	require alloca in the generated parser.
60
61Thu Apr 25 18:26:34 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
62
63	* getdate.y (get_date): Set Start from nowtime, not now->time,
64	which may not be set.
65	* getdate.c: Regenerated.
66
67Wed Apr 10 17:55:02 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
68
69	* getdate.y (get_date): Use a time_t variable rather than a field
70	in a struct timeb.  Works around Solaris compiler bug.  Sure, it
71	is a compiler bug, but the workaround is completely painless.
72	* getdate.c: Regenerated.
73
74Fri Mar 22 11:17:05 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
75
76	* system.h: If EXIT_FAILURE is not defined by stdlib.h, define it
77	ourself.
78
79Thu Mar 14 16:27:53 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
80
81	* system.h: Remove alloca cruft.
82
83Wed Feb 28 03:16:48 1996  Benjamin J. Lee  <benjamin@cyclic.com>
84
85	* build_lib.com: Changed definition of symbol CC to search
86	for include files in [-.VMS] so VMS config.h can be picked
87	up without copying.
88
89Tue Feb 27 21:26:34 1996  Benjamin J. Lee  <benjamin@cyclic.com>
90
91	* build_lib.com: Added.  DCL File to build contents of [.lib]
92
93Tue Feb 27 21:18:38 1996  Benjamin J. Lee  <benjamin@cyclic.com>
94
95	* system.h: added an existence_error macro check for EVMSERR
96	necessary for happiness under VMS
97
98Thu Feb 22 22:30:04 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
99
100	* Makefile.in (OBJECTS): Remove @ALLOCA@
101	(SOURCES): Remove alloca.c
102	* alloca.c: Removed.
103	* regex.c (REGEX_MALLOC): Define.
104
105Thu Feb 15 14:00:00  Jim Kingdon  <kingdon@cyclic.com>
106
107	* vasprintf.c: Declare abs().
108
109Wed Feb 14 14:48:31 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
110
111	* vasprintf.c (int_vasprintf): Don't cast arguments to memcpy.
112	* vasprintf.c, strtoul.c: Don't include ansidecl.h.  Do include
113	config.h if HAVE_CONFIG_H (for const).
114	* strtoul.c: Change CONST to const.
115
116Tue Feb 13 20:04:39 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
117
118	* strtoul.c: Added (needed by vasprintf.c, and missing on SunOS4).
119	* Makefile.in (SOURCES): Add strtoul.c.
120
121Mon Feb 12 10:04:46 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
122
123	* vasprintf.c: Added (same contents as before).
124	* Makefile.in (SOURCES): Add vasprintf.c.
125
126Thu Feb  1 14:33:17 1996  Karl Fogel  <kfogel@floss.red-bean.com>
127
128        * Makefile.in (xlint): new rule; does nothing, as I'm not sure
129        running lint is actually advisable in here, but the top-level
130        Makefile thinks it can `make xlint' here.
131
132Thu Feb  1 15:07:42 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
133
134	* getopt.c: Remove rcsid.
135
136Tue Jan 30 18:20:27 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
137
138	* getline.c: Don't define NDEBUG.
139	(getstr): Rewrite assertions in a way which should stay clear of
140	signed/unsigned problems and compiler warnings thereof.
141
142Thu Jan 25 00:14:06 1996  Jim Kingdon  <kingdon@beezley.cyclic.com>
143
144	* yesno.c (yesno): fflush stdout as well as stderr.
145
146Wed Jan  3 18:16:50 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
147
148	* sighandle.c (SIG_register): Use memset not bzero.
149	* system.h: Remove defines for index, rindex, bcmp, and bzero.
150	All the calls to those functions are gone from CVS.
151
152Tue Jan  2 13:00:00 1996  Jim Kingdon  <kingdon@peary.cyclic.com>
153
154	Visual C++ lint:
155	* sighandle.c: Prototype SIG_handle and SIG_defaults.
156	Use SIG_ERR where appropriate.
157
158Mon Dec 18 10:15:05 1995  Jim Kingdon  <kingdon@harvey.cyclic.com>
159
160	* rename.c: Check ENOENT rather than existence_error.  The latter
161	is undefined in this file, and including system.h is said to cause
162	(unspecified) problems.
163
164Sun Dec 17 23:58:06 1995  Jim Kingdon  <kingdon@harvey.cyclic.com>
165
166	* vasprintf.c: Removed (it is no longer used).
167	* Makefile.in (SOURCES): Remove vasprintf.c.
168
169Sat Dec 16 17:18:33 1995  Jim Kingdon  <kingdon@harvey.cyclic.com>
170
171	* vasprintf.c: Added.
172	* Makefile.in (SOURCES): Add vasprintf.c
173
174Mon Dec  4 10:54:04 1995  Jim Kingdon  <kingdon@harvey.cyclic.com>
175
176	* getdate.c: Remove #line directives.  I know, this is a kludge,
177	but Visual C++ 2.1 seems to require it (why, I have no idea.  It
178	has no trouble with the #line directives in getdate in CVS 1.6).
179
180Sat Nov 18 16:20:37 1995  Karl Fogel  <kfogel@floss.cyclic.com>
181
182        * rename.c: same.
183
184        * mkdir.c: Use new macro `existence_error', instead of comparing
185        errno to ENOENT directly.
186
187        * system.h (existence_error): new macro, tries to portably ask if
188        errno represents a file-not-exist error.
189
190Fri Nov 17 20:08:58 1995  Karl Fogel  <kfogel@floss.cyclic.com>
191
192        * system.h (NEED_DECOY_PERMISSIONS): moved this section to where
193        it belongs, duh.
194
195        * getdate.c: if STDC_HEADERS, then just include <stdlib.h> instead
196        of declaring malloc() and realloc() to be char *.
197
198        * system.h: ifdef NEED_DECOY_PERMISSIONS, then define the S_I*
199        permission masks for USR, GRP, and OTH in terms of the simpler
200        OS/2 masks.
201
202Wed Nov 15 15:36:03 1995  Karl Fogel  <kfogel@floss.cyclic.com>
203
204        * system.h: ifdef USE_OWN_TCPIP_H, then include "tcpip.h".  Only
205        OS/2 does this right now.
206
207Tue Nov 14 18:44:57 1995  Greg A. Woods  <woods@most.weird.com>
208
209	* getdate.c: OK, this one is from SunOS-4.1 yacc and may be more
210	portable -- at least it compiles silently here!  ;-)
211
212Mon Nov 13 03:53:45 1995  Karl Fogel  <kfogel@floss.cyclic.com>
213
214        * fnmatch.c: conform to 80 column standard (yes, I'm a pedant).
215
216Wed Nov  8 11:10:59 1995  Karl Fogel  <kfogel@floss.cyclic.com>
217
218        * system.h (STAT_MACROS): ifdef S_IFMT, then use it as before; but
219        if it's not defined, then just do a single mask and assume
220        acceptance any of non-zero result.  Norbert, I trust you'll let me
221        know if this is unsatisfactory. :-)
222        Ifdef HAVE_SYS_UTIME_H, then include <sys/utime.h>.  Only OS/2
223        defines this right now.
224
225Wed Nov  8 13:18:51 1995  Norbert Kiesel  <nk@col.sw-ley.de>
226
227	* valloc.c: omit malloc declaration (it's already in system.h
228	  which is included and conflicts with <stdlib.h> on some
229	  systems).
230
231Tue Nov  7 19:38:48 1995  Norbert Kiesel  <nk@col.sw-ley.de>
232
233	* system.h (STAT_MACROS_BROKEN): undo previous change, because
234	  else all regular files will be identified as links (the mask for
235	  links is S_IFREG|S_IFCHR).
236
237Mon Nov  6 19:20:56 1995  Karl Fogel  <kfogel@floss.cyclic.com>
238
239        * system.h (STAT_MACROS_BROKEN): in defining the S_IF* macros,
240        don't fold to 1 or 0 by first masking with S_IFMT; not all
241        systems have that macro, and anyway it's only necessary that we
242        return non-zero.
243
244Fri Oct 27 13:43:35 1995  Karl Fogel  <kfogel@floss.cyclic.com>
245
246        * save-cwd.c: use __PROTO instead of __P (see below).
247
248        * getline.h (__PROTO): same as below.
249
250        * save-cwd.h (__PROTO): replaces __P.  New name, so don't ask if
251        already defined.  The conflict was that OS/2 w/ IBM C/C++ uses
252        `__P' for something else, in <ctype.h> of all places.
253
254        * system.h: do nothing about alloca ifdef ALLOCA_IN_STDLIB (see
255        ../src/ChangeLog).
256
257Tue Oct 24 13:01:25 1995  Norbert Kiesel  <nk@col.sw-ley.de>
258
259	* wait.h: include sys/resource.h if available. This is needed at
260	  least under AIX-3.2 where <sys/wait.h> doesn't include it.
261
262Mon Oct 23 17:39:11 1995  Norbert Kiesel  <nk@col.sw-ley.de>
263
264	* valloc.c (valloc): change parameter definition
265
266Sun Oct 22 14:15:44 1995  Jim Meyering  (meyering@comco.com)
267
268	* getline.c, getline.h: New files.
269	* Makefile.in (SOURCES, OBJECTS, HEADERS): Add getline.c, getline.o,
270	and getline.h, respectively.
271
272Tue Oct 10 18:01:50 1995  Karl Fogel  <kfogel@totoro.cyclic.com>
273
274        * Makefile.in (cvs_srcdir): define cvs_srcdir to be ../src, then
275        include it with -I so save_cwd.c can find error.h (for example).
276
277Sun Oct  8 12:27:57 1995  Peter Wemm  <peter@haywire.DIALix.COM>
278
279	* system.h: define POSIX_SIGNALS or BSD_SIGNALS if configure has
280	located all the necessary functions for each "type".
281	* sighandle.c: detect/use POSIX/BSD reliable signals (especially
282	for blocking signals in critical sections).  Helps prevent stray
283	locks on interruption.
284
285Mon Oct  2 18:11:23 1995  Jim Blandy  <jimb@totoro.cyclic.com>
286
287	* system.h: Doc fix.
288
289Mon Oct  2 18:10:35 1995  Larry Jones  <larry.jones@sdrc.com>
290
291	* regex.c: compile 4.2 BSD compatible functions even when
292	_POSIX_SOURCE is defined since we need them and we wouldn't be
293	compiling this file unless they don't exist.
294
295Mon Oct  2 10:32:20 1995  Michael Finken  <finken@conware.de>
296
297        * strstr.c (strstr): new file and func.
298
299        * Makefile.in (SOURCES): added strstr.c.
300
301Sun Oct  1 21:03:40 1995  Karl Fogel  <kfogel@totoro.cyclic.com>
302
303        * regex.c: reverted below change.
304
305Thu Sep 28 13:37:04 1995  Larry Jones <larry.jones@sdrc.com>
306
307        * regexp.c: check for ISC.
308
309Thu Sep 7  19:18:00 1995  Jim Blandy  <jimb@cyclic.com>
310
311	* save-cwd.c: #include <direct.h> and <io.h>, on systems that
312	have them.
313
314	* getopt.c (_getopt_internal): Cast the return value of strlen,
315	which is unsigned, before comparing it with the difference between
316	two pointers, which is unsigned.
317
318Thu Aug 31 11:31:42 1995  Jim Blandy  <jimb@totoro.cyclic.com>
319
320	* getdate.y [STDC_HEADERS]: #include <stdlib.h>, for abort.
321	[HAVE_ALLOCA_H]: #include <alloca.h>, for alloca on Windows NT.
322
323Wed Aug 30 18:48:44 1995  Jim Blandy  <jimb@totoro.cyclic.com>
324
325	* system.h [HAVE_IO_H]: #include <io.h>, for Windows NT.
326	[HAVE_DIRECT_H]: #include <direct.h>, for Windows NT.
327	(CVS_MKDIR, FOLD_FN_CHAR, fnfold, fncmp, ISDIRSEP, OPEN_BINARY,
328	FOPEN_BINARY_READ, FOPEN_BINARY_WRITE): New macros/functions, for
329	use in system-sensitive code.
330
331	* regex.c (re_set_registers): start and end are pointers, not
332	integers.  Cast the initializing value appropriately.
333
334	* getopt.c [HAVE_STRING_H]: #include <string.h>, to avoid
335	warnings.
336
337	* fnmatch.c (FOLD_FN_CHAR): Give this a dummy #definition if
338	config.h didn't #define it.
339        (fnmatch): Pass filename characters through FOLD_FN_CHAR before
340	comparing them.
341
342	* argmatch.c: #include <sys/types.h>.
343	(argmatch): Declare arglen to be a size_t, rather than an int,
344	to avoid signed/unsigned comparison "problems".
345
346	* .cvsignore: Remove getdate.c from this file.  We want to
347	distribute it, for systems that don't have a Yacc-equivalent
348	installed (like Windows NT).
349
350Sat Aug 19 22:00:51 1995  Jim Blandy  <jimb@totoro.cyclic.com>
351
352	* error.c: Don't #define CVS_SUPPORT here.  config.h takes care of
353	that for us.
354	[CVS_SUPPORT] (error_use_protocol): New variable, with apology.
355	(error): If error_use_protocol is set, report errors using the
356	client/server protocol.
357	* error.h [CVS_SUPPORT]: Extern decl for error_use_protocol.
358
359Fri Aug  4 00:01:24 1995  Jim Meyering  (meyering@comco.com)
360
361	* xgetwd.c: Don't declare free.  A K&R style declaration gets
362	a conflict on some Sun systems when compiling with acc.
363
364	* save-cwd.c: New file.
365	* save-cwd.h: New file.
366	* Makefile.in (SOURCES): Add save-cwd.c
367	(OBJECTS): Add save-cwd.o.
368	(HEADERS): Add save-cwd.h.
369
370Thu Aug  3 00:55:54 1995  Jim Meyering  (meyering@comco.com)
371
372	* error.h: New file.
373	* Makefile.in (HEADERS): Add error.h.
374
375Sat Jul 29 15:53:55 1995  James Kingdon  <kingdon@harvey.cyclic.com>
376
377	* Makefile.in (SOURCES): Add getdate.c.
378
379Thu Jul 27 09:11:41 1995  Robert Lipe <robertl@rjlhome.arnet.com>
380
381	* system.h: Check for PATHSIZE before falling back to _POSIX_PATH_MAX.
382
383Thu Jul 20 12:38:03 1995  James Kingdon  <kingdon@harvey.cyclic.com>
384
385	* error.c: Instead of calling cvs functions to clean up, allow cvs
386	to register a callback via error_set_cleanup.  Avoids hassles with
387	include files and SERVER_SUPPORT and so on.
388
389Tue Jul 18 21:18:00 1995  Jim Blandy <jimb@cyclic.com>
390
391	* system.h: Include <sys/param.h> only if HAVE_SYS_PARAM_H
392	is #defined.  We've added a test to configure.in to #define this
393	on most systems.
394
395Thu Jul 13 11:22:21 1995  Jim Meyering  (meyering@comco.com)
396
397	* xgetwd.c: New file.
398	* Makefile.in (SOURCES): Add xgetwd.c
399	(OBJECTS): Add xgetwd.o.
400
401Wed Jul 12 09:18:49 1995  Jim Meyering  (meyering@comco.com)
402
403	* Makefile.in (OBJECTS): Remove fnmatch.o.  Now configure adds it
404	to LIBOBJS when necessary.
405
406Fri Jun 30 16:27:18 1995  James Kingdon  <kingdon@harvey.cyclic.com>
407
408	* rename.c (rename): If MVDIR is not defined, just give an error
409	on attempt to rename a directory.
410
411Thu Jun 29 00:46:31 1995  James Kingdon  <kingdon@harvey.cyclic.com>
412
413	* system.h: Check HAVE_SYS_TIMEB_H not non-existent HAVE_TIMEB_H.
414
415	* system.h: Don't define alloca if it is already defined.
416
417Wed Jun 28 15:24:51 1995  James Kingdon  <kingdon@harvey.cyclic.com>
418
419	* system.h: If NeXT, define utimbuf ourself.
420
421Mon May 29 22:32:40 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
422
423	* system.h: Handle time and directory headers as recommended in
424	the autoconf manual.
425	Undefine the S_FOO() macros if STAT_MACROS_BROKEN is set.
426	Don't define mode_t, as it is handled by config.h.
427
428Sat May 27 08:46:00 1995  Jim Meyering  (meyering@comco.com)
429
430	* Makefile.in (Makefile): Regenerate only Makefile in current
431	directory when Makefile.in is out of date.  Depend on ../config.status.
432
433Fri Apr 28 22:49:25 1995  Jim Blandy  <jimb@totoro.bio.indiana.edu>
434
435	* Makefile.in (SOURCES, OBJECTS): Updated.
436	(HEADERS): New variable.
437	(DISTFILES): Updated.
438	(dist-dir): Renamed from dist; changed to work with DISTDIR
439	variable passed from parent.
440
441Wed Feb  8 06:37:53 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
442
443	* system.h (S_IRUSR et al): Define if not already defined.
444
445	* waitpid.c [HAVE_CONFIG_H]: Include "config.h".
446	(ualloc): Return OLDPTR rather than running off the end.
447
448Mon Aug 22 22:48:19 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
449
450	* error.c (strerror): Replaced conditional static definition
451	(always used, since the condition variable was never set) with an
452	extern declaration, since it's provided by libc or strerror.c.
453
454Wed Aug 10 14:54:25 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
455
456	* Makefile.in (SOURCES): Add waitpid.c.
457	* waitpid.c: New file.
458
459Tue Aug  9 16:00:12 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
460
461	* md5.h (uint32): If SIZEOF_LONG isn't 4, don't define this to be
462	"unsigned long"; try SIZEOF_INT and "unsigned int", otherwise
463	complain.
464
465	* md5.c: Include config.h.
466	(const): Don't bother defining here, config.h should take care of
467	it.
468
469	* valloc.c (malloc): Declare.
470
471Fri Jul 15 12:57:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
472
473	* getopt.c: Do not include <stdlib.h> unless __GNU_LIBRARY__ is
474	defined.  On Irix 5.2, <stdlib.h> includes <getopt.h>, which
475	causes a multiple definition of struct option.
476
477Fri Jul  8 10:04:59 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
478
479	* md5.h, md5.c: Remove ANSI-isms.
480
481Thu Jul  7 20:24:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
482
483	* md5.h, md5.c: New files.
484	* Makefile.in (SOURCES): Add md5.c.
485	(OBJECTS): Add md5.o.
486	(DISTFILES): Add md5.h.
487	(md5.o): New target; depend upon md5.h.
488
489Fri May 27 18:15:34 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
490
491	* valloc.c: New file.
492
493Tue May 17 08:18:26 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
494
495	* error.c (error, fperror): If server_active, call server_cleanup
496	as well as Lock_Cleanup.
497
498Thu Jan  6 13:45:04 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
499
500	* system.h: Fix Dec 27 change to work correctly.  Makes Sep 9
501	change unnecessary, so backed that one out.  Never define PATH_MAX
502	in terms of pathconf, because that doesn't produce a constant, and
503	PATH_MAX is used to set array sizes.
504
505Mon Dec 27 14:22:07 1993  Mark Eichin  (eichin@cygnus.com)
506
507	* system.h: don't touch PATH_MAX or MAXPATHLEN if *both* of them
508	are already defined, as one may be defined in terms of the other.
509