1Mon Dec  4 00:44:40 1995  Ulrich Drepper  <drepper@myware>
2
3	* configure.in (VERSION): Bump to 4.2.
4
5Sat Dec  2 03:17:01 1995  Ulrich Drepper  <drepper@myware>
6
7	* configure.in: Add handling of README-alpha file.  If current
8	version is a test release we ship this file.  Inspired by Jim
9	Meyering's configure.in.
10
11	* Makefile.in (DISTFILES): Add @DIST_ALPHA@.
12
13Sun Nov 26 00:39:10 1995  Ulrich Drepper  <drepper@myware>
14
15	* configure.in: Fix fatal bug: have to add AC_C_BIGENDIAN test.
16	Else the MD5 sum on big endian machines is wrong!
17
18	* configure.in: We don't need to test for shar.  We are installing it.
19
20Sat Nov 25 16:16:22 1995  Ulrich Drepper  <drepper@myware>
21
22	* README: Some corrections around ABOUT-NLS by Franc,ois Pinard.
23
24Fri Nov 24 19:59:53 1995  Ulrich Drepper  <drepper@myware>
25
26	* Makefile.in (DISTFILES): Change README.NLS to ABOUT-NLS.
27
28Tue Nov 21 16:30:51 1995  Ulrich Drepper  <drepper@myware>
29
30	* aclocal.m4 (ud_GNU_GETTEXT): Always create intl/.
31
32	* Makefile.in:
33	Make recursion loop aware of Make's -k option.  Kudos to Jim Meyering.
34
35	* Makefile.in: Make default goal `all' and depend on `all-recursice'.
36
37Tue Nov 14 12:55:50 1995  Ulrich Drepper  <drepper@myware>
38
39	* configure.in (VERSION): Bump to 4.1.12.
40	(ALL_LINGUAS): Add ja_JP.EUC.
41
42Tue Nov  7 13:46:39 1995  Ulrich Drepper  <drepper@myware>
43
44	* aclocal.m4 (ud_WITH_NLS):
45	Set LIBS to correct value and filter out -intl if necessary.
46
47Mon Nov  6 16:47:58 1995  Ulrich Drepper  <drepper@myware>
48
49	* aclocal.m4 (ud_PATH_LISP):
50	Remove macro.  We don't need it in sharutils.
51
52Sun Nov  5 21:45:55 1995  Ulrich Drepper  <drepper@myware>
53
54	* aclocal.m4:
55	Franc,ois reported that po2tbl.sed is not always generated.
56
57Sun Nov  5 18:20:33 1995  Ulrich Drepper  <drepper@myware>
58
59	* configure.in (VERSION): Bump to 4.1.11.
60
61	* Makefile.in (DISTFILES): Don't distributs NLS, but README.NLS.
62
63Sun Nov  5 13:33:00 1995  Ulrich Drepper  <drepper@myware>
64
65	* Makefile.in (dist): Suppress error message when ln failed.
66
67	* configure.in (VERSION): Bump to 4.1.10.
68
69Sat Nov  4 23:37:53 1995  Ulrich Drepper  <drepper@myware>
70
71	* aclocal.m4:
72	Fix typo: "Do not you" -> "Do not use".  Reported by Tom Tromey.
73
74Sun Oct 29 12:02:42 1995  Ulrich Drepper  <drepper@myware>
75
76	* configure.in: Replace AC_INSTALL_PROG with fp_INSTALL_PROG.
77
78	* aclocal.m4 (fp_PROG_INSTALL): New macro by Franc,ois Pinard.
79
80Sat Oct 28 23:32:04 1995  Ulrich Drepper  <drepper@myware>
81
82	* aclocal.m4:
83	Test for dcgettext function when gettext is found in C library.  This
84	works around the missing function in Solaris 2.3.
85
86Fri Oct 27 02:29:59 1995  Ulrich Drepper  <drepper@myware>
87
88	* aclocal.m4:
89	Use single quotes where possible.  Reported by Christian von Roques.
90
91Tue Sep 26 00:52:59 1995  Ulrich Drepper  <drepper@myware>
92
93	* aclocal.m4 (md_PATH_PROG): Quote argument to echo.
94
95Mon Sep 25 22:15:36 1995  Ulrich Drepper  <drepper@myware>
96
97	* aclocal.m4 (md_PATH_PROG):
98	Use this new macro instead of AC_PATH_PROG for msgfmt and
99	xgettext program.  This warns about uses of OpenWin versions (Wrgg).
100
101Sun Sep 24 10:49:40 1995  Ulrich Drepper  <drepper@myware>
102
103	* aclocal.m4: Protect second use of ac_cv_func_stpcpy, too.
104
105	* aclocal.m4:
106	Move definition of INTLSUB to right place.  We don't need to compile
107	this directory for systems which have the gettext functions.
108
109	* configure.in (AC_REPLACE_FUNCS):
110	Add stpcpy.  Reported by Nelson Beebe and Jim Meyering.
111
112Sat Sep 23 22:49:35 1995  Ulrich Drepper  <drepper@myware>
113
114	* configure.in (VERSION): Bump to 4.1.9.
115
116	* aclocal.m4 (stpcpy):
117	Fix bug where test gets empty argument when stpcpy is not available.
118	Reported by Nelson Beebe.
119
120	* configure.in (VERSION): Bump to 4.1.8.
121
122Fri Sep 22 23:47:00 1995  Ulrich Drepper  <drepper@myware>
123
124	* acconfig.h (HAVE_STPCPY): Add symbol for work around.
125
126	* configure.in (AC_C_INLINE): Add this test.
127
128Thu Sep 21 19:12:32 1995  Ulrich Drepper  <drepper@myware>
129
130	* aclocal.m4: Add aclocal.m4 from gettext-0.9.4.
131
132	* configure.in (AC_OUTPUT): Add po/po2tbl.sed.
133
134Wed Sep 20 23:51:55 1995  Ulrich Drepper  <drepper@myware>
135
136	* configure.in (uucode):
137	In case of cached value set MAN1PAGES and MAN5PAGES.  Was only
138	done for uncached case before.
139
140	* Makefile.in (install-man): New rule for install man pages.
141
142	* configure.in (VERSION): Bump to 4.1.7.
143
144Thu Sep  7 00:19:52 1995  Ulrich Drepper  <drepper@myware>
145
146	* Makefile.in (dist):
147	Use o option for tar to generated more general tar files.
148
149	* Makefile.in (dist): Don't use long --gzip option for tar.
150
151Sat Aug 19 23:36:03 1995  Ulrich Drepper  <drepper@myware>
152
153	* aclocal.m4: Update to aclocal.m4 from gettext-0.9.3 from 950818.
154
155Tue Aug 15 16:47:46 1995  Ulrich Drepper  <drepper@myware>
156
157	* Makefile.in (dist): Remove `copying instead' message.
158
159Tue Aug 15 12:23:16 1995  Ulrich Drepper  <drepper@myware>
160
161	* configure.in:
162	Make sure that .gmo catalogs are always installed if NLS is selected.
163
164	* aclocal.m4: Update NLS macros from gettext-0.9.2.
165
166Thu Aug 10 22:36:39 1995  Ulrich Drepper  <drepper@myware>
167
168	* Makefile.in (SUBDIRS): Add contrib.
169
170Thu Aug  3 00:03:01 1995  Ulrich Drepper  <drepper@myware>
171
172	* configure.in, aclocal.m4, acconfig.h: Complete rewrite after
173 	changing to non-flat directory structure and usage of GNU gettext.
174
175Wed Aug  2 23:59:57 1995  Ulrich Drepper  <drepper@myware>
176
177	* Makefile.in: Complete rewrite for non-flat directory structure
178 	and usage of GNU gettext.
179
180Tue Jun 13 08:23:35 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
181
182	* shar.c: Replace all references to _sharEXT.tmp by _sh$$.EXT, so
183	many unshar may execute in parallel in the same directory.
184	Reported by Jim Meyering.
185
186Wed May 17 14:07:08 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
187
188	* pt.po: New file, for Portuguese.
189	* configure.in (LINGUAS): Adjusted.
190	Reported by Antonio Esteves.
191
192Wed May  3 20:49:53 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
193
194	* mailshar.in: Add `-s SIZE' option.  Use test instead of [.
195
196Tue May  2 23:15:01 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
197
198	* uuencode.c (encode): Use comma operator when assignment in test.
199	* uudecode.c (DEC), uuencode.c (ENC): Capitalize macro arguments.
200	* system.h (memcpy), shar.c (ISASCII): Avoid superfluous
201	parentheses in macro definitions.
202
203Tue Apr 25 18:55:26 1995  Fran�ois Pinard  (pinard@icule)
204
205	* shar.c (shar): Capitalize SKIPPING messages.  These are nearly
206	errors, and so, they should call for the eye of the user.
207
208Sun Mar 26 08:48:27 1995  Fran�ois Pinard  (pinard@icule)
209
210	* remsync.in: Use Emacs file variables to announce Perl mode
211	instead of using the first line.  This confuses some shells.
212	Reported by Andrey A. Chernov.
213
214	* configure.in: Define and substitute MAN1PAGES and MAN5PAGES,
215	according to --disable-uucode.
216	* Makefile.in: Adjusted accordingly.
217	Reported by Andrey A. Chernov.
218
219	* configure.in: Define SCRIPTS separately from PROGRAMS.  Use
220	fp_PROG_INSTALL instead of AC_PROG_INSTALL.
221	* Makefile.in: Adjusted accordingly.
222	Reported by Andrey A. Chernov.
223
224Fri Mar 24 07:57:57 1995  Fran�ois Pinard  (pinard@icule)
225
226	* shar.c (shar): Silence the `Saving...' messages under --quiet.
227	Reported by Karl Berry.
228
229Sun Mar 19 10:32:45 1995  Fran�ois Pinard  (pinard@icule)
230
231	* configure.in: Remove GLOCALE, add LINGUAS, use fp_WITH_CATALOGS.
232	* Makefile.in: Modify accordingly.
233	* acconfig.h: Add description for WITH_CATALOGS.
234	* system.h: Use WITH_CATALOGS to define _() differently.
235
236Fri Feb 24 20:09:20 1995  Francois Pinard  (pinard@icule)
237
238	* Makefile.in (clean): Remove mail-files, mailshar and remsync.
239	Reported by Eric Backus.
240
241	* contrib/Makefile.in: Replace /doc par /contrib everywhere.  The
242	technique used for making this file shows!
243	Reported by Eric Backus, Joshua R. Poulson and Kaveh R. Ghazi.
244
245	* configure.in: Put gdiff test in parentheses, because Bourne
246	shell otherwise complains about an inexisting program.
247	Reported by Kaveh R. Ghazi.
248
249Tue Feb 21 23:57:25 1995  Francois Pinard  (pinard@icule)
250
251	* Prerelease 4.1.4.
252
253	* configure.in, Makefile.in: Replace `date' by `echo timestamp'.
254	Reported by Greg McGary and Jim Meyering.
255
256Sun Feb 19 12:06:20 1995  Francois Pinard  (pinard@icule)
257
258	* Makefile.in: Support an ID file.  Do not distribute TAGS.
259	Reported by Greg McGary.
260
261Sun Feb 12 07:21:05 1995  Francois Pinard  (pinard@icule)
262
263	Start distributing contrib:
264	* contrib/*: New files, not detailed nor maintained here.
265	* configure.in: Set make.  Output contrib/Makefile.
266	* Makefile.in (distclean, dist, dist-shar): Execute in contrib/.
267
268	Start distributing remsync:
269	* configure.in: Merge remsync's configure.in.
270	* Makefile.in: Merge remsync's Makefile.in
271	* mail-files.in, mailshar.in, remsync.in, remsync.texi: New files.
272
273Sun Feb  5 07:37:19 1995  Francois Pinard  (pinard@icule)
274
275	* Makefile.in (maintainer-clean): New name for realclean.
276
277Sat Dec 17 14:57:41 1994  Francois Pinard  (pinard@icule)
278
279	* configure.in: Check for isascii.
280	* shar.c: Properly define ISASCII after including <ctype.h>.
281	(shar): Use ISASCII before checks if not mandatory prefix mode.
282	Reported by Bruno Haible and Jim Meyering.
283
284Tue Dec 13 10:17:57 1994  Francois Pinard  (pinard@icule)
285
286	* system.h: Remove STDC_HEADERS test before including <string.h>,
287	as HAVE_STRING_H should be able to decide this alone.
288
289Sat Dec  3 20:04:39 1994  Francois Pinard  (pinard@icule)
290
291	* libintl.c: Unprotoize it once and for all.
292	* Makefile.in: Do not unprotoize libintl.c.  With old compilers,
293	the special rule ensuring LOCALEDIR is defined was bypassed.
294	Reported by Kaveh R. Ghazi.
295
296	* Makefile.in (realclean): Delete stamp-cod.
297	Reported by Eric Backus.
298
299Thu Dec  1 13:36:57 1994  Francois Pinard  (pinard@icule)
300
301	* nl.tt: New file, for Dutch.
302	Reported by Andries E. Brouwer.
303
304Wed Nov 30 11:01:29 1994  Francois Pinard  (pinard@icule)
305
306	* Prerelease 4.1.3.
307
308	* Makefile.in: Install catalog files as `.msg', not `.cat'.
309
310	* configure.in, Makefile.in, acconfig.h, shar.c, unshar.c,
311	uudecode.c, uuencode.c: Rename PRODUCT to PACKAGE.
312	Reported by Noah Friedman.
313
314	* configure.in, Makefile.in: Rename GNULOCALE to GLOCALE.
315	Reported by Richard Stallman.
316
317	* configure.in: Use AC_CHECK_PROG to check for extract-msgs.
318	Reported by Kaveh R. Ghazi.
319
320	* Makefile.in: Replace libintl.o by libintl$O.
321	Reported by Kaveh R. Ghazi.
322
323	* system.h: Define setlocale(,) to empty if not HAVE_LOCALE_H.
324	* shar.c, unshar.c, uudecode.c, uuencode.c: Avoid HAVE_LOCALE_H.
325	Reported by Jim Meyering and Paul Eggert.
326
327	* shar.c (main): Give "+..." to getopt for repairing the -p option.
328	`-p -B sv.tt -T shar.c' was turned into `-p -B -T sv.tt shar.c' by
329	getopt_long, which makes both files be treated as text.
330	Reported by Jan Djarv.
331
332	* sv.tt: New file, for Swedish.
333	Reported by Jan Djarv.
334
335	* de.tt: New file, for German.
336	Reported by Ulrich Drepper.
337
338Tue Nov 29 19:13:44 1994  Francois Pinard  (pinard@icule)
339
340	* shar.c: Change archive_type_position from long to off_t.
341	* unshar.c (find_archive):  Idem for start argument, and position.
342	* (unarchive_shar_file): Idem for current_position.
343	Reported by David J. MacKenzie.
344
345	* Makefile.in (locale.c): Add a missing semicolon.
346	Reported by Bill Aten, Eric Backus and Jan Djarv.
347
348Mon Nov 28 19:04:56 1994  Francois Pinard  (pinard@icule)
349
350	* Prerelease 4.1.1.
351
352	* configure.in: Check if GNU locale available, then substitute
353	GNULOCALE by yes or no, accordingly.
354	* Makefile.in: Merely touch locale.c, fr.cat or $(PRODUCT).cod, when
355	GNU locale is not available.
356
357	* shar.c (shar): Double file_type by file_type_remote, localizing
358	only the first, and use appropriately.
359
360Sun Nov 27 14:36:57 1994  Francois Pinard  (pinard@icule)
361
362	* Makefile.in: Implement CATALOGS and locale.c.
363	* libintl.h: New.
364	* libintl.c: New, inspired by GNU locale gettext.c.
365	* fr.tt: New translation file for French.
366
367	* Makefile.in: Normalize using temporaries for redirected-to files.
368
369Sat Nov 26 20:41:23 1994  Francois Pinard  (pinard@icule)
370
371	* configure.in: Check for <locale.h>.
372	* system.h, shar.c, uudecode.c, uuencode.c: Rename _ to __P.
373	* system.h: Include <locale.h> if we have it.  Always include
374	<libintl.h>, then declare _ as gettext.
375	* shar.c, unshar.c, uudecode.c, uuencode.c: Call setlocale if we
376	have <locale.h>.  Use _ macro over all localizable strings.
377
378Tue Nov 15 23:13:18 1994  Francois Pinard  (pinard@icule)
379
380	* shar.c: Do not include <sys/stat.h>, since it is already
381	included indirectly via "system.h".
382	Reported by Harlan Stenn and Kaveh R. Ghazi.
383
384Thu Nov 10 02:05:43 1994  Francois Pinard  (pinard@icule)
385
386	* shar.c (shar): Use putc instead of fputc.
387	* unshar.c (unarchive_shar_file): Use getc and putc, instead of
388	fgetc and fputc.
389
390Wed Nov  9 12:50:00 1994  Francois Pinard  (pinard@icule)
391
392	* Makefile.in (install-man): Do not transform the source name of
393	uuencode.5 while installing, only the destination name.
394	Reported by David MacKenzie.
395
396Tue Nov  8 11:44:00 1994  Francois Pinard  (pinard@icule)
397
398	* shar.c (main): Output the `Created N files' in quiet mode only.
399	When not quiet, we already get one message per archive generated.
400
401Mon Nov  7 15:09:11 1994  Francois Pinard  (pinard@icule)
402
403	* Makefile.in (stamp-vti): Use new -r option to date.
404
405	* shar.c: Allow more flexibility in -o by allowing a sprintf
406	format.  When no `%' characters in format, do as before.
407	(open_output, close_output): New routines.  Also check result
408	returned by fopen and fclose.
409	Reported by Paul A. Vixie.
410
411Sat Nov  5 15:57:17 1994  Francois Pinard  (pinard@icule)
412
413	* Version 4.1.
414
415	* Makefile.in (realclean): Also remove stamp-vti.
416	Reported by Eric Backus.
417
418	* uudecode.c: Declare getpwnam.
419	Reported by Christopher Sawtell.
420
421	* configure.in: Check is stat macros are dependable.
422	* system.h: Include <sys/stat.h> and define permission bits.
423	Conditionnaly define S_ISDIR and S_ISREG.
424	* shar.c: Use S_ISDIR and S_ISREG.
425	* uudecode.c, uuencode.c: Delete code now in "system.h".
426	Reported by Andy Seaborne.
427
428Wed Nov  2 00:24:41 1994  Francois Pinard  (pinard@icule)
429
430	* shar.c: Delete verbose_mode and -v, which was a poor choice for
431	meaning *no*-verbose.  Instead, introduce quiet_mode and
432	quiet_unshar_mode, driven by new options -q and -Q.
433	Reported by Christopher Sawtell.
434
435	* uuencode.c: Normalize usage (), use EXIT_* symbols and error ().
436	* uudecode.c: Idem.  Also rename rval to exit_status.
437
438	Some systems (DEC Alpha OSF 2.0) declares basename with a
439	non-const argument in <string.h>, so conflicting with "system.h".
440	* configure.in: Check for basename, replace it when not found.
441
442	* configure.in: Check for const only after having found possible
443	ANSIfying compiler flags, this is of no use to check it before.
444
445	* Makefile.in: Adjusted.
446	* system.h: Use a degenerated prototype when basename found.
447	Reported by Kaveh R. Ghazi and Nelson Beebe.
448
449Tue Nov  1 23:11:26 1994  Francois Pinard  (pinard@icule)
450
451	* uudecode.c, uuencode.c: Remove inclusion of <stdio.h> and
452	<sys/types.h>, already included from "system.h".
453	Reported by Christopher Sawtell.
454
455	* configure.in: Check if closedir return void.  CLOSEDIR_VOID was
456	already tested in shar.c, but the symbol not configured.
457	Reported by Karl Vogel, Kaveh Ghazi and Michael Rendell.
458
459Mon Oct 31 20:59:16 1994  Francois Pinard  (pinard@icule)
460
461	* Makefile.in (BACKLOG): Goal deleted.  It was depending on files
462	which are not part of the distribution.
463
464	* uudecode.c, uuencode.c: Declare program_name const char *, not
465	static char *.
466	Reported by Andy Seaborne, Eric Backus, Joseph E. Sacco, Karl
467	Vogel and Kaveh R. Ghazi.
468
469Sun Oct 30 08:30:35 1994  Francois Pinard  (pinard@icule)
470
471	* configure.in: Check for fchmod.
472	* uudecode.c: Use chmod if fchmod does not exist.
473	Reported by Andrew Walduck, Andrew B. Smith, Bill Campbell,
474	Christopher Sawtell, Donald Page, Elliott Pacetti and Robert J.C.
475	Kyanko.
476
477	* configure.in: Check for memcpy and strchr.
478	* system.h: Rearrange how mem* and str* are used.
479	Reported by Kaveh R. Ghazi.
480
481	* configure.in: When cross-compiling, do not check if characters
482	are unsigned, and let __CHAR_UNSIGNED__ undefined.  This is safe.
483	Reported by David MacKenzie.
484
485	* system.h: Use #if rather than #ifdef to check __STDC__.
486
487	* Makefile.in: Clean up, following the one in GNU m4.  I will not
488	detail all the changes here.
489	* configure.in: Likewise.  Also added --disable-uucode.
490
491	* acconfig.h: Document PRODUCT and VERSION.
492	* version.c: Deleted.
493	* shar.h: Delete previous VERSION definition.
494	* shar.c, unshar.c, uudecode.c, uuencode.c: Use PRODUCT and VERSION.
495	* Makefile.in: Adjusted.
496
497	* system.h: Renamed from shar.h.  All includers adjusted.
498	* alloca.c: New, from elsewhere.
499	* configure.in: Configure alloca.
500	* Makefile.in: Adjusted.
501
502	* Makefile.in (BACKLOG): New.  Distribute file BACKLOG.
503
504	* Makefile.in (TAGS): Distribute it.  Clean it in realclean.
505	Reported by Karl Berry.
506
507Sat Oct 15 21:57:42 1994  Francois Pinard  (pinard@icule)
508
509	* remsync/configure.in: Find Perl path and substitute in remsync.
510	* remsync/remsync.in: New name for remsync.pl.  Use @PERL@ in it.
511	* remsync/Makefile.in: Adjusted.
512	Reported by Jim Meyering.
513
514Sun Oct  9 08:43:28 1994  Francois Pinard  (pinard@icule)
515
516	* shar.h: Get rid of CONFIG_BROKETS.
517
518Wed Oct  5 01:52:22 1994  Francois Pinard  (pinard@icule)
519
520	* Corrected various bugs and improve a few functionnalities in
521	remsync/.  No need for a detailed ChangeLog here, before the
522	package is released for true.  I will only reported other's
523	changes for now.
524
525Sat Sep 24 09:49:22 1994  Francois Pinard  (pinard@icule)
526
527	* encode.c: New name for uushar.c.
528	* Makefile.in: Adjusted.
529
530Fri Sep 23 08:20:10 1994  Francois Pinard  (pinard@icule)
531
532	* uudecode.c: Include <sys/types.h> before <sys/stat.h>.
533	Reported by Andrew Walduck, Christopher Sawtell, Gregory Neil
534	Shapiro, Horst von Brand, Ian Jackson, Karl Berry, Kaveh R. Ghazi,
535	Ken Olstad, Meade Roberts, Nelson H. F. Beebe and Richard Segal.
536
537	* Makefile.in: Handle uudecode and uuencode installation.
538	(man1dir, man1ext): Renamed from mandir and manext.
539	(libshutl.a): Renamed from libshar.a.
540	(check): New, from GNU uuencode-1.0's Makefile.in.
541	* testdata, uudecode.c, uudecode.1, uuencode.c, uuencode.1,
542	uuencode.5, version.c : New, from GNU uuencode-1.0.
543
544	Rename the package from shar to sharutils:
545	* shar.h (VERSION): Define to "GNU sharutils M.N", instead of only
546	numbers, to account for the change in the name of the package.
547	* shar.c (generate_full_header, main): Adapt.
548	* unshar.c (main): Adapt.
549	* sharutils.texi: Renamed from shar.texinfo.
550	* Makefile.in: Adjust file names for documents.
551
552	* shar.c (main): Initialize program_name from argv[0] without
553	basename'ing it.
554	* unshar.c (main): Idem.
555	Reported by Karl Berry.
556
557Tue Sep 13 12:52:40 1994  Francois Pinard  (pinard@icule)
558
559	* shar.c (generate_configure): Echo a message suggesting the
560	installation of GNU touch when no valid touch is found.
561
562Thu Sep  8 21:33:43 1994  Francois Pinard  (pinard@icule)
563
564	* configure.in: Use AC_FUNC_STRFTIME.
565
566Tue Sep  6 12:08:49 1994  Francois Pinard  (pinard@icule)
567
568	* Makefile.in (TAGS): Remove -t from etags call.
569
570Fri Sep  2 14:19:09 1994  Francois Pinard  (pinard@icule)
571
572	* whoami.c: Include <limits.h> prior to <sys/utsname.c>.
573	* configure.in: Check for <limits.h>.
574	Reported by Michael Rendell.
575
576Thu Sep  1 19:28:36 1994  Francois Pinard  (pinard@icule)
577
578	* Version 4.0.
579
580	* shar.c: Replace optional_prefix_mode with mandatory_prefix_mode,
581	with inverted meaning.
582	(main): Delay setting the mode to after parameter decoding.
583	Initialize to -T instead of -M in vanilla mode, if not otherwise
584	set.  Diagnose any override.
585	Reported by Eric Backus.
586
587	* Makefile.in (LIBOBJS): Cut the line differently, so \ will be
588	followed by something even if @LIBOBJS@ sustitutes to nothing.
589	Reported by Andy Seaborne and Dave Anglin.
590
591Wed Aug 31 12:14:04 1994  Francois Pinard  (pinard@icule)
592
593	* Makefile.in (distclean): Delete config.log.
594
595Sun Aug 28 14:38:07 1994  Francois Pinard  (pinard@icule)
596
597	* shar.c (main): Cast byte_is_binary to (char *) for memset's.
598	Reported by Joseph E. Sacco.
599
600Fri Aug 26 16:23:58 1994  Francois Pinard  (pinard@icule)
601
602	* unshar.c (matched_by): Initialize pattern_cursor and
603	result_cursor to NULL, for fails to be properly handled.
604	Reported by Joseph E. Sacco.
605
606	* shar.c (shar): Give some value to input and remaining_size.
607	Reported by Joseph E. Sacco.
608
609Thu Aug 25 14:52:28 1994  Francois Pinard  (pinard@icule)
610
611	* shar.c (main): In vanilla mode (-V), defaults to text mode (-T)
612	instead of mixed mode (-M).
613	Reported by Eric Backus.
614
615	* shar.c (generate_configure): New name for generate_touch_test.
616	When -X, configure a way for doing echo without newline, copying
617	the trick from Autoconf 2.0's AC_PROG_ECHO_N.  Do something simple
618	when in vanilla mode.
619	(shar): Do not use newlines with questions.  Rename shar_reply to
620	shar_skip, with meaning reversed, other little cleanups.
621
622	* shar.c (generate_configure): Configure if /dev/tty exists,
623	copying the trick from older GNU tar configure.in.  Do not use
624	/dev/tty when in vanilla mode.
625	(shar):  Possibly use /dev/tty to read the user reply.  This
626	should help using unshar to read shars generated with -X.
627	Reported by Eric Backus.
628
629	* configure.in: Replace mktime if missing.
630	* mktime.c: New, from elsewhere.
631	* Makefile.in: Distribute it.
632	Reported by Karl Vogel and Kaveh R. Ghazi.
633
634Wed Aug 24 08:54:03 1994  Francois Pinard  (pinard@icule)
635
636	* configure.in: Implement --with-dmalloc.
637	* acconfig.h: Document WITH_DMALLOC.
638	* shar.h: Add code for when WITH_DMALLOC.
639
640	* shar.c (walktree): To know how to initialize restore_name, check
641	local_name_copy, not restore_name!
642	Reported by Andy Seaborne.
643
644Tue Aug 23 20:13:38 1994  Francois Pinard  (pinard@icule)
645
646	* shar.c (mode_string): Declare argument unsigned, instead of
647	unsigned short.  This eliminates warnings on some systems.
648	(shar): Cast masked st_mode to unsigned int, for matching format.
649	* unshar.c (main): Cast getpid to int, for matching format.
650
651	* configure.in: Use `-g -O' instead of `-g' as CFLAGS default
652	value, when GNU C is being used.  Delay testing for presets.
653
654	* Makefile.in (dist, shar): Correct for when a different build
655	directory.
656
657	* configure.in: Replace strftime if missing, and study struct tm.
658	* strftime.c: New, from elsewhere.
659	* Makefile.in: Distribute it.
660	* shar.c (generate_full_header): Use it, instead of printing UTC.
661	Reported by Ulrich Drepper.
662
663	* shar.c (walktree): Merge both versions, using NO_WALKTREE to
664	choose which heart to execute.  Remove length limitation on names.
665	Copy the received name, remove trailing slashes from the copy
666	before further processing, free the copy at end.  Trailing
667	backslashes were showing duplicated in the generated shar. Use
668	basename instead of explicit code.
669	(walkdown): Revised.  Remove length parameter on call.  Remove
670	length limitations on names.  Do not restore the string terminator
671	for error messages, since the original string is not altered anymore.
672	* xstrdup.c: New, from elsewhere.
673	* Makefile.in: Compile it, distribute it.
674	* shar.h: Declare xstrdup.  Also declare xrealloc.
675
676	* shar.c, unshar.c: Remove register specifiers.
677
678	* shar.c: Refresh for Autoconf 2.0 renamings about dirent.
679	Reported by Karl Vogel and Kaveh R. Ghazi.
680
681Mon Aug 15 12:46:19 1994  Francois Pinard  (pinard@icule)
682
683	Get rid of warnings in unshar.c about undeclared system functions.
684	* shar.h: Include <unistd.h> if we have it.
685	* shar.c: Don't.
686	Reported by Joseph E. Sacco.
687
688	* shar.c (shar): Define file_type earlier, for error messages.
689	Reported by Andy Seaborne and Joseph E. Sacco.
690
691Sat Aug 13 09:19:01 1994  Francois Pinard  (pinard@icule)
692
693	* configure.in: Check for <sys/wait.h>.
694	* shar.h: Include <sys/wait.h> if we have it.
695
696	* shar.c (mode_string): Renamed from mode_map.  Remove unused
697	code, `t' editing, and second argument.
698	(generate_one_header_line): Do not pass a second NULL argument to
699	mode_string.  Do not mask out bits which are untested anyway.
700
701Fri Aug 12 09:57:07 1994  Francois Pinard  (pinard@icule)
702
703	* shar.c (shar): Use `uudecode FILE < FILE' instead of just
704	`uudecode < FILE', for those uudecode unwilling to merely read
705	their standard input.  This will work only when -P is used.
706	Reported by Laurent Bourbeau.
707
708Thu Aug 11 01:16:36 1994  Francois Pinard  (pinard@icule)
709
710	* shar.c (shar): Add newlines to incomplete lines inside the
711	reading loop, instead of after it; because fgets should not alter
712	the buffer when it returns NULL.  Also remove useless similar
713	lines in code for switching files.
714	Reported by Eric Backus.
715
716Wed Aug 10 14:12:42 1994  Francois Pinard  (pinard@icule)
717
718	* shar.c (shar): Completely avoid sed, compress, gzip and uuencode
719	for empty files.  Just touch or empty files instead, while ensuring
720	restoration of access modes and time stamps, as usual.
721	Reported by Eric Backus.
722
723	* shar.c (usage): Say that -M, not -T, is the default.
724	Reported by Eric Backus.
725
726	* Makefile.in (prefix, exec_prefix): Get value from configure.
727	Reported by Eric Backus and Gordon Joly.
728
729	* configure.in: Use a memset replacement as required.
730	* memset.c: New, from elsewhere.
731	* Makefile.in: Use it, distribute it.
732	Reported by Karl Vogel and Kaveh R. Ghazi.
733
734Tue Aug  9 13:44:28 1994  Francois Pinard  (pinard@icule)
735
736	* configure.in: Updated for Autoconf 2.0.
737	* Makefile.in (distclean): Remove config.cache.
738
739Sat Jul 30 11:52:43 1994  Francois Pinard  (pinard@icule)
740
741	* shar.c (generate_full_header): Use time_t instead of long.
742	Reported by David J. MacKenzie and Michael Rendell.
743
744Fri Jul 29 08:53:32 1994  Francois Pinard  (pinard@icule)
745
746	* shar.c (usage): Improve the wording, here and there.
747	Reported by Karl Berry.
748
749Thu Jul 28 17:26:00 1994  Francois Pinard  (pinard@icule)
750
751	* shar.c (shar): Capitalize `Saving...' messages, also use lower
752	case for file types.
753
754	* unshar.c (unarchive_shar_file): Use `sh -s - -c' if pass_c_flag.
755	Bash as sh diagnosed a missing argument to -c with `sh -s -c'.
756
757	* shar.c (shar): For mixed mode determination, look for special
758	characters in the input file, instead of calling `file' on the
759	input file and studying its output.
760	(main): Initialize the byte_is_binary table.
761	* configure.in: Find out if characters are signed or not.
762	Reported by Andrey A. Chernov and Jan Djarv.
763
764	* shar.c (shar): Do not try completing an incomplete line with a
765	newline, if that incomplete line contains no character.  This case
766	occurs for an empty file, in particular.
767	Reported by Eric Backus and Jan Djarv.
768
769	* shar.c (set_file_mode): New routine.  Use it at places where the
770	various file_mode variables were set.
771	(main): Allow for intermixing -M when -p.  Make -M the default.
772	Reported by Eric Backus and Karl Berry.
773
774Thu Jul 21 21:04:12 1994  Francois Pinard  (pinard@icule)
775
776	* Makefile.in (realclean): Do not remove stamp-h.in.
777	Reported by Karl Berry.
778
779Tue Jul 19 09:58:03 1994  Francois Pinard  (pinard@icule)
780
781	* Avoid declaring getpwuid with POSIX, as per GNU find 3.8.
782	Reported by Kaveh R. Ghazi.
783
784Mon Jul 18 21:06:41 1994  Francois Pinard  (pinard@icule)
785
786	* Makefile.in: Use $(binprefix).
787	Reported by Gordon Joly.
788
789Sat Jul 16 09:28:47 1994  Francois Pinard  (pinard@icule)
790
791	* shar.c: Change `shar' by `GNU shar' wherever the program
792	identifies itself.
793	* unshar.c: Change `unshar' by `GNU unshar' wherever the program
794	identifies itself.
795
796	* shar.texinfo: New documentation.
797	* Makefile.in: Prepare and install GNU documentation.  This solves
798	a problem about exit status for an if with no else in install.
799	(install): Do not install man pages anymore, they are obsolete.
800	(install-man): New goal, for those who do want obsolete things.
801	Reported by Karl Berry.
802
803Fri Jul 15 11:19:10 1994  Francois Pinard  (pinard@icule)
804
805	* Version 3.52.3.
806
807	* shar.c: Add -z and -Z options, change --compressed-files to
808	--compress and --gzipped-files to --gzip, also --uuencoded-files
809	to --uuencode for uniformity.  Have -C tell it will be deprecated.
810	Reported by Noah Friedman.
811
812	* shar.c: Rename --normal-files to --text-files, --maybe-uuencoded
813	to --mixed-uuencode.
814
815	* shar.c (main): Dynamically initialize output to stdout, instead
816	of statically.  GNU libc does not allow stdout as a constant.
817	Reported by Joseph E. Sacco.
818
819	* shar.c (shar): Protect lines already starting with the sed
820	prefix, so `X' will be preserved at beginning of lines.
821	Reported by Eric Backus.
822
823Thu Jul 14 10:14:44 1994  Francois Pinard  (pinard@icule)
824
825	* Version 3.52.2.
826
827	* shar.c, unshar.c: Install long options, --help and --version.
828
829	* shar.c (walktree, walkdown): Use walker_t instead of explicit
830	functionnal argument, for easing ansi2knr's life.
831	Reported by Andy Seaborne, Karl Vogel and Thomas E. Dickey.
832
833Wed Jul 13 15:23:55 1994  Francois Pinard  (pinard@icule)
834
835	* basename.c: New, from elsewhere.
836	* shar.h: Declare basename.  Remove strrchr definition.
837	* Makefile.in: Adjusted.
838	* shar.c: Use basename instead of strrchr.
839
840	* shar.c (shar): Correct a few things in the generated scripts...
841	Indent them the way configure scripts are.  Protect restored file
842	name with quotes when used with chown.  Limit shar work file names
843	to 12 characters beginning with `_shar' and ending with `.tmp'.
844	Have work shell variables begin with `shar_'.  For reading the
845	part number, use cat inside backticks instead of a parenthesized
846	subshell.  Avoid using the `true' program or script, use the `:'
847	shell construct instead.  Avoid using `test X -a Y', use `test X
848	&& test Y' instead.
849
850Tue Jul 12 00:07:14 1994  Francois Pinard  (pinard@icule)
851
852	The following starts a general cleanup, which will slowly continue
853	as things evolve, without further entries in this ChangeLog.
854	* all: Make better use of const, static.  Remove unused variables,
855	rename all others.  Uniformize exit codes, error messages, etc.
856	* shar.h: Renamed from system.h.  Move in some common declarations
857	from other modules, add missing declarations.
858	* Makefile.in: Adjusted.
859
860	* Makefile.in (dist-shar): New goal.  Since shar parts have to be
861	unshared in sequence, we can rely on the order in which files are
862	shar'ed to induce a good topological order in the timestamps at
863	the receiving site.  DISTFILES ordering is important from now on.
864	Reported by Thomas E. Dickey.
865
866	* shar.c (setTOUCH): Ensure that touch does use the date, the
867	previous test was grepping standard error, it was doomed to fail.
868	Reported by Bill Aten and Thomas E. Dickey.
869
870	* shar.c: Use the touch feature by default in generated shars, the
871	timestamps should be transmitted as far as possible.  Warn at
872	unshar time if a shar file needs touch, and if touch is found to
873	be unusable.  Try to avoid clashes when there are many unshar's
874	running in parallel.  This code is not completely solid, yet the
875	probability of a clash is far weaker than before.
876
877	* Makefile.in (distclean): Remove stamp-h.
878	(realclean): Remove stamp-h.in.
879	Reported by Thomas E. Dickey.
880
881Mon Jul 11 22:34:53 1994  Francois Pinard  (pinard@icule)
882
883	* shar.c (shar): Consider a tilde at the beginning of a line as
884	special.  This avoids trouble when using an old version of mail to
885	send a shar file.
886	Reported by Karl Vogel.
887
888	* system.h: Remove declaration of malloc and realloc, they are
889	unused.
890	Declare voidstar depending on __STDC__.
891	Check PROTOTYPES instead of __STDC__ for defining _().
892
893	* shar.c: Declare xmalloc.  Use it instead of malloc.
894	Remove some useless code to report memory allocation errors.
895
896	* Makefile.in (clean): Remove ansi2knr executable.
897	Reported by Karl Vogel.
898
899	* Makefile.in (install): Do not try installing shar.info, it does
900	not exist yet.
901	Reported by Bill Aten, Karl Vogel and Thomas E. Dickey.
902
903	* configure.in: Have CFLAGS and LDFLAGS substituted from the
904	environment.
905	Reported by Karl Vogel.
906
907	* configure.in: Use special defines fo AIX and Minix.
908
909Fri Jul  8 00:17:45 1994  Francois Pinard  (pinard@icule)
910
911	* ansi2knr.1: New file, from elsewhere.
912	* Makefile.in (DISTFILES): Distribute it.
913
914	* shar.c, unshar.c, uushar.c, who@where.c: Merge in successive
915	diffs from 3.49 towards 3.52, privately sent around 1990-10.
916	Reported by Richard H. Gumpertz.
917
918	* remsync/mail-files: Wait only 4 seconds between mailings,
919	instead of 8.
920
921Tue Jun  7 00:05:11 1994  Francois Pinard  (pinard@icule)
922
923	* remsync/find-mailer: Use -f instead of -x.  Not only -x is not
924	portable enough, but if a ~/Mail directory exists, it is wrongly
925	selected.
926	Reported by Bernd Nordhausen.
927
928Sun Jun  5 16:02:15 1994  Francois Pinard  (pinard@icule)
929
930	* Version 3.52.1.
931
932	* shar.c, unshar.c, uushar.c, who@where.c: From shar 3.49
933	distribution.  Remove various logs and group them into file
934	ChangeLog.shar.  Indent sources to GNU standards.  Modify as
935	needed for auto-configuration.  Replace perror() by error().
936	Replace both getwd() and getcwd() by xgetcwd().
937
938	* unshar.c: Remove getopt functions, for GNU getopt is used
939	instead.
940
941	* shar.c: Add -G and -gN for gzip compression.
942
943	* Initial packaging for remsync, but not distributed yet.
944	mailshar now uses gzip instead of compress, by default.
945
946This branch pops out of shar, version 3.49, as published on alt.sources
947on 1990-09-24.  For previous history, see ChangeLog.OLD.
948
949Mon Aug 23 15:32:00 1993  Ian Lance Taylor  (ian@airs.com)
950
951	* Version 1.0 (for uuencode/uudecode).
952
953Previous history for remsync.
954
955	* May 1994: Single Perl script, named remsync, replacing the
956	previous corresponding shell scripts mailsync and resync.  A clean
957	rewrap was needed because, after adding many added features, the
958	scripts became intricate and hard to maintain.  I also added other
959	functionalities, among which the possibility of interactive use.
960
961	* 1992: Shell scripts for synchronization of directory trees:
962	mailsync, resync.  They were depending on many GNU tools.
963
964	* 1992: Shell scripts for automatic selection of a mailer, later
965	condensed into find-mailer.
966
967	* 1991: Shell scripts for file mailing: mail-file, mailshar, and
968	many others too specialized for being included here.
969
970
971