12015-03-16  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
2
3	* printversion.c: 2014 ---> 2015.
4
52014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
6
7	* texmfmp.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
8
92014-11-03  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
10
11	* texmfmp.c: Indentation.
12
132014-10-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
14
15	* texmfmp.c: Use the decision about tex*.dll from ../texmfmp.h.
16
172014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
18
19	* texmfmp.c: Apply some code from W32TeX.
20
212014-08-22  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
22
23	* texmfmp.c: Symplify support of multibyte characters, by
24	updating fsyscp_popen in kpathsea (Windows only).
25
262014-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
27
28	* texmfmp.c: Avoid several compiler warnings (Windows only).
29
302014-08-22  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
31
32	* texmfmp.c: Support multibyte characters in pipe (Windows only).
33
342014-07-23  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
35
36	* texmfmp.c: Short-file-name convention is incompatible with
37	--src-specials (Windows only).
38
392014-07-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
40
41	* texmfmp.c: Use getnullstr() in maketexstring(), also in aleph.
42
432014-07-19  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
44
45	* texmfmp.c: Use getnullstr() in maketexstring(), as in pdfTeX,
46	in most cases in order to avoid an assertion error.
47
482014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
49
50	* texmfmp.c: Replace the deprecated spawnvp() by _spawnvp(),
51	they differ for 64-bit MinGW.
52
532014-07-04  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
54
55	* texmfmp.c: Remove redundant cpp macros (w32 only).
56
572014-06-20  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
58
59	* texmfmp.c: Support short-file-name convention (w32 only).
60
612014-05-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
62
63	Update to e-pTeX and e-upTeX from Akira Kakuto.
64	* texmfmp.c (getfiledump): Move definition of this function
65	also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
66
672014-01-20  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
68
69	* printversion.c: 2013 ---> 2014.
70
712014-01-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
72
73	* texmfmp.c: Do not declare dump_name, now done in change files.
74
752014-01-14  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
76
77	* texmfmp.c: use fsyscp_system instead of system (Windows only).
78
792013-12-31  TANAKA Takuji  <KXD02663@nifty.ne.jp>
80
81	* openclose.c: bug fix about error check when fopen.
82	Use fsyscp_fopen() instead of fsyscp_xfopen() (Windows only)
83	* texmfmp.c: Use get_command_line_args_utf8() (Windows only)
84
852013-12-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>
86
87	* openclose.c, texmfmp.c: Support KANJI file name in (e)upTeX and
88	XeTeX on Windows.
89
902013-06-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
91
92	Update to e-pTeX and e-upTeX 130605 from Hironori Kitagawa.
93	* texmfmp.c (pdftex_fail): Adapted from ../pdftexdir/utils.c.
94	(initstarttime, makecstring, makecfilename, getcreationdate,
95	getfilemoddate, getfilesize): Move definition of these functions
96	also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
97
982013-04-09  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
99
100	* printversion.c: 2012 ---> 2013.
101
1022013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
103
104	* texmfmp.c (mk_shellcmdlist): Simplify.
105
1062013-01-06  Khaled Hosny  <khaledhosny@eglug.org>
107
108	* texmfmp.c [XeTeX]: Support input pipes.
109
1102012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
111
112	* Makefile.am: Avoid use of deprecated INCLUDES.
113
1142012-10-14  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
115
116	* texmfmp.c: Use _IONBF for unbuffered stream.
117
1182012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
119
120	* texmfmp.c (mk_shellcmdlist): The argument is not constant.
121
1222012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
123
124	* texmfmp.c: Modify determination of fullpath for restricted shell
125	escape commands.
126
1272012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
128
129	* texmfmp.c: Since normalize_quotes() is declared static,
130	the forward declaration should also be static.
131
1322012-09-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
133
134	* texmfmp.c (maininit): On Windows, latex "\input" "a b c", for example,
135	was not allowed. Allow file name with spaces in these cases.
136
1372012-08-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
138
139	* main.c [WIN32]: Added _setmaxstdio() (from W32TeX).
140
141	* openclose.c (recorder_start): Reduce TL/W32TeX diffs.
142	Avoid using pid_t lacking in WIN32 (MSVC).
143
1442012-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
145
146	* texmfmp.c [IS_pTeX]: Rename initdefaultkanji() => initkanji().
147
1482012-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
149
150	* texmfmp.c [WIN32]: bug fix. use rewind (f) to clear error and
151	EOF indicators.
152
1532012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
154
155	* texmfmp.c (runpopen): Binary mode for popen() on Windows now
156	done in kpathsea.
157
1582012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
159
160	* texmfmp.c [WIN32]: Ignore DLLPROC for __MINGW32__.
161
1622012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
1632012-06-27  Norbert Preining  <preining@logic.at>
164
165	* texmfmp.c (runpopen): Append "b" on Windows.
166	(open_{in,out}_or_pipe): Do not use the "b" here.
167
1682012-06-27  Karl Berry  <karl@tug.org>
169
170	* texmfmp.c (generic_synctex_get_current_name): return the
171	empty string if passed null (can happen with -ini).
172
1732012-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
174
175	* texmfmp.c (open_{in,out}_or_pipe): Use popen() modes "rb" and
176	"wb" only for Windows, Posix allows them only for fopen().
177	(This makes pdftex's \input"|..." feature work again,
178	unintentionally broken.)
179	tex-live mail, 26 Jun 2012 06:24:11.
180
1812012-05-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
182
183	* printversion.c (printversionandexit): Update 'Copyright 2012'.
184
1852012-04-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
186
187	* texmfmp.c (mk_shellcmdlist, init_shell_escape,
188	shell_cmd_is_allowed, normalize_quotes): Declare as static.
189	(get_seconds_and_micros): Define only for pdfTeX.
190	(getrandomseed): Removed, MP only.
191
1922012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
193
194	Avoid 'differ in signedness' warnings.
195	* texmfmp.c (input_line): Cast buffer to 'unsigned char *'.
196
1972012-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
198
199	* eofeoln.c (eof): Fix a typo in comment.
200
2012012-01-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
202
203	* printversion.c, texmfmp.c: Drop report of file offset bits.
204
2052012-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
206
207	* lib.h, printversion.c, texmfmp.c: Report file offset bits.
208
2092011-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
210
211	* setupvar.c (setupboundvariable): Warning message: the bad
212	value can be from the environment or from texmf.cnf.
213
2142011-10-11  Peter Breitenlohner  <peb@mp.mpg.de>
215
216	* texmfmp.c [WIN32]: Slightly reformulate Byte order marks.
217
2182011-10-07  Peter Breitenlohner  <peb@mp.mpg.de>
219
220	* texmfmp.c: More changes to reduce diffs with W32TeX.
221
2222011-10-04  Peter Breitenlohner  <peb@mp.mpg.de>
223
224	* texmfmp.c: More changes to reduce diffs with W32TeX,
225	for compilation with MS Visual Studio 2005.
226
2272011-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
228
229	* texmfmp.c : remove unused free_shellcmdlist()
230
2312011-10-04  Peter Breitenlohner  <peb@mp.mpg.de>
232
233	* texmfmp.c (calledit): More changes to reduce diffs with W32TeX.
234
2352011-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
236
237	* texmfmp.c: write (sock, buff, n) and send (sock, buff, n, 0)
238	for ipc_snd () are different in winsock.
239
2402011-09-30  Peter Breitenlohner  <peb@mp.mpg.de>
241
242	* texmfmp.c [Aleph]: Remove unused variable `eightbitp'.
243
2442011-09-21  Peter Breitenlohner  <peb@mp.mpg.de>
245
246	* texmfmp.c [IPC]: More changes to reduce diffs with W32TeX.
247
2482011-09-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
249
250	* texmfmp.c: Disable options -translate-file, -default-translate-file,
251	and -8bit for Aleph. The option -kanji-internal=STRING is effective
252	also for pTeX and epTeX.
253
2542011-09-02  Peter Breitenlohner  <peb@mp.mpg.de>
255
256	* texmfmp.c: More changes to reduce diffs with W32TeX.
257
2582011-09-01  Peter Breitenlohner  <peb@mp.mpg.de>
259
260	* texmfmp.c [WIN32]: Minor rewrite to reduce diffs with W32TeX.
261
2622011-08-30  Akira Kakuto <kakuto@fuk.kindai.ac.jp>
263
264	* texmfmp.c [WIN32]: Remove a semicolon.
265
2662011-08-29  Peter Breitenlohner  <peb@mp.mpg.de>
267
268	* texmfmp.c [WIN32]: Allow to build TeX & Co as DLL.
269
2702011-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
271
272	* texmfmp.c: Remove some (e-)pTeX cruft.
273
274	* openclose.c [PTEX]: No nkf_open() and nkf_close() for WIN32.
275
2762011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
277
278	* texmfmp.c: Options for (e-)pTeX and (e-)upTeX.
279
2802011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
281
282	* texmfmp.c: Add upTeX and e-upTeX.
283
2842011-08-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
285
286	* texmfmp.c: Do not #include empty file <kpathsea/recorder.h>.
287
2882011-08-03  Magnus Granberg  <zorry@gentoo.org>
289
290	* texmfmp.c: Use C code for i?86 when -fPIC.
291
2922011-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
293
294	* texmfmp.c: Drop `#warning SyncTeX: -synctex command line...'.
295
2962011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
297
298	* texmfmp.c (ipcpage): Add 'free(cwd)'.
299	(generic_synctex_get_current_name): Use xgetcwd().
300
3012011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
302
303	* texmfmp.c: Change arg2 of kpse_absolute_p() from `0' to `false'.
304
3052011-05-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
306
307	* texmfmp.c: add a function generic_synctex_get_current_name()
308	in order to get full path names for SyncTeX.
309
3102011-05-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
311
312	* texmfmp.c (ipc_open_out): Avoid to #define SOCK_NONBLOCK which
313	conflicts with newer GNU C library headers.
314
3152011-05-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
316
317	* openclose.c (recorder_change_filename): on windows, an opened file
318	cannot be renamed.
319
3202011-05-02  Karl Berry  <karl@tug.org>
321
322	* openclose.c (recorder_change_filename): take output_directory
323	into account.  Report/patch from
324	Philipp Stephani, 30 Apr 2011 16:11:53,
325	http://tracker.luatex.org/view.php?id=615
326
3272011-04-28  Karl Berry  <karl@tug.org>
328
329	* printversion.c (printversionandexit): it is 2011.
330
3312011-04-27  Karl Berry  <karl@tug.org>
332
333	* texmfmp.c (initscreen): do not mention mfw, which is no more.
334	Suggestion from Reinhard Kotucha, tex-k mail 21 Jul 2010 11:40:36.
335
3362011-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
337
338	Avoid 'differ in signedness' warnings.
339	texmfmp.c (input_line): Caat input_line2() arg2 to 'char *'.
340
3412011-03-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
342
343	* texmfmp.c (calledit): [__MINGW32__] Drop win32_system() and
344	use system() as for all other systems.
345
3462011-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
347
348	* setupvar.c (setupboundvariable): `program_invocation_name' has
349	been renamed into `kpse_invocation_name'.
350
3512010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
352
353	Reorganize web2c headers.
354	* alloca.c, basechsuffix.c, chartostring.c, coredump.c,
355	eofeoln.c, fprintreal.c, input2int.c, inputint.c, main.c,
356	openclose.c, printversion.c, setupvar.c, uexit.c, usage.c,
357	zround.c:
358	#include <w2c/config.h> instead of <config.h> or "config.h".
359	* version.c: #include <w2c/c-auto.h> instead of "c-auto.h".
360
3612010-06-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
362
363	* texmfmp.c: include kpathsea/concatn.h if WIN32 is defined.
364
3652010-06-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
366
367	* texmfmp.c: include kpathsea/concatn.h and remove cast
368	for concatn ().
369
3702010-05-24  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
371
372	* texmfmp.c: on win32, all restricted shell escape commands are
373	executed by fullpath.
374
3752010-05-18  Karl Berry  <karl@tug.org>
376
377	* printversion.c (printversionandexit): 2010.
378
3792010-05-10  Karl Berry  <karl@tug.org>
380
381	* input2int.c (zinput2ints, zinput3ints): don't bother
382	to cast result of fprintf.
383
3842010-04-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
385
386	* lib.h:
387	* texmfmp.c: remove TEXDLL.
388
3892010-04-21  Karl Berry  <karl@tug.org>
390
391	* Makefile.am (EXTRA_DIST),
392	* win32main.c: rm per Akira.
393
3942010-04-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
395
396	* texmfmp.c, lib.h: Remove luaTeX specific code.
397
398	* lib.h: Move extern declaration of ptexbanner from here
399	to ../pdftexdir/ptexlib.h (instatiated in texmfmp.c).
400
4012010-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
402
403	* main.c, texmfmp.c: Remove extern declaration of mainbody,
404	is in lib.h.
405	* openclose.c (recorder_enabled, output_directory): Remove
406	extern declarations, are in lib.h.
407	* lib.h: Move extern declaration of fullnameoffile to here ...
408	* texmfmp.c: ... from here ...
409	* openclose.c: ... and from here.
410	* texmfmp.c [XeTeX]: Move extern declarations of papersize and
411	outputdriver from here to ../xetexdir/XeTeX_ext.h.
412
413	* Makefile.am, openclose.c, printversion.c:
414	Integrate libp.a for pTeX.
415
4162010-04-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
417
418	* texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
419	SyncTeX for pTeX.
420
4212010-04-11  Karl Berry  <karl@tug.org>
422
423	* texmfmp.c,
424	* printversion.c,
425	* openclose.c,
426	* chartostring.c,
427	* basechsuffix.c: remove useless casts to (string) or (char *),
428	etc. of xmalloc.
429
4302010-03-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
431
432	* openclose.c (open_input): Fixed a typo.
433	From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 30 Mar 2010 12:33:33.
434
4352010-03-30  Karl Berry  <karl@tug.org>
436
437	* (recorder_start): throw in pid in recorder_name so parallel builds
438	have a chance of working.  Report from
439	Kirill Smelkov, Debian bug 575731, tex-k mail 29 Mar 2010 06:18:35.
440
4412010-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
442
443	* setupvar.c (setupboundvariable): Fix off by one error in msg.
444
4452010-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
446
447	* texmfmp.c (setupboundvariable): Moved from here ...
448	* setupvar.c (new): ... to here for use in non-engine programs.
449	* lib.h (setupboundvariable): Moved from ../texmfmp.h to here.
450	* Makefile.am (lib_a_SOURCES): Added setupvar.c.
451
4522010-02-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
453
454	* texmfmp.c (IPC) [WIN32]: #include <winsock2.h> instead of
455	<sys/socket.h> and <fcntl.h>, use ioctlsocket() instead of
456	fcnt() for non-blocking, and use Sleep() instead of sleep().
457
4582010-02-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
459
460	* texmfmp.c: #include <window/mfdisplay.h> instead of externs.
461
4622010-02-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
463
464	* texmfmp.c (calledit): Use win32_system() with two args only
465	for MinGW32, native WIN32 uses only one arg.
466	(catch_interrupt) [WIN32]: Declare as static.
467
4682010-02-01  Karl Berry  <karl@tug.org>
469
470	* openclose.c (open_input): do not try prepending TEXMFOUTPUT for
471	reading if the filename is absolute.
472
4732010-01-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
474
475	* texmfmp.c (mk_shellcmdlist): Declare string param as const.
476
4772010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
478
479	* texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
480	SyncTeX for luaTeX.
481	(gettexstring): Declare as static for luaTeX.
482
4832010-01-16  Karl Berry  <karl@tug.org>
484
485	* texmfmp.c (do_dump, do_undump): give full name of file
486	in fatal message when something cannot be (un)dumped.
487
4882010-01-02  Karl Berry  <karl@tug.org>
489
490	* texmfmp.c (runsystem): doc fix.
491
4922009-12-23  Karl Berry  <karl@tug.org>
493
494	* usage.c (usagehelp)
495	* texmfmp.c (BUG_ADDRESS): default to tex-k@tug.org, no @mail.
496
4972009-12-01  Alexander Cherepanov  <cherepan@mccme.ru>
498
499	* texmfmp.c (parse_first_line): initialize s to NULL.
500	* usage.c: doc fix.
501
5022009-11-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
503
504	* texmfmp.c (shell_cmd_is_allowed): Check for invalid single
505	quote also within quoted arguments.
506	Reported by Akira Kakuto <kakuto@fuk.kindai.ac.jp>,
507	diagnosed by Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>.
508
5092009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
510
511	* texmfmp.c (openinnameok, openoutnameok): Moved to Kpathsea
512	and renamed kpse_{in,out}_name_ok.
513
5142009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
515
516	* texmfmp.c (last_lineno): MAYBE_STATIC for luaTeX.
517	(srcspecialsoption, parse_src_specials_option): static but not
518	used for luaTeX.
519
5202009-09-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
521
522	* texmfmp.c (runpopen): Used only for pdfTeX and luaTeX.
523	(last_source_name etc): Not used by MF.
524	(ipcpage): Avoid unconstifying cast.
525	(compare_paths): Declare as static.
526	(mfwin_sw): Constify member string.
527
5282009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
529
530	* texmfmp.c (initscreen): Add explicit braces.
531	(getrandomseed, makefullnamestring): ANSI C definition.
532
5332009-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
534
535	* lib.h (NOT_WEB2C): New preprocessor macro, if defined prevents
536	declaration of argc, argv, cmdline, and mainbody (from main.c).
537
5382009-08-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
539
540	* openclose.c (open_output): Bugfix? local var 'fname' was
541	shadowed by a second one.  Avoid memory leak.
542
5432009-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
544
545	* lib.h, texmfmp.c, version.c: Constify ptexbanner and
546	versionstring.
547
5482009-08-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
549
550	Avoid maximal compiler warnings.
551	* openclose.c (recorder_record_name): Constify string param1.
552	(recorder_record_{name,input,output}): Rename param
553	nameoffile=>name, not to shadow global var.
554
5552009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
556
557	* lib.h (ptexbanner): Add decl for pdfTeX and luaTeX.
558	* texmfmp.c (ptexbanner): Drop decl but keep initializer.
559	* printversion.c (kpathsea_version_string):
560	#include <kpathsea/version.h> and drop extern declaration.
561
5622009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
563
564	* texmfmp.c (shell_cmd_is_allowed): Change param1 from 'char **'
565	to 'const char *'.
566	(runsystem, runpopen): Constify string params.
567
5682009-07-24  Martin Schröder  <martin@oneiros.de>
569
570	* printversion.c: don't nest extern declarations
571
5722009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
573
574	* basechsuffix.c, chartostring.c, coredump.c, eofeoln.c,
575	fprintreal.c, input2int.c, inputint.c, main.c, openclose.c,
576	printversion.c, texmfmp.c, uexit.c, usage.c, win32main.c,
577	zround.c: drop P?C, P?H, use ANSI C function declarations.
578
5792009-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
580
581	* Makefile.am (AM_CFLAGS): enable compiler warnings.
582	* lib.h (new): declarations for *.c from ../cpascal.h.
583	* basechsuffix.c, chartostring.c, eofeoln.c, fprintreal.c,
584	input2int.c, inputint.c, main.c, openclose.c, printversion.c,
585	zround.c: #include "lib.h" to declare function prototypes.
586	* openclose.c: declare internal function recorder_record_name as
587	static; declare param of recorder_record_input and
588	recorder_record_output as const_string as from ../cpascal.h.
589
5902009-06-01  Karl Berry  <karl@tug.org>
591
592	* printversion.c (printversionandexit): it's 2009.
593	Also, remove special references to kpathsea author(s) etc.
594
5952009-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
596
597	* texmfmp.c: remove all references to (Web2C version of) MP.
598
5992009-05-18  Karl Berry  <karl@tug.org>
600
601	* openclose.c (recorder_start): use output_directory for the .fls
602	  file, if it has been specified with --output-directory.
603	  metapost mail from Nicola, 16 May 2009 13:41:36.
604
6052009-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
606
607	* texmfmp.c: remove all references to Omega, eOmega, and pdfeTeX.
608
6092009-03-28  Karl Berry  <karl@tug.org>
610
611	* texmfmp.c (mk_shellcmdlist, shell_cmd_is_allowed): not static,
612	so luatex can access.  From Taco.
613
6142009-03-27  Taco Hoekwater  <taco@luatex.org>
615
616	* texmfmp.c (parse_options): add #ifndef luaTeX guard for
617	--src-specials, because luaTeX does not implement it.
618	(parse_src_specials_option): add #ifndef luaTeX guard for
619	 the same reason.
620
6212009-03-02  Karl Berry  <karl@tug.org>
622
623	* texmfmp.c (long_options): make -enable-write18 and -disable-write18
624	synonyms for -shell-escape and -no-shell-escape.
625
6262009-02-26  Karl Berry  <karl@tug.org>
627
628	* texmfmp.c: Implementation of restricted shell escapes from Akira.
629	(mk_shellcmdlist, init_shell_escape, char_needs_quote, Isspace,
630	shell_cmd_is_allowed, runsystem, runpopen): new fns.
631	(long_options, parse_cmd_line): new option --shell-restricted.
632	(main): call init_shell_escape.
633	(open_in_or_pipe, open_out_or_pipe): call runpopen.
634
6352009-02-06  Karl Berry  <karl@tug.org>
636
637	* texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
638	SyncTeX for Omega and MF/MP.
639
6402008-03-24  Karl Berry  <karl@tug.org>
641
642	* printversion.c: it's 2008.
643
6442008-03-16  Karl Berry  <karl@tug.org>
645
646	* texmfmp.c (maininit): don't append DUMP_EXT if it's already
647	there.  Report from Hans.
648
6492008-03-09  Karl Berry  <karl@tug.org>
650
651	* texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
652	since MetaPost has its own in mpdir/utils.c.
653	(input_line): initialize i = EOF.  From Taco.
654
6552008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
656
657	* Makefile.in: Add @configure_input@ line.
658
6592007-12-28  Karl Berry  <karl@tug.org>
660
661	* texmfmp.c (parse_options): do not set user_progname at
662	DUMP_OPTION or efmt.
663	(maininit): instead, do it here, after options are read.
664
6652007-09-05  Karl Berry  <karl@tug.org>
666
667	* texmfmp.c (long_options): move output-directory output to be
668	enabled for MF and MP too.  From Akira.
669
6702007-08-20  Karl Berry  <karl@tug.org>
671
672	* texmfmp.c (main) [WIN32]: _setmaxstdio(2048), to increase
673	open files limit.  From Akira, 19 Aug 2007 09:30:30 +0900.
674
6752007-07-26  Karl Berry  <karl@tug.org>
676
677	* openclose.c (recorder_record_name): fflush the recorder file,
678	since this is for debugging.  Suggested by George White.
679
6802006-12-28  Martin Schröder <martin@oneiros.de>
681
682	* texmfmp.c: fixed some warnings raised by gcc for unused variables
683	and different signedness of arguments
684
6852006-07-16  Karl Berry  <karl@tug.org>
686
687	* mfmpi386.asm: missing " chars.
688
6892006-07-15  Karl Berry  <karl@tug.org>
690
691	* mfmpi386.asm (asm): prepend with .text to avoid seg fault with
692	-g3 or -ggdb3 due to the symbols ending up in the data section.
693	tex-k report by Edward Catmur, 29 Mar 2006 00:09:15 +0100.
694
6952006-06-19  Karl Berry  <karl@tug.org>
696
697	* texmfmp.c (open_in_or_pipe) [!pdfTeX && !pdfeTeX]: track
698	fullnameoffile; from Akira and Jonathan.
699
7002005-08-13  Olaf Weber  <olaf@infovore.xs4all.nl>
701
702	* printversion.c: Update copyright messages.
703
7042005-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
705
706	* texmfmp.c: Implement -etex switch.
707
7082005-07-29  Olaf Weber  <olaf@infovore.xs4all.nl>
709
710	* texmfmp.c (opennameok): Check all occurrences of ".." in a
711	filename, not just the first.  Reported by Yutaka OIWA
712	<y.oiwa@aist.go.jp>.
713
7142005-07-27  Olaf Weber  <olaf@infovore.xs4all.nl>
715
716	* printversion.c: libkpathsea is covered by the LGPL, not the GPL,
717	and is the common factor that brings in the *GPL to all
718	web2c-based programs.
719
720	* texmfmp.c (get_seconds_and_micros): New function, gets high-res
721	time if possible.  Remove references to pdfxtex.
722
7232005-07-22  Olaf Weber  <olaf@infovore.xs4all.nl>
724
725	* input2int.c: The correct format string to use depends on whether
726	integer is an int or a long int.  Reported by M.J. Rutter
727	<mjr19@cus.cam.ac.uk>.
728
7292005-06-26  Olaf Weber  <olaf@infovore.xs4all.nl>
730
731	* Makefile.in: Replace ac_include with kpse_include.  From Peter
732	Breitenlohner.
733
7342005-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
735
736	* texmfmp.c [MP][BANNER]: Update for MetaPost 0.901.
737
7382005-06-21  Olaf Weber  <olaf@infovore.xs4all.nl>
739
740	* texmfmp.c (opennameok,openinnameok,openoutnameok): Add new
741	parameter to opennameok() so its diagnostics are correct wrt to
742	whether we are testing a file name for reading or writing.
743
7442005-04-12  Olaf Weber  <olaf@infovore.xs4all.nl>
745
746	* texmfmp.c (getjobname): Add a parameter, the string to return if
747	--jobname wasn't given.
748	This is part of a group of changes that fix pdftex bug 302.
749	http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
750
751	* openclose.c (open_input): kpse_find_file() always returns a new
752	string, so we can unconditionally deallocate it.
753
754	* texmfmp.c (maininit): Factor out common code into texmf_yesno().
755	(texmf_yesno): New function, return true if a variable is set and set
756	to 't', 'y', or '1' in texmf.cnf or the environment.
757
7582004-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
759
760	* texmfmp.c [pdfTeX,pdfeTeX,pdfxTeX]: New variable ptexbanner.
761
7622004-12-19  Olaf Weber  <olaf@infovore.xs4all.nl>
763
764	* texmfmp.c [TeX] (maininit): For all TeX variants, recognize
765	"initex" and "virtex" program names, just in case.
766
7672004-09-16  Olaf Weber  <olaf@infovore.xs4all.nl>
768
769	* printversion.c (printversionandexit): Hartmut Henkel
770	<hartmut_henkel@gmx.de> noticed that the engines start running
771	like this: "This is TeX, Version 3.141592 (Web2C 7.5.3)" but the
772	-version output looks like this "TeX (Web2C 7.5.3) 3.141592".
773	He supplied a small patch to rectify this.
774
7752004-08-28  Olaf Weber  <olaf@infovore.xs4all.nl>
776
777	* openclose.c (open_input,open_output): Implement output_directory
778	option.
779
780	* texmfmp.c: Accept -output-directory option.
781
7822004-07-14  Olaf Weber  <olaf@infovore.xs4all.nl>
783
784	* texmfmp.c (setupcharset): Remove this fuction.  The
785	initialization is performed is done by the engine.
786	(read_char_translation_file): Rename to readtcxfile.
787	(readtcxfile): Some comment changes compared to its previous
788	incarnation.
789
790	* usage.c (usagehelp): Add second argument, email address for bug
791	reports.  Requested by the pdftex team.
792
793	* texmfmp.c: Add -output-format to the long_options array.
794	Also add BUG_ADDRESS to the macros defined for each engine.
795	Call usagehelp with BUG_ADDRESS as second argument.
796
7972004-07-03  Olaf Weber  <olaf@infovore.xs4all.nl>
798
799	* texmfmp.c (parse_options): Make it so that aleph and omega also
800	parse the -translate-file and -8bit options, even though they now
801	silently ignore them.  (They have to ignore them in any case, as
802	neither makes sense for these programs.)
803
8042004-07-02  Olaf Weber  <olaf@infovore.xs4all.nl>
805
806	* texmfmp.c [TeX]: Implement -efmt as alternate spelling for -fmt.
807	This option is only present for backward compatibility, and will
808	go away in the future.
809
8102004-06-29  Olaf Weber  <olaf@infovore.xs4all.nl>
811
812	* Makefile.in: Don't include alloca.o in the objects.  It
813	shouldn't be used anywhere.
814
8152004-06-16  Olaf Weber  <olaf@infovore.xs4all.nl>
816
817	* texmfmp.c (get_input_name): Off-by-one errors when
818	erasing/restoring the final quote.  From Akira Kakuto
819	<kakuto@fsci.fuk.kindai.ac.jp>.
820
8212004-06-15  Olaf Weber  <olaf@infovore.xs4all.nl>
822
823	* texmfmp.c: (normalize_quotes): New function, takes a filename
824	and returns an allocated string with the name quoted iff it
825	contains a space.
826	(get_input_file_name): Factor out normalize_quotes.
827	(getjobname): Add quotes if needed.  callmakempx: Add quotes if
828	needed.
829
8302004-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
831
832	* texmfmp.c (get_input_file_name): New function.  Get the name of
833	the input file for use by parse_first_line(), and if the filename
834	contains spaces make sure a properly quoted version will be given
835	to TeX.
836	(parse_first_line): Now takes the name of the input file (or NULL) as
837	an argument, instead of looking for it.
838
8392004-05-26  Olaf Weber  <olaf@infovore.xs4all.nl>
840
841	* texmfmp.c: Remove -oem code.
842
8432004-05-14  Olaf Weber  <olaf@infovore.xs4all.nl>
844
845	* texmfmp.c: Remove much of the locale-dependent code.  Some
846	pieces remain because they are related to the Win32 '-oem' option,
847	where I do not know yet whether that option should go as well.
848
8492004-05-10  Olaf Weber  <olaf@infovore.xs4all.nl>
850
851	* texmfmp.c (setupcharset): Fixing a regression.  When a line in a
852	TCX file contains two numbers and a comment, set printable=1.
853	Reported by Staszek Wawrykiewicz <staw@gust.org.pl>.
854
8552004-05-08  Olaf Weber  <olaf@infovore.xs4all.nl>
856
857	* texmfmp.c (main): We can now put TEXMFENGINENAME into the
858	environment for $engine in all cases.
859
860	* texmfmp.c: Add -halt-on-error option.
861
8622004-05-07  Olaf Weber  <olaf@infovore.xs4all.nl>
863
864	* texmfmp.c (maininit): Set $engine appropriately.
865
866	* texmfmp.c: Implement -8bit option.
867
868	* texmfmp.c (makesrcspecial): Always put a space after the line
869	number.
870
8712004-04-16  Olaf Weber  <olaf@infovore.xs4all.nl>
872
873	* texmfmp.c (setupcharset): More compact xprn assignment.
874
8752004-03-28  Olaf Weber  <olaf@infovore.xs4all.nl>
876
877	* texmfmp.c: Implement -no-shell-escape, -no-parse-first-line,
878	-no-file-line-error.
879
8802004-03-25  Olaf Weber  <olaf@infovore.xs4all.nl>
881
882	* texmfmp.c [eTeX](maininit): e-TeX will no longer treat being
883	called as "initex" or "virtex" special.
884	(tcx_get_num): Additional argument, upper bound we're accepting.
885	(read_char_translation_file): Allow for a third integer, 0 or 1, to
886	set printable status.  This way you can translate characters
887	without making them printable.  However, enforce that 7bit ASCII
888	remains printable.
889
890	* texmfmp.c (maininit): Add sanity check for -enc or -mltex
891	without -ini.
892
8932004-03-24  Olaf Weber  <olaf@infovore.xs4all.nl>
894
895	* zround.c: Add public domain notice.
896
897	* win32main.c: Add public domain notice.
898
899	* version.c: Add public domain notice.
900
901	* uexit.c: Add public domain notice.
902
903	* printversion.c: Bump 2003 to 2004 in copyright notices.
904
905	* main.c: Add public domain notice.
906
907	* inputint.c: Add public domain notice.
908
909	* input2int.c: Add public domain notice.
910
911	* fprintreal.c: Add public domain notice.
912
913	* eofeoln.c: Add public domain notice.
914
9152004-03-22  Olaf Weber  <olaf@infovore.xs4all.nl>
916
917	* texmfmp.c (parse_options): Add -output-format for the pdf*TeX
918	family.
919
920	* texmfmp.c: Changes for Aleph.
921
922	* texmfmp.c (long_options): Enable "enc" option.
923
9242004-03-16  Olaf Weber  <olaf@infovore.xs4all.nl>
925
926	* texmfmp.c: Allow file:line:error style messages to be enabled
927	from texmf.cnf.  From Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
928
9292004-02-26  Olaf Weber  <olaf@infovore.xs4all.nl>
930
931	* texmfmp.c: Rename isprintable to xprn.
932
933	* win32main.c: Sync with TeXlive.
934
935	* texmfmp.c: Add -enc option.
936
937	* texmfmp.c: Add support for pdfxTeX.
938
9392003-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
940
941	* texmfmp.c: Update banners for TeX 3.141592, MF 2.71828.
942
9432003-02-07  Olaf Weber  <olaf@infovore.xs4all.nl>
944
945	* texmfmp.c: e-Omega support.
946
9472003-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
948
949	* texmfmp.c (setupcharset): Do not adapt the isprintable array to
950	the locale.
951
9522003-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
953
954	* printversion.c (printversionandexit): Update copyright notice
955	years.
956
9572002-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
958
959	* texmfmp.c: Remove some unsused variables.
960
9612002-11-11  Olaf Weber  <olaf@infovore.xs4all.nl>
962
963	* texmfmp.c: Implement a -parse-first-line option.  With the
964	current code it is possible to switch %&-line parsing on from the
965	command line.  To switch it off when it is enabled in texmf.cnf
966	requires the use of an environment variable.
967
9682002-10-20  Olaf Weber  <olaf@infovore.xs4all.nl>
969
970	* texmfmp.c: Add support for -jobname option.
971
9722002-10-06  Olaf Weber  <olaf@infovore.xs4all.nl>
973
974	* texmfmp.c (maybe_parse_first_line): Split
975	maybe_parse_first_line: maybe_parse_first_line is called to set
976	parse_first_line_p for TeX, MF, MP, and parse_first_line is called
977	to do the actual parsing.
978
979	* texmfmp.c: Add support for mktexfmt; from Fabrice Popineau.
980
9812002-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
982
983	* texmfmp.c: Do not allow texmf.cnf to set the src_specials
984	option.
985
9862002-06-02  Olaf Weber  <olaf@infovore.xs4all.nl>
987
988	* texmfmp.c: Change handling of source specials so that there is a
989	single flag, src_specials_p, which can be used to see if any
990	source specials are generated.
991
992	* win32main.c: From Fabrice.
993
9942002-04-02  Olaf Weber  <olaf@infovore.xs4all.nl>
995
996	* texmfmp.c [Omega] (ipcpage,gettexstring): Correction of the way
997	the strstartar array is handled.  Reported by Akira Kakuto
998	<kakuto@fsci.fuk.kindai.ac.jp>
999
10002001-11-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1001
1002	* texmfmp.c (initscreen): Clarify message generated when an X
1003	window cannot be opened.
1004
10052001-11-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1006
1007	* texmfmp.c: Remove unnecessary casts to (int*).  If C++ ->
1008	NO_MF_ASM.
1009
1010	* alloca.c: Changes to allow this file to compile with C++.
1011
10122001-11-19  Olaf Weber  <olaf@infovore.xs4all.nl>
1013
1014	* texmfmp.c: Changes to keep C++ compilers from choking.
1015
1016	* openclose.c: Remove double declaration of recorder_name, make
1017	prototype of open_input consistent with cpascal.h.
1018
10192001-11-18  Olaf Weber  <olaf@infovore.xs4all.nl>
1020
1021	* uexit.c: Changes to keep C++ compilers from choking.
1022
1023	* texmfmp.c: Changes to keep C++ compilers from choking.  Changes
1024	to support the filename recorder.
1025
1026	* printversion.c: Changes to keep C++ compilers from choking.
1027
1028	* openclose.c: Changes to keep C++ compilers from choking.
1029	(recorder_start): New function, starts filename recorder.
1030	(recorder_change_filename): New function, change the name of the file
1031	used by the filename recorder.
1032	(open_input,open_output): Record filename, starting recorder if
1033	necessary.
1034
1035	* chartostring.c: Changes to keep C++ compilers from choking.
1036
1037	* basechsuffix.c: Changes to keep C++ compilers from choking.
1038
10392001-11-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1040
1041	* texmfmp.c (getrandomseed): If available use gettimeofday or
1042	ftime to obtain a random seed number.  These functions have a
1043	higher resolution, so fix the problem that subsequent MF or MP
1044	runs could have the same seed.
1045
10462001-10-30  Olaf Weber  <olaf@infovore.xs4all.nl>
1047
1048	* texmfmp.c: Add support for source specials.
1049
1050	* openclose.c: Add support for file:line:style messages.
1051
10522001-10-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1053
1054	* texmfmp.c: Implement -tex=program option for mp.
1055
10562001-10-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1057
1058	* usage.c (usage): Remove first argument, should now only be
1059	called on abnormal exit.
1060	(usage_help): Print help message, implies a normal exit.
1061
1062	* texmfmp.c: Modify usage/usage_help invocation.
1063
1064	* eofeoln.c (readln): New function, read a line and accept CRNL,
1065	CR, and NL as end-of-line delimiters.
1066
10672001-04-23  Olaf Weber  <olaf@infovore.xs4all.nl>
1068
1069	* eofeoln.c (eoln): Accept both CR and LF as end-of-line
1070	characters.
1071
10722000-08-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1073
1074	* texmfmp.c (setupboundvariable): Add parentheses for clarity, and
1075	to silence stupid compilers.
1076
10772000-05-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1078
1079	* texmfmp.c (calledit): The first argument should be a pointer to
1080	packedASCIIcode.  This matters for Omega.  From "C.M. Connelly"
1081	<c@eskimo.com>.
1082
10832000-04-21  Olaf Weber  <olaf@infovore.xs4all.nl>
1084
1085	* texmfmp.c [WIN32]: Add support for -oem option.  From Fabrice.
1086
10872000-04-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1088
1089	* openclose.c: Disabled the supporting code for remembering the
1090	full name while the code for C style error messages and source
1091	specials is under review.
1092
10932000-04-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1094
1095	* openclose.c (open_input): Save full name of found file in
1096	full_name_of_file variable.  For "C-style" error messages and
1097	source-file specials.  After Stefan Ulrich
1098	<ulrich@cis.uni-muenchen.de> and Fabrice Popineau
1099	<Fabrice.Popineau@supelec.fr>.
1100
11012000-01-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1102
1103	* texmfmp.c (parse_options): Stop option-processing at the first
1104	non-option, so that a command line like 'tex \&sgmlbase
1105	-lhtmlbase.tex -ousing.html using.html' feeds the '-lhtmlbase.tex'
1106	and '-ousing.html' to the format.  Reported by Jonathan Fine
1107	<fine@active-tex.demon.co.uk>.
1108
11091999-07-12  Olaf Weber  <olaf@infovore.xs4all.nl>
1110
1111	* texmfmp.c (maininit): Add a --default-translate-file option, to
1112 	facilitate CSTeX.  Suggestion (relayed?) by Petr Olsak
1113 	<olsak@math.feld.cvut.cz>.
1114	(input_line): Make sure that catching a SIGINT won't be seen as a EOF
1115	on the terminal.  Problem noticed by DEK.
1116
11171999-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
1118
1119	* openclose.c (open_input): The pdfTeX people asked that the disk
1120 	not be pounded for .vf files.
1121
11221999-05-29  Olaf Weber  <olaf@infovore.xs4all.nl>
1123
1124	* texmfmp.c (opennameok): Allow ./ or its equivalent.  Use
1125 	IS_DIR_SEP rather than comparing against DIR_SEP.
1126
1127	* openclose.c (open_input): Correct comment.
1128
11291999-03-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1130
1131	* texmfmp.c (parse_options): Explicit --progname override the
1132 	inferred programe of the --fmt option.  Suggested by Sebastian.
1133	(ztakefraction,ztakescaled,zmakescaled,blankrectangle,paintrow): Add
1134	prototypes.  From Thomas.
1135
11361999-02-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1137
1138	* texmfmp.c: The translate_filename variable is now external.  Use
1139 	kpse_web2c_format to find tcx files.
1140
11411999-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1142
1143	* texmfmp.c: Remove include for kpathsea/config.h because it is
1144 	superfluous.
1145	(calledit): Use P?C macro in definition.
1146
11471999-02-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1148
1149	* texmfmp.c (maybe_parse_first_line): Allow both --translate-file
1150 	and -translate-file in first line.
1151
1152	* main.c (main): Remove __cdecl, from Fabrice.
1153
11541999-01-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1155
1156	* zround.c (zround): Add cast to quiet compiler.  By Fabrice.
1157
1158	* usage.c (usage): Use KPSEDLL for kpse_bug_address.  By Fabrice.
1159
1160	* texmfmp.c [WIN32]: include sys/timeb.h.
1161	(mainbody): Add TEXDLL to declaration.
1162	(maininit): The old main function renamed.
1163	(main): A new main function, stripped to the bones.
1164	(getrandomseed): Get a random seed from the current time.
1165	All after Fabrice.
1166
1167	* printversion.c (printversionandexit): Add KPSEDLL for
1168 	kpathsea_version_string, by Fabrice.
1169
1170	* main.c (main): Add __cdecl, from Fabrice.
1171
11721999-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1173
1174	* texmfmp.c: Support for pdfeTeX.  From Thomas Esser.
1175
1176	* texmfmp.c (maybe_parse_first_line): Default to parsing if
1177 	maybe_parse_first_line is not defined in texmf.cnf.
1178	(opennameok): Add an argument to specify default.
1179	(openinok): Default to "a" if no openin_any found.
1180	(openoutok): Default to "p" if no openout_any found.
1181
1182	* mfmpw32.c: Change CRNL to NL line-endings.
1183
11841999-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1185
1186	* texmfmp.c: Further changes and fixes for maybe_parse_first_line.
1187  	Add openinnameok and openoutnameok, which call opennameok.
1188	(opennameok): Change implementation to reflect this.
1189
11901999-01-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1191
1192	* texmfmp.c: Rename maybe_set_dump_default_from_input to
1193 	maybe_parse_first_line.  Add TCX support in the form of allowing a
1194 	--translate-file pseudo-option, as proposed by Wlodzimierz Bzyl
1195 	<matwb@monika.univ.gda.pl>.
1196
1197	* printversion.c: Correct --version output.
1198
1199	* Makefile.in: Rename kpathsea.make to kpathsea.mk.
1200
12011999-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
1202
1203	* texmfmp.c: Update banners, add MFNOWIN ifdef.
1204
1205	* printversion.c (printversionandexit): Improve & update message.
1206
1207	* Makefile.in: Change of ../make/*.make to ../make/*.mk.
1208
12091998-12-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1210
1211	* texmfmp.c: Replace isblank with ISBLANK, to improve handling of
1212 	whitespace.
1213
12141998-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1215
1216	* texmfmp.c (parse_options): Make --progname a no-op after --fmt
1217 	has been seen.  Thus the order of these options no longer matters.
1218
1219	* texmfmp.c: Rename openoutnameok to opennameok.
1220
1221Sun May 31 17:27:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1222
1223	* texmfmp.c: Add a parse_first_line configuration entry, so the
1224 	%&format construct can be switched off when desired.  Suggested by
1225	Denis B Roegel.
1226	Add a --debug-format option.
1227
1228Mon May  4 19:41:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1229
1230	* basechsuffix.c (basenamechangesuffix): Replace call of basename
1231 	with xbasename.
1232
1233	* texmfmp.c (openoutnameok): Replace call of basename with
1234 	xbasename.
1235
1236Tue Mar 10 06:37:51 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1237
1238	* texmfmp.c [TeX & IPC] (ipcpage): Remember to set begun to true
1239 	once we've begun.
1240
1241Sun Mar  8 18:21:46 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1242
1243	* printversion.c (printversionandexit): Copyright year is 1998.
1244
1245Tue Feb 10 17:56:36 1998  Olaf Weber  <infovore@xs4all.nl>
1246
1247	* texmfmp.c: Provide the hooks for the epsf server.  From Mathias
1248 	Herberts.
1249
1250	* eofeoln.c: Prototype eoln.  Spotted by Andreas Scherer
1251 	<Andreas.Scherer@Pobox.Com>
1252
1253	* fprintreal.c: Prototype fprintreal.  Spotted by Andreas Scherer
1254 	<Andreas.Scherer@Pobox.Com>
1255
1256Fri Jan 23 15:01:31 1998  Olaf Weber  <infovore@xs4all.nl>
1257
1258	* texmfmp.c: Various patches for Omega from John Plaice.
1259	(ipcpage [Omega]): Fix because string handling in Omega differs.
1260	(maybe_set_dump_default): Fix to get %& to work in more cases.
1261
1262Thu Dec 18 20:37:20 1997  Olaf Weber  <infovore@xs4all.nl>
1263
1264	* texmfmp.c: Change spelling of -maketex option to -mktex.
1265
1266Fri Dec 12 10:22:52 1997  Olaf Weber  <infovore@xs4all.nl>
1267
1268	* openclose.c (open_output): Don't use TEXMFOUTPUT value if it is
1269 	the empty string.
1270
1271	* texmfmp.c (openoutnameok): Rewritten to support three levels of
1272 	permissiveness.
1273	(main): Assignment to shellenabledp has been rewritten: we now
1274	enable only if certain values are found.
1275
1276Mon Dec  1 19:05:06 1997  Olaf Weber  <infovore@xs4all.nl>
1277
1278	* texmfmp.c (maybe_set_dump_default_from_input): Reset the program
1279 	name if the dump_name changes.
1280
1281	* texmfmp.c [WIN32 && !NO_MF_ASM]: Include "lib/mfmpw32.c" instead
1282 	of "../win32/mfmpi386.c".
1283
1284	* texmfmp.c (main, parse_options): Add support for --interaction
1285 	option.
1286
1287	* texmfmp.c (main) [eTeX]: Make sure calling e-TeX as initex or
1288 	virtex works as it should.
1289
1290Sat Nov 29 13:06:53 1997  Olaf Weber  <infovore@xs4all.nl>
1291
1292	* texmfmp.c (main): We assume "plain" for the dump_name iff the
1293 	program was called as ini* or vir*.  And in the case of ini*, the
1294 	file name will override this anyway.
1295
1296	* texmfmp.c (callmakempx): Add xstrdup, because we end up
1297 	potentially freeing a static string otherwise.  From Fabrice
1298	Popineau.
1299
1300Sun Nov 23 19:43:57 1997  Olaf Weber  <infovore@xs4all.nl>
1301
1302	* texmfmp.c (openoutnameok): When we're trying to be safe, add
1303 	some extra paranoia supplied by Charles Karney <karney@pppl.gov>.
1304
1305Sat Nov 22 19:26:13 1997  Olaf Weber  <infovore@xs4all.nl>
1306
1307	* texmfmp.c (main): Use kpse_set_program_name and
1308 	kpse_program_name instead of kpse_set_progname and
1309 	program_invocation_short_name.
1310
1311Sat Nov 15 21:27:23 1997  Olaf Weber  <infovore@xs4all.nl>
1312
1313	* texmfmp.c: Various changes to support Omega.
1314
1315Fri Nov 14 16:43:28 1997  Olaf Weber  <infovore@xs4all.nl>
1316
1317	* texmfmp.c [eTeX,PDFTeX]: Inclusion of header file with
1318 	appropriate banner.
1319
1320Fri Oct 24 13:41:56 1997  Olaf Weber  <infovore@xs4all.nl>
1321
1322	* texmfmp.c: Prototypes for the mf_*_{blankrectangle,paintrow}
1323 	functions.
1324
1325Mon Oct 20 08:16:40 1997  Olaf Weber  <infovore@xs4all.nl>
1326
1327	* texmfmp.c [WIN32]: Added support for WIN32WIN.  Added suppport
1328 	for redirection of stderr to a logfile.  Added support for asm
1329 	routines.  Prototyped mainbody.
1330	(setupboudvariable): Don't try to free expansion if it is NULL.
1331	From Fabrice Popineau.
1332
1333	* main.c (main): Prototype mainbody.  From Fabrice Popineau.
1334
1335Sun Oct 19 10:57:43 1997  Olaf Weber  <infovore@xs4all.nl>
1336
1337	* printversion.c (printversionandexit): Removed web2c maintainer's
1338	name from version info.
1339
1340Fri Oct 17 10:33:06 1997  Olaf Weber  <infovore@xs4all.nl>
1341
1342	* texmfmp.c: Correct prototypes for all the varieties of
1343 	...initscreen and ...updatescreen.  No prototypes for
1344 	...blankrectangle and ...paintrow.
1345
1346	* texmfmp.c (main) [MSDOS, WIN32]: Use case-insensitive comparison
1347 	for filenames on MS-DOS/MS-Windows.
1348	(openoutnameok): When testing for `unix' make sure `MSDOS' is NOT
1349	defined since DJGPP defines both.
1350	(initscreen): Use "mftalk" for DJGPP as well.
1351	From Eli Zaretskii <eliz@is.elta.co.il>.
1352
1353Thu Oct 16 20:34:25 1997  Olaf Weber  <infovore@xs4all.nl>
1354
1355	* texmfmp.c (parseoptions [TeX], main): Remove everything related
1356 	to the -extend-jobname option.
1357
1358Fri Oct  3 11:46:15 1997  Olaf Weber  <infovore@xs4all.nl>
1359
1360	* texmfmp.c: Add prototypes for the mf_trap_* functions.  After
1361 	Fabrice Popineau.
1362
1363Thu Oct  2 18:07:24 1997  Olaf Weber  <infovore@xs4all.nl>
1364
1365	* texmfmp.c (main): Added locale support.  From Bernd Raichle
1366 	<raichle@informatik.uni-stuttgart.de>.
1367
1368Tue Sep 30 12:00:13 1997  Olaf Weber  <infovore@xs4all.nl>
1369
1370	* version.c: use version string from c-auto.h.
1371
1372	* texmfmp.c: Changed return type of main int.
1373
1374Fri Mar 21 16:38:48 1997  Karl Berry  <karl@cs.umb.edu>
1375
1376	* texmfmp.c (struct msg): Do not try to declare the zero-length
1377		array, just leave it out.
1378	Bug from: jumper@lens.sri.com (Greg Jumper)
1379
1380Wed Feb 12 08:18:07 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
1381
1382	* texmfmp.c (catch_interrupt): Win32, differentiate between user
1383	interrupt and console closing.
1384
1385Mon Feb  3 18:01:42 1997  Karl Berry  <karl@cs.umb.edu>
1386
1387	* texmfmp.c (parse_options): Check for -1, not EOF,
1388	per new getopt.
1389
1390Mon Jan 27 22:44:29 1997  Ulrik vieth  <vieth@thphy.uni-duesseldorf.de>
1391
1392	* texmfmp.c (BANNER) [MP]: Update to version 0.632.
1393
1394Sat Jan 18 13:04:34 1997  Karl Berry  <karl@cs.umb.edu>
1395
1396	* texmfmp.c: Update len.
1397	From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
1398
1399Thu Jan 16 14:29:50 1997  Karl Berry  <karl@cs.umb.edu>
1400
1401	* alloca.c: New version from /gd/gnu/lib.
1402
1403	* texmfmp.c (funny_core_dump): Move to new file.
1404	* coredump.c: New file.
1405	* Makefile.in (objects): Add coredump.o.
1406	This makes it possible for BibTeX to find the function
1407	(not that it needs it).
1408	From: Richard Walker <Richard.Walker@cs.anu.edu.au>
1409
1410Sun Jan  5 16:11:12 1997  Karl Berry  <karl@cs.umb.edu>
1411
1412	* printversion.c: It's 1997 now.
1413
1414Sun Dec 29 17:11:03 1996  Karl Berry  <karl@cs.umb.edu>
1415
1416	* basechsuffix.c (basenamechangesuffix): Filename comparison may
1417		be case-insensitive.  From Fabrice.
1418
1419Sat Dec 28 17:37:14 1996  Karl Berry  <karl@cs.umb.edu>
1420
1421	* texmfmp.c (ipcpage): Pass the whole DVI filename to the other
1422	end of the connection, not just the relative name.  (It may have
1423	been already started up.)
1424
1425Sun Dec 15 16:50:25 1996  Karl Berry  <karl@cs.umb.edu>
1426
1427	* texmfmp.c: #if 0-out all the TCX file stuff.
1428	Suggested by David Carlisle et al.
1429
1430Sun Dec  8 16:40:57 1996  Karl Berry  <karl@cs.umb.edu>
1431
1432	* openclose.c (standardinput, standardoutput): Remove these;
1433	make them globals in bibtex.ch itself.
1434
1435	* printversion.c, texmfmp.c, usage.c: WIN32 changes.
1436	From Fabrice.
1437
1438Sat Dec  7 11:10:39 1996  Karl Berry  <karl@cs.umb.edu>
1439
1440	* texmfmp.c (topenin): Rewrite to avoid strcat, for Omega.
1441	From: John Plaice <plaice@iad.ift.ulaval.ca>.
1442
1443Fri Dec  6 17:44:45 1996  Karl Berry  <karl@cs.umb.edu>
1444
1445	* texmfmp.c (main) [TeX && Omega]: Initialize MakeTeX{OCP,OFM}.
1446	* openclose.c (ocptemp): New global.
1447	(open_input): Read ahead in ofm and ocp files.
1448
1449Tue Dec  3 15:15:14 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
1450
1451	* Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1452
1453Tue Dec  3 15:15:14 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
1454
1455	* texmfmp.c (long_options): mpost -T or -troff doesn't take an
1456 	optional argument.
1457
1458	* Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1459
1460Wed Nov 27 10:02:21 1996  Karl Berry  <karl@cs.umb.edu>
1461
1462	* texmfmp.c (NO_MF_ASM) [__sun__]: Define; our assembler code
1463	doesn't work with the Solaris/x86 assembler.
1464	* mfmpi386.asm: Doc fix.
1465
1466Sat Nov 23 14:42:53 1996  Karl Berry  <karl@cs.umb.edu>
1467
1468	* texmfmp.c (openoutok): Allow .tex as a special case.
1469
1470Fri Nov 15 16:15:32 1996  Karl Berry  <karl@cs.umb.edu>
1471
1472	* texmfmp.c (openoutnameok): Do not free the result of basename;
1473	it's never dynamically allocated anyway.
1474
1475Sun Nov 10 16:37:19 1996  Karl Berry  <karl@cs.umb.edu>
1476
1477	* texmfmp.c: Check for inimpost and virmpost instead of
1478	inimp and virmp.
1479
1480Mon Oct 14 17:27:34 1996  Karl Berry  <karl@cs.umb.edu>
1481
1482	* texmfmp.c (DUMP_EXT) [DOS]: Only truncate to .bas if DOS,
1483	not DOSISH; WinNT/Win95 support long filenames (at long last).
1484	(initscreen) [WIN32]: Use mftalk a la OS2.
1485	(get_date_and_time): Include parameter in old_handler decl.
1486
1487Mon Oct  7 12:49:38 1996  Karl Berry  <karl@cs.umb.edu>
1488
1489	* Makefile.in (objects): Include printversion.o.
1490	* printversion.c: New file.
1491
1492	* texmfmp.c: Oops, iniversion doesn't it, it's global.
1493	(parse_options): Call printversionandexit.
1494
1495Sun Oct  6 10:17:00 1996  Karl Berry  <karl@cs.umb.edu>
1496
1497	* texmfmp.c (main): Initialize iniversion and virversion.
1498
1499Sat Sep  7 16:14:41 1996  Karl Berry  <karl@cs.umb.edu>
1500
1501	* usage.c: Include the bug reporting address.
1502
1503Sun Aug  4 15:48:03 1996  Karl Berry  <karl@cs.umb.edu>
1504
1505	* texmfmp.c (parse_options): Print the Kpathsea version string, too.
1506	* version.c: Do `Web2c VERSION' instead of `C version VERSION'.
1507
1508Fri Jul 26 15:47:29 1996  Karl Berry  <karl@cs.umb.edu>
1509
1510	* Makefile.in: Remove co.make.
1511
1512Sat Jun  1 13:17:09 1996  Karl Berry  <karl@cs.umb.edu>
1513
1514	* texmfmp.c (openoutnameok): Change #ifdef to TeX || MP.
1515
1516Fri May 24 11:38:59 1996  Karl Berry  <karl@cs.umb.edu>
1517
1518	* texmfmp.c (main): Initialize extend_jobname.
1519	(parse_options) [TeX]: New option -extend-jobname.
1520
1521Sun Apr 28 15:13:22 1996  Karl Berry  <karl@cs.umb.edu>
1522
1523	* mfmpi386.asm [ASM_NEEDS_UNDERSCORE]: #ifdef labels on new
1524	configure condition.
1525	From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
1526
1527Tue Apr 23 08:26:11 1996  Karl Berry  <karl@cs.umb.edu>
1528
1529	* texmfmp.c (callmakempx): Always pass -troff, even if we got the
1530	command name from texmf.cnf.
1531
1532Sun Apr 21 16:59:44 1996  Karl Berry  <karl@cs.umb.edu>
1533
1534	* texmfmp.c (parse_options): New options -maketex and -no-maketex
1535	for TeX and MF.
1536
1537Sat Apr 20 17:55:37 1996  Karl Berry  <karl@cs.umb.edu>
1538
1539	* texmfmp.c [IPC_DEBUG]: Text changes.
1540
1541Fri Mar 22 15:30:45 1996  Karl Berry  <karl@cs.umb.edu>
1542
1543	* Remove GPL from these files; Web2c proper can stay p.d.
1544
1545Sun Mar 10 16:12:14 1996  Karl Berry  <karl@cs.umb.edu>
1546
1547	* openclose.c: Oops, forgot to #include variable.h.
1548
1549Fri Mar  8 16:00:20 1996  Karl Berry  <karl@cs.umb.edu>
1550
1551	* texmfmp.c (init_maketex): Remove this; we will do it in Kpathsea
1552	instead now, in the format initialization tex-file.c.
1553
1554	* openclose.c (open_output): Look for TEXMFOUTPUT in texmf.cnf.
1555
1556Wed Feb 21 11:45:02 1996  Karl Berry  <karl@cs.umb.edu>
1557
1558	* openclose.c: Don't abort if the TFM file is empty.
1559
1560Sat Feb 17 15:22:52 1996  Karl Berry  <karl@cs.umb.edu>
1561
1562	* texmfmp.c (openoutnameok): New function.
1563
1564Fri Feb 16 17:51:53 1996  Karl Berry  <karl@cs.umb.edu>
1565
1566	* texmfmp.c (long_options) [NONASCII]: Include --translate
1567	conditionally.  (Really should change the help message, too.)
1568
1569Sat Feb 10 15:22:59 1996  Karl Berry  <karl@cs.umb.edu>
1570
1571	* texmfmp.c (parse_options): Make DUMP_OPTION also set the user
1572	progname, since -progname sets the dump name.
1573
1574Fri Dec 29 17:16:42 1995  Karl Berry  <karl@cs.umb.edu>
1575
1576	* Makefile.in: misc.make is now clean.make.
1577
1578Sun Dec 17 15:09:44 1995  Karl Berry  <karl@cs.umb.edu>
1579
1580	* texmfmp.c (long_options): New option --debug-format, suggested
1581	by David Carlisle.
1582
1583Sun Dec 10 16:13:46 1995  Karl Berry  <karl@cs.umb.edu>
1584
1585	* mfmpi386.asm: Remove _'s. From Wayne.
1586
1587	* texmfmp.c (PROGRAM_VERSION) [MP]: Now at 0.631.
1588	[TeX] No asm stuff. From Gregor Hoffleit, et al.
1589
1590Sun Nov 26 13:39:00 1995  Karl Berry  <karl@cs.umb.edu>
1591
1592	* texmfmp.c (main): Enable mltex extensions if --mltex option or
1593	the program name is mltex.
1594
1595Fri Nov 17 14:35:45 1995  Karl Berry  <karl@cs.umb.edu>
1596
1597	* texmfmp.c (-program): New option for TeX, MF, MP. Suggested by Bernd.
1598
1599Thu Nov 16 16:20:03 1995  Karl Berry  <karl@cs.umb.edu>
1600
1601	* texmfmp.c (argv, argc): Do not define as static, as we declare
1602	them extern in cpascal.h. From Andreas Scherer.
1603
1604Sun Nov 12 16:32:27 1995  Karl Berry  <karl@cs.umb.edu>
1605
1606	* Makefile.in (sysopt_o): Remove this stuff. From Wayne.
1607	* texmfmp.c [i386 && GNUC && !NO_MF_ASM]: #include mfmpi386.asm
1608	instead of using the C code.
1609
1610	* texmfmp.c: Disable shell escapes by default.
1611
1612Fri Oct  6 16:23:03 1995  Karl Berry  <karl@cs.umb.edu>
1613
1614	* texmfmp.c (maybe_set_dump_default_from_input): Make %&ini set
1615	iniversion. Suggested by Wayne.
1616
1617Mon Oct  2 15:48:21 1995  Karl Berry  <karl@cs.umb.edu>
1618
1619	* texmfmp.c (init_maketex): Really disable if the value is zero.
1620
1621Sat Sep 30 16:02:56 1995  Karl Berry  <karl@cs.umb.edu>
1622
1623	* texmfmp.c (main) [TeX]: Look up the `noshell' config variable.
1624	(parse_options): No options -noshell and -output-comment.
1625
1626Sat Sep 23 15:04:54 1995  Karl Berry  <karl@cs.umb.edu>
1627
1628	* Makefile.in (objects): Remove strtol.o, this is in kpathsea now.
1629
1630Fri Sep 22 15:51:13 1995  Karl Berry  <karl@cs.umb.edu>
1631
1632	* texmfmp.c (init_maketex): New routine.
1633	(main): Call it, instead of repeating the weird code.
1634
1635Mon Sep  4 17:16:06 1995  Karl Berry  <karl@cs.umb.edu>
1636
1637	* Makefile.in (objects): Remove xopenfile.o.
1638	* xopenfile.c: Move to kpathsea.
1639
1640Thu Aug 31 13:35:47 1995  Karl Berry  <karl@cs.umb.edu>
1641
1642	* texmfmp.c [!MF_ASM_FRACTION] (takefraction, ...): Conditionalize
1643	the floating-point definitions on this, too.
1644	* Makefile.in (optx86.o): New target.
1645	* optx86.s: New file.
1646
1647Tue Aug 22 14:11:27 1995  Karl Berry  <karl@cs.umb.edu>
1648
1649	* Makefile.in: Include rdepend.make, instead of repeating the code.
1650
1651Mon Jul 31 17:46:31 1995  Karl Berry  <karl@cs.umb.edu>
1652
1653	* texmfmp.c (setupboundvariable): Call kpse_var_value, so we don't
1654	have to pass in the $. Similarly everywhere else.
1655
1656Sat Jul 29 19:26:33 1995  Karl Berry  <karl@cs.umb.edu>
1657
1658	* texmfmp.c (callmakempx): Rewrite to pass -troff flag, instead of
1659	invoking troff script. And use new kpse_var_value.
1660
1661Fri Jul 28 11:10:26 1995  Karl Berry  <karl@cs.umb.edu>
1662
1663	* Makefile.in (depend): Comment out this target in the
1664	distribution, it doesn't work when $srcdir != build-dir.
1665
1666	* texmfmp.c (callmakempx): Don't call anything if the command is
1667	`none'.
1668
1669Tue Jul 25 13:39:04 1995  Karl Berry  <karl@cs.umb.edu>
1670
1671	* texmfmp.c (callmakempx): Free the variable expansion.
1672
1673Mon Jul 24 11:48:35 1995  Karl Berry  <karl@cs.umb.edu>
1674
1675	* texmfmp.c (callmakempx): New fn.
1676
1677Sun Jul 23 11:39:51 1995  Karl Berry  <karl@cs.umb.edu>
1678
1679	* texmfmp.c (edit_value): Remove this #define.
1680	(calledit): Call kpse_var_expand for TEXEDIT et al., instead of
1681	just getenv.
1682	(ztakefraction, zmakefraction, ztakescaled, zmakescaled): Include
1683	Hobby's C code from mpmath.c.
1684
1685Sat Jul 22 14:20:38 1995  Karl Berry  <karl@cs.umb.edu>
1686
1687	* openclose.c (open_input) [FUNNY_CORE_DUMP]: Recognize
1688	HackyInput... for MetaPost. Doc fixes.
1689
1690	* texmf.c: Rename to texmfmp.c for MetaPost support.
1691	(long_options) [MP]: Add -T and -troff.
1692
1693Thu Jul 20 13:40:39 1995  Karl Berry  <karl@cs.umb.edu>
1694
1695	* texmf.c (setupboundvariable) [TeX]: Remove conditional, since MF
1696	sets a couple simple variables dynamically now.
1697	(initscreen): Get MFTERM from texmf.cnf file if it's there,
1698	instead of just calling getenv.
1699
1700Tue Jul 18 13:40:25 1995  Karl Berry  <karl@cs.umb.edu>
1701
1702	* texmf.c (initscreen): Give warning if they're using X, but there
1703	is no X support.
1704
1705Mon Jul 17 13:10:37 1995  Karl Berry  <karl@cs.umb.edu>
1706
1707	* texmf.c (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
1708	[MF]: Declare return types for window routines.
1709	Also, move trap support to another file, window/trap.c.
1710
1711Sun Jul 16 14:35:33 1995  Karl Berry  <karl@cs.umb.edu>
1712
1713	* texmf.c (main): Rewrite enabling of MakeTeX* to match new
1714	configure stuff.
1715
1716Sat Jul 15 16:05:37 1995  Karl Berry  <karl@cs.umb.edu>
1717
1718	* texmf.c: Doc fix.
1719
1720Fri Jul 14 14:31:57 1995  Karl Berry  <karl@cs.umb.edu>
1721
1722	* texmf.c (read_char_translation_file): Compute `charssavedbycharset'.
1723	(setupcharset): Do not allow dynamic translation in initex.
1724
1725Thu Jul 13 14:05:24 1995  Karl Berry  <karl@cs.umb.edu>
1726
1727	* texmf.c (setupcharset, read_char_translation_file,
1728	tcx_get_num): New functions to implement dynamic char translations.
1729	(parse_options): Add -translate-file option.
1730
1731Sun Jul  9 15:28:09 1995  Karl Berry  <karl@cs.umb.edu>
1732
1733	* texmf.c (maybe_set_dump_default_from_input): Don't index
1734	argv[optind] if optind is >= argc.
1735
1736Tue Jul  4 16:58:54 1995  Karl Berry  <karl@cs.umb.edu>
1737
1738	* texmf.c (maybe_set_dump_default_from_input): Finish implementing
1739	this (%&FNAME on first line => use FNAME for dump file).
1740
1741Thu Jun 29 17:50:38 1995  Karl Berry  <karl@cs.umb.edu>
1742
1743	* texmf.c (parse_options) [TeX && IPC]: Concatenate TEX_IPC_HELP
1744	to the help string.
1745
1746	* openclose.c (open_input): Detect nonexistent files correctly again.
1747
1748Wed Jun 21 15:54:45 1995  Karl Berry  <karl@cs.umb.edu>
1749
1750	* texmf.c (parse_options): Add --fmt (TeX) and --base (MF).
1751	(DUMP_OPTION): #ifdef'd #define to determine which.
1752
1753Mon Jun 19 20:09:34 1995  Karl Berry  <karl@cs.umb.edu>
1754
1755	* texmf.c: Add IPC support.
1756	From: Shamim Mohamed <shamim@howland.isu.edu>
1757	From: Tomas G. Rokicki <rokicki@CS.Stanford.EDU>
1758
1759Sat Jun 10 16:06:06 1995  Karl Berry  <karl@cs.umb.edu>
1760
1761	* openclose.c: Doc fix.
1762
1763Fri Jun  9 19:36:12 1995  Karl Berry  <karl@cs.umb.edu>
1764
1765	* main.c, texmf.c (main) [__EMX__]: Add _wildcard and _response calls.
1766	* texmf.c: Add mftalk support.
1767	(funny_core_dump, catch_interrupt) [__EMX__]: OS2 support.
1768	From: rs@purple.in-ulm.de (Ralph Schleicher).
1769
1770Sun Jun  4 10:30:36 1995  Karl Berry  <karl@cs.umb.edu>
1771
1772	* eofeoln.c (eof): Return true if the file doesn't exist.
1773
1774	* texmf.c: Add support for AMIGAWIN.  From Andreas Scherer.
1775
1776	* alloca.c (NULL, xmalloc): Do not define these here, they're
1777	(indirectly) in config.h. From Andreas Scherer.
1778
1779	* texmf.c (setupboundvariable): Don't complain about 0 in the cnf
1780	file if the default is also 0.
1781
1782Sat Jun  3 11:54:28 1995  Karl Berry  <karl@cs.umb.edu>
1783
1784	* xopenfile.c: Include the program name in the error message.
1785
1786	* texmf.c (setupboundvariable): If the variable is unset in
1787	texmf.cnf, the expansion is the empty string, not NULL. Also, free
1788	the expansion.
1789
1790Fri Jun  2 13:41:41 1995  Karl Berry  <karl@cs.umb.edu>
1791
1792	* texmf.c (DUMP_EXT) [DOSISH]: Must be `.bas'.  From Wayne.
1793	(input_line): Cast buf_size in printf to avoid warning.
1794	(setupboundvariable): New routine for lookup of dynamic bounds.
1795
1796Sun May 28 17:41:49 1995  Karl Berry  <karl@cs.umb.edu>
1797
1798	* zround.c: Compare against TeX's boundary integers (as floating
1799	point constants), instead of INTEGER_{MIN,MAX}.
1800
1801Fri May 26 17:47:47 1995  Karl Berry  <karl@cs.umb.edu>
1802
1803	* strtol.c: New file, from textutils.
1804	* Makefile.in (objects): Add strtol.o.
1805
1806Wed May 24 17:07:39 1995  Karl Berry  <karl@cs.umb.edu>
1807
1808	* texmf.c (parse_options): New routine for TeX & MF.
1809	(PROGRAM_VERSION, PROGRAM_HELP): Define these.
1810	(main): Call it.
1811
1812Sat May 20 17:28:51 1995  Karl Berry  <karl@cs.umb.edu>
1813
1814	* xopenfile.c: Do perror if we had a full filename to try.
1815
1816	* basechsuffix.c: Take old suffix, and only do the change if the
1817	old suffix matches.
1818
1819	* usage.c (usage): If bad status, construct the --help message.
1820
1821Tue May  9 15:46:25 1995  Karl Berry  <karl@cs.umb.edu>
1822
1823	* usage.c: Doc fix.
1824
1825Sat May  6 11:23:23 1995  Karl Berry  <karl@cs.umb.edu>
1826
1827	* usage.c: New file.
1828	* Makefile.in (objects): Add it.
1829
1830Tue Apr 25 14:02:10 1995  Karl Berry  <karl@cs.umb.edu>
1831
1832	* Makefile.in (library): Set to lib instead of lib.a, to match the
1833	other Makefile conventions.
1834
1835Sun Apr 23 10:54:35 1995  Karl Berry  <karl@cs.umb.edu>
1836
1837	* texmf.c: Have to include {tex,mf}d.h before #ifdef TeX, so do it
1838	from the Makefile.
1839
1840Sat Apr 22 10:26:10 1995  Karl Berry  <karl@cs.umb.edu>
1841
1842	* main.c (main): Call mainbody, not main_body.
1843
1844	* openclose.c (aclose): Don't complain if the file is already closed.
1845	(texinputtype): Define this.
1846
1847	* texmf.c (main): Do program_name stuff unconditionally, not just
1848	in vir*, and rewrite it to use program_invocation_short_name.
1849
1850Fri Apr 21 11:39:14 1995  Karl Berry  <karl@cs.umb.edu>
1851
1852	* main.c: Doc fix.
1853
1854	* input2int.c: Split off from inputint.c.
1855
1856Sun Apr 16 11:47:37 1995  Karl Berry  <karl@cs.umb.edu>
1857
1858	* openclose.c (open_input, open_output): Retrieve and store the
1859	filename from name_of_file + 1, not name_of_file, to avoid extra
1860	hassles in the change files.
1861
1862Fri Apr 14 15:28:47 1995  Karl Berry  <karl@cs.umb.edu>
1863
1864	* Makefile.in (objects): Include openclose.o.
1865	* openclose.c: New file, from openinout.c.
1866
1867Tue Feb 21 13:51:58 1995  Karl Berry  <karl@cs.umb.edu>
1868
1869	* xopenfile.c: Have to take another arg, the original name.
1870
1871Mon Feb 20 17:18:59 1995  Karl Berry  <karl@cs.umb.edu>
1872
1873	* xopenfile.c: New file.
1874	* Makefile.in (objects): Add it, and remove xfopen-pas.o.
1875
1876Sun Feb  5 15:33:29 1995  Karl Berry  <karl@cs.umb.edu>
1877
1878	* basechsuffix.c: New file.
1879	* Makefile.in (objects): Add it.
1880
1881Tue Jan 10 13:20:47 1995  Karl Berry  <karl@cs.umb.edu>
1882
1883	* Makefile.in (objects): Remove strpascal.o (no longer needed) and
1884	getopt.o (in kpathsea).
1885
1886Sun Dec 18 16:38:03 1994  Karl Berry  <karl@cs.umb.edu>
1887
1888	* strpascal.c (errprintpascalstring, etc.): Don't need these any more?
1889
1890Sat Dec 17 13:42:03 1994  Karl Berry  <karl@cs.umb.edu>
1891
1892	* mksuffixchar.c: This was short-lived.
1893	* chartostring.c: This replaces it.
1894	* Makefile.in (objects): Ditto. Also remove ourpaths.o.
1895
1896Mon Nov 14 15:13:50 1994  Karl Berry  <karl@cs.umb.edu>
1897
1898	* mksuffixchar.c: New file.
1899	* Makefile.in (objects): Add it.
1900
1901Sun Nov 13 16:43:40 1994  Karl Berry  <karl@cs.umb.edu>
1902
1903	* Makefile.in (objects): Add w*.o.
1904	(wsun.c, wx11.c): Add links for these.
1905
1906Fri Oct 28 11:14:08 1994  Karl Berry  <karl@cs.umb.edu>
1907
1908	* strpascal.c (extendfilename): Remove this.
1909
1910Thu Oct 27 17:59:07 1994  Karl Berry  <karl@cs.umb.edu>
1911
1912	* main.c (argv): Return a regular C string, instead of a Pascal string.
1913
1914Fri May 27 09:50:14 1994  Karl Berry  (karl@cs.umb.edu)
1915
1916	* texmf.c (main): Don't look for USE_MAKETEX*.
1917
1918	* c-auto.h.top, texmf.c (NO_FMTBASE_SHARE): Rename from
1919	NO_FMTBASE_SWAP.
1920
1921Thu May 26 20:37:24 1994  Karl Berry  (karl@cs.umb.edu)
1922
1923	* c-auto.h.top: Why did I take out the #ifndef's? Put them back.
1924
1925Tue May 24 14:43:12 1994  Karl Berry  (karl@cs.umb.edu)
1926
1927	* texmf.c (funny_core_dump): No need to declare, since we define
1928	it later in this file.
1929
1930Mon Apr 18 17:31:59 1994  Karl Berry  (karl@ra.cs.umb.edu)
1931
1932	* c-auto.h.top: Rename from c-auto.h.in for autoheader convention,
1933	and don't #ifndef the #undef's.
1934	* Makefile.in: autoheader/autoconf changes.
1935
1936Thu Feb 24 11:00:53 1994  Karl Berry  (karl@cs.umb.edu)
1937
1938	* ourpaths.c: Include tex-file.h instead of init-path.h.
1939
1940Mon Feb 21 14:29:52 1994  Karl Berry  (karl@cs.umb.edu)
1941
1942	* Makefile.in: srcdir changes from simon.
1943
1944	* gftodmem.h: Move here from fontutil, to simplify srcdir stuff.
1945
1946Wed Feb  2 11:00:47 1994  Karl Berry  (karl@cs.umb.edu)
1947
1948	* Version 6.1.
1949
1950Tue Feb  1 11:25:44 1994  Karl Berry  (karl@cs.umb.edu)
1951
1952	* Makefile.in (c-auto.h.in): New target.
1953
1954	* common.defines (rh): Declare as a field, for TeX--Xet.
1955
1956Mon Jan 24 07:33:49 1994  Karl Berry  (karl@cs.umb.edu)
1957
1958	* Version 6.0.
1959
1960Thu Jan 20 14:22:07 1994  Karl Berry  (karl@cs.umb.edu)
1961
1962	* c-auto.h.in: Doc fix.
1963
1964	* MakeTeX{TFM,MF}: Include these as samples, from
1965	pnoma@wk.estec.esa.nl.
1966
1967Fri Dec 24 13:48:46 1993  Karl Berry  (karl@cs.umb.edu)
1968
1969	* getopt.c (_NO_PROTO): Define before including config.h.
1970
1971Tue Dec  7 10:23:59 1993  Karl Berry  (karl@cs.umb.edu)
1972
1973	* Makefile.in (objs): Ah, flexfatal is in the library now.
1974
1975Sun Dec  5 15:23:47 1993  Karl Berry  (karl@cs.umb.edu)
1976
1977	* ourpaths.c (setpaths): Remove the KPSE_MAKE_* enables, this file
1978	is not compiled in the tex/mf/bibtex directories.
1979	* texmf.c (main): Set them here.
1980
1981	* c-auto.h.in (XVIEWWIN): Remove this, as x11-Xt should work
1982	with OpenWindows. (But leave it in configure, just for old-times'
1983	sake.)
1984
1985Sat Dec  4 11:29:57 1993  Karl Berry  (karl@cs.umb.edu)
1986
1987	* flexfatal.c: New file.
1988	* Makefile.in (flexfatal.o): New target.
1989	(objs): Include it.
1990
1991	* texmf.h (NO_DEBUG) [!TEXMF_DEBUG]: Define this.
1992
1993	* openinout.c (make_tex_file): Pass address of nameoffile, as required.
1994
1995Sun Nov 14 02:30:34 1993  Karl Berry  (karl@cs.umb.edu)
1996
1997	* version.c (VERSION_STRING) [!VERSION_STRING]: Define and protect.
1998
1999Fri Nov 12 19:38:26 1993  Karl Berry  (karl@cs.umb.edu)
2000
2001	* cpascal.h (reset, rewrite): Use FOPEN_[RW]BIN_MODE instead of
2002	"r" and "w". Still not 100% right, but at least something of an
2003	improvement.
2004
2005Sun Nov  7 14:17:24 1993  Karl Berry  (karl@cs.umb.edu)
2006
2007	* Makefile.in (.c.o): Use $< instead of $*.c; maybe it will help
2008	with $(srcdir) stuff?
2009
2010	* texmf.c (input_line): Trim trailing spaces, tabs, and \r's.
2011
2012	* lib.h: Remove, this is in Kpathsea now.
2013
2014	* config.h (INTEGER_TYPE) [LONG_64_BITS && !NO_FMTBASE_SWAP]:
2015	Define as int in this case.
2016	(INTEGER_MAX,INTEGER_MIN): Define these as well.
2017	* zround.c (zround): Use INTEGER_{MAX,MIN}.
2018	From raichle@informatik.uni-stuttgart.de.
2019
2020Sat Nov  6 13:21:11 1993  Karl Berry  (karl@cs.umb.edu)
2021
2022	* c-auto.h.in (NEXTWIN, REGISWIN): #undef by default.
2023	* texmf.c (mfwin_sw): Add cases for regis and next.
2024	(mf_{next,regis}_*) [NEXT,REGISWIN]: Declare.
2025
2026Tue Oct 12 14:03:23 1993  Karl Berry  (karl@cs.umb.edu)
2027
2028	* openinout.c (open_input): Allow HackyCoreDump's for MF, too.
2029
2030	* ourpaths.c (testreadaccess): Update fontmap stuff, use it for GF
2031	and PK as well as TFM.
2032
2033	* texmf.c: Doc fix.
2034
2035	* common.defines (cinttype): Declare.
2036	* cpascal.h (cinttype): Define.
2037
2038Sun Oct 10 16:17:48 1993  Karl Berry  (karl@cs.umb.edu)
2039
2040	* ourpaths.c: Rewrite for new kpathsea facilities.
2041
2042Sun Oct  3 13:49:40 1993  Karl Berry  (karl@cs.umb.edu)
2043
2044	* ourpaths.c: kpathsea/pathsrch.h has been renamed to pathsearch.h.
2045
2046	* config.h [ibm032]: Remove all this stuff; I don't think it's
2047	needed any longer.
2048
2049	* Makefile.in (*clean): Include standard targets.
2050
2051Mon Jun  7 08:29:45 1993  Karl Berry  (karl@cs.umb.edu)
2052
2053	* cpascal.h (addressofint): Do not cast to int first.
2054
2055Mon May 31 09:40:00 1993  Karl Berry  (karl@cs.umb.edu)
2056
2057	* config.h (EXIT_SUCCESS): Move to c-std.h.
2058
2059Tue May 25 14:37:16 1993  Karl Berry  (karl@cs.umb.edu)
2060
2061	* config.h (EXIT_SUCCESS): Rename from EXIT_SUCCESS_CODE.
2062	Change callers in various files.
2063
2064Fri May 21 11:56:02 1993  Karl Berry  (karl@cs.umb.edu)
2065
2066	* texmf.c (paintrow): Put args in the printf for paintrow.
2067
2068	* texmf.c (custom_default) [INI]: Declare conditionally, since
2069	it's used conditionally.
2070	(main): Declare as void.
2071
2072	* openinout.c (open_input): Rename IS_PATH_SEP to IS_DIR_SEP.
2073
2074	* alloca.c: Replace with version from gcc 2.4.0.
2075
2076	* config.h (testreadaccess): Declare.
2077
2078	* xfopen-pas.c: Remove unused variable `cp'.
2079
2080	* main.c (main): Return 0 instead of using uexit.
2081
2082Tue May 18 13:43:07 1993  Karl Berry  (karl@cs.umb.edu)
2083
2084	* texmf.c (do_undump) [VMS]: Remove this.  barabash says it works ok.
2085
2086Thu May 13 16:53:47 1993  Karl Berry  (karl@cs.umb.edu)
2087
2088	* getopt.c (my_index): Return const char *, and change callers.
2089
2090	* Not quite all of Bill's changes below have been merged (not the
2091	new descrip.mms or convert.com files, in particular), but just to
2092	get the gist, I'll include the whole log.
2093
2094Wed Mar 24 12:28:25 1993  Bill Barabash  (barabash@ops5.lmo.dec.com)
2095
2096	* c-auto.h : It's too complicated to convert the big hairy config
2097	shell script;  I just created a VMS-acceptable c-auto.h manually.
2098
2099	* c-std.h : Declare VMS's unix-compatibillity routines by including
2100	<unixlib.h> and <unixio.h>;  don't declare popen() on VMS.
2101
2102	* common.h : Declare EXIT_SUCCESS_CODE to be 1 on VMS, 0 elsewhere.
2103	Throw away the VMS system library's getname() declaration, it steps
2104	on a WEB procedure and is not needed.  Declare routines eof(),
2105	testreadaccess(), zinput2ints(), extendfilename(), and uexit().
2106
2107	* convert.com : VMS command procedure based on the shell script
2108	"convert" (new file).
2109
2110	* descrip.mms : VMS equivalent of makefile (new file).
2111
2112	* dirio.h : Don't declare xopendir and xclosedir on VMS.
2113
2114	* getopt.h : Make my_index accept and return a const character
2115	pointer.  Have it return NULL instead of 0 when necessary.
2116
2117	* main.c : Add function prototype for main_body().
2118
2119	* openinout.c, pascal.h, c-auto.h : For BibTeX, use stdin and stdout
2120	on VMS (standardinput and standardoutput become macros).
2121
2122	* pascal.h : On VMS use system-defined abs() and fabs().
2123
2124	* paths.h : Hand-coded for VMS.
2125
2126	* pathsrch.c : On VMS, don't compile routine expand_subdir(), and
2127	look in current directory for input file if path searching fails.
2128	Routine absolute_p() can now deal with VMS directory specifications.
2129
2130	* texmf.c : Declare argc so that it links cleanly.  Add an unused
2131	formal parameter to catch_interrupt so that it can be passed to
2132	signal without the compiler complaining.  Cast argument to time()
2133	as a (time_t *) rather than as a (long *).  Get rid of the VMS
2134	undump code contributed by joe%ril3.decnet@hydra.tamri.com -- it
2135	causes the TRAP test to fail.
2136
2137	* texmf.h : Add function prototypes for routines in texmf.c and
2138	openinout.c.
2139
2140Thu May 13 14:43:42 1993  Karl Berry  (karl@cs.umb.edu)
2141
2142	* cpascal.h (fabs) [fabs]: Undefine if it's already defined.
2143
2144Sun May  9 09:53:05 1993  Karl Berry  (karl@cs.umb.edu)
2145
2146	* convert: Redirect error echo to stderr; exit 0 if no error.
2147
2148	* config.h: Changes for kpathsea.  Toss volatile defn.
2149
2150	* Makefile.in (objs): Remove kpathsea files.
2151
2152Fri Apr 30 15:06:29 1993  Karl Berry  (karl@cs.umb.edu)
2153
2154	* openinout.c (make_tex_file): Free cmd.
2155
2156Fri Apr 16 19:42:15 1993  Karl Berry  (karl@cs.umb.edu)
2157
2158	* find-suffix.c: Declare arg and return string const.
2159	* lib.h (find_suffix): Change decl.
2160
2161	* c-pathch.h (IS_PATH_SEP) [DOS & otherwise]: New defn.
2162	* pathsrch.c, openinout.c, find-suffix.c: Consequent changes.
2163
2164Mon Apr 12 06:14:42 1993  Karl Berry  (karl@cs.umb.edu)
2165
2166	* Makefile.in (clean): Remove core here.
2167
2168Sat Apr 10 15:20:25 1993  Karl Berry  (karl@cs.umb.edu)
2169
2170	* openinout.c (make_tex_file): Throw away all output.
2171
2172	* texmf.c (swap_items): Add case for 16-byte items.
2173	(From james@miller.cs.uwm.edu.)
2174
2175	* texmf.c (get_date_and_time): Cast arg to time_t *, not long *.
2176	(From james@miller.cs.uwm.edu.)
2177
2178	* texmf.c (get_date_and_time) [SA_INTERRUPT]: Add code for SunOS
2179	4.1, from ken@cs.toronto.edu.
2180
2181	* pathsrch.c (expand_subdir) [UNIX_ST_NLINK]: Don't check st_link
2182	if we don't have Unix semantics.
2183	* c-auto.h.in (UNIX_ST_NLINK): Define if not DOS or VMS or VMCMS.
2184	(Suggested by buers@dg1.chemie.uni-konstanz.de.)
2185
2186	* texmf.c (catch_interrupt): Declare a(n unused) parameter `arg'
2187	(from beebe).
2188	(get_date_and_time): Don't do assignment in if condition.
2189
2190Fri Apr  9 16:10:06 1993  Karl Berry  (karl@cs.umb.edu)
2191
2192	* xrealloc.c (xrealloc): Don't print old_ptr.
2193
2194	* c-std.h (stddef.h): Don't include.
2195
2196	* openinout.c (make_tex_file): cmd is a string, not a character.
2197
2198Mon Mar 29 08:33:51 1993  Karl Berry  (karl@cs.umb.edu)
2199
2200	* cpascal.h (abs) [abs]: Undef.
2201
2202Sat Mar 13 10:22:54 1993  Karl Berry  (karl@cs.umb.edu)
2203
2204	* Makefile.in (CPPFLAGS): Add @DEFS@, for -DHAVE_CONFIG_H.
2205
2206	* texmf.h: Include cpascal.h instead of config.h.
2207
2208	* common.h: Merge into config.h and remove.
2209
2210	* common.h (pascal.h): Don't include this.
2211	* cpascal.h: Rename from pascal.h.
2212
2213	* convert: Exit with bad status if the pipeline failed; use
2214	cpascal.h instead of config.h.
2215
2216	* openinout.c (make_tex_file): Call xmalloc instead of declaring
2217	an array; put quotes around the arg of sh -c.
2218
2219Sun Feb 28 11:10:48 1993  Karl Berry  (karl@cs.umb.edu)
2220
2221	* c-auto.h.in (MAKE_TEX_*): Replace single NO_MAKETEX with
2222	individual symbols.
2223
2224	* openinout.c (maketex*) [MAKE_TEX*]: Make them individually
2225	selectable.
2226
2227Sun Feb 21 08:28:06 1993  Karl Berry  (karl@cs.umb.edu)
2228
2229	* Version 5.851d.
2230
2231	* common.defines (maketexmf): New defn.
2232
2233	* Makefile.in (.c.o): Put $(CFLAGS) after $(CPPFLAGS).
2234
2235	* openinout.c: Include c-namemx.h.
2236
2237Tue Feb 16 17:53:54 1993  Karl Berry  (karl@cs.umb.edu)
2238
2239	* Makefile.in (install-exec, install-data): New targets.
2240
2241Mon Feb 15 10:19:02 1993  Karl Berry  (karl@cs.umb.edu)
2242
2243	* c-auto.h.in (NO_MAKETEX): New #define for installers.
2244
2245	* openinout.c (maketex*): New routines, rewrite from yesterday.
2246
2247	* common.defines (maketextex): Define.
2248
2249Sun Feb 14 11:54:30 1993  Karl Berry  (karl@cs.umb.edu)
2250
2251	* openinout.c (open_input) [BibTeX]: Only do NO_FILE_PATH stuff if
2252	we are BibTeX; declare tfmtemp only when we need it, instead of at
2253	the outer level; add support for MakeTeX{TeX,MF,TFM}.
2254
2255Fri Feb 12 07:33:49 1993  Karl Berry  (karl@cs.umb.edu)
2256
2257	* c-auto.h.in (const): Add defn for Autoconf to use.
2258
2259	* paths.h.in (TEXFORMATS): Only define once.
2260
2261Sat Jan 30 09:46:04 1993  Karl Berry  (karl@cs.umb.edu)
2262
2263	* fontmap.c (map_lookup): Only extend the filename if we have one.
2264
2265Tue Jan 26 16:07:21 1993  Karl Berry  (karl@cs.umb.edu)
2266
2267	* version.c: New file to define web2c version.
2268	* common.h (versionstring): Declare it here.
2269	* common.defines (versionstring): And here.
2270	* Makefile.in (objs): Add it.
2271
2272	* c-auto.h.in (X11WIN) [XVIEWWIN]: Undefine.
2273
2274Mon Jan 25 12:04:28 1993  Karl Berry  (karl@cs.umb.edu)
2275
2276	* ourpaths.c (testreadaccess.c): Don't free `found' after copying,
2277	as it might not be malloc-ed.
2278
2279Sun Jan 24 11:04:37 1993  Karl Berry  (karl@cs.umb.edu)
2280
2281	* lib.h (FATAL*, WARNING*): Use `str' instead of `s' for macro formals.
2282
2283	* xcalloc.c: Remove prototypes.
2284	* remove-suffx.c, line.c, fontmap.c: Cast *alloc calls to avoid
2285	  silly warnings.
2286
2287	* texmf.c (swap_items): Rewrite as four while loops, since `size'
2288	is invariant.  (From Tom.)
2289
2290Sat Jan 23 10:13:51 1993  Karl Berry  (karl@cs.umb.edu)
2291
2292	* remove-suffx.c: New file.
2293
2294Thu Jan 21 11:21:14 1993  Karl Berry  (karl@cs.umb.edu)
2295
2296	* Makefile.in (objs5): New variable.
2297	($(lib)): Include it in the archive.
2298
2299	* extend-fname.c, find-suffix.c, xfopen.c, fontmap.[ch]: New files.
2300
2301	* ourpaths.c, fontmap.[ch]: Implement a mapping file.
2302
2303Sat Jan 16 08:36:36 1993  Karl Berry  (karl@cs.umb.edu)
2304
2305	* c-auto.h.in, paths.h.in: Doc fix.
2306
2307Sun Jan  3 13:27:37 1993  Karl Berry  (karl@cs.umb.edu)
2308
2309	* config.h: Move some includes to c-std.h.
2310
2311	* xcalloc.c: New file.
2312	* Makefile.in (objs): Add it.
2313
2314	* Makefile.in (distclean): Remove Makefile; depend on clean.
2315
2316Fri Jan  1 14:17:37 1993  Karl Berry  (karl@cs.umb.edu)
2317
2318	* c-auto.h.in, c-memstr.h, dirio.h: Changes for new Autoconf.
2319
2320	* texmf.c (RETSIGTYPE): Don't default to void.
2321
2322Fri Dec 18 13:16:47 1992  Karl Berry  (karl@cs.umb.edu)
2323
2324	* strpascal.c (makesuffixpas): Rename to `extendfilename'.
2325	* common.defines (extendfilename): Declare.
2326
2327Wed Dec 16 18:12:51 1992  Karl Berry  (karl@cs.umb.edu)
2328
2329	* common.defines (atoi): Declare.
2330
2331Mon Dec 14 07:25:03 1992  Karl Berry  (karl@cs.umb.edu)
2332
2333	* ourpaths.c: Include paths.h.
2334
2335Sun Dec 13 17:06:15 1992  Karl Berry  (karl@cs.umb.edu)
2336
2337	* c-auto.h.in: Merge stuff from site.h.
2338	* site.h: Delete.
2339	* config.h: Don't include site.h.
2340
2341Sat Dec 12 13:08:52 1992  Karl Berry  (karl@cs.umb.edu)
2342
2343	* Makefile.in: Rewrite from Makefile.
2344
2345	* openinout.c (open_{in,out}put): Take an extra arg for the fopen mode.
2346	* texmf.h ([bw]open{in,out}): Use appropriate fopen modes.
2347	* pascal.h (aopen{in,out}): Likewise.
2348
2349Fri Dec 11 15:19:25 1992  Karl Berry  (karl@cs.umb.edu)
2350
2351	* texmf.c: Change ctype references to use uppercase macros.
2352
2353Sat Dec  5 15:21:24 1992  Karl Berry  (karl@cs.umb.edu)
2354
2355	* texmf.h (writedvi, writegf): Check the return status of the write.
2356
2357	* config.h (UNSIGNED_SHORT_STRING): Toss; I think everyone
2358	understands `unsigned short' now.
2359
2360Thu Dec  3 13:21:06 1992  Karl Berry  (karl@cs.umb.edu)
2361
2362	* texmf.c: include c-pathch.h.
2363
2364Sun Nov 29 14:50:04 1992  Karl Berry  (karl@cs.umb.edu)
2365
2366	* strpascal.c: include c-pathch.h.
2367
2368Mon Nov 16 08:12:16 1992  Karl Berry  (karl@cs.umb.edu)
2369
2370	* openinout.c: include c-pathch.h.
2371
2372Tue Nov 10 06:49:33 1992  Karl Berry  (karl@cs.umb.edu)
2373
2374	* texmf.c (main): Change '/' to PATH_SEP.
2375	* openinout.c (open_input): Likewise.
2376	* strpascal.c (makesuffixpas): And here.
2377
2378Mon Nov  9 09:38:58 1992  Karl Berry  (karl@cs.umb.edu)
2379
2380	* openinout.c (open_input): Use FOPEN_RBIN_MODE instead of simply "r".
2381	(open_output): Analogously.
2382
2383	* c-auto.h.in (DOS): New definition, #undef'd by default.
2384
2385Fri Nov  6 14:52:34 1992  Karl Berry  (karl@cs.umb.edu)
2386
2387	* Makefile (lib): Use $(AR) and $(ARFLAGS) several times.
2388	(AR, ARFLAGS): New variables.
2389	(objs1..4): New variables, breaking up the old $(objs).
2390
2391Tue Oct 27 08:16:41 1992  Karl Berry  (karl@cs.umb.edu)
2392
2393	* openinout.c (open_output): Remove `openable', just use *f !=
2394	NULL; also, don't chdir to the envvar's directory, just prepend
2395	the value and change nameoffile.
2396
2397	* site.h (TEXPOOLNAME): More instructions for MLTeX.
2398
2399Sun Oct 25 06:26:22 1992  Karl Berry  (karl@cs.umb.edu)
2400
2401	* getopt.c: New version.
2402
2403Tue Oct  6 08:17:45 1992  Karl Berry  (karl@cs.umb.edu)
2404
2405	* site.h.in: Doc fix.
2406
2407Thu Sep 24 11:06:14 1992  Karl Berry  (karl@cs.umb.edu)
2408
2409	* site.h.in: change instructions for OpenWindows.  (mroth@afit.af.mil)
2410
2411Thu Sep 17 08:29:53 1992  Karl Berry  (karl@hayley)
2412
2413	* texmf.c (initscreen): if DISPLAY is set, assume we're running
2414	  under X11 for MF online output.
2415
2416	* texmf.c: remove BibTeX conditionals.
2417
2418Tue Sep  8 17:06:54 1992  Karl Berry  (karl@hayley)
2419
2420	* c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's
2421	  for configure to define.
2422
2423Fri Sep  4 09:01:59 1992  Karl Berry  (karl@hayley)
2424
2425	* Makefile (extraclean): new target.
2426
2427Fri Aug 14 07:02:41 1992  Karl Berry  (karl@hayley)
2428
2429	* ourpaths.h (path_constant_type): remove trailing comma from
2430	  enum, since ANSI stupidly disallows this.
2431
2432Wed Aug 12 16:20:10 1992  Karl Berry  (karl@hayley)
2433
2434	* texmf.c (catch_interrupt): change return type to `RETSIGTYPE'.
2435
2436	* config.h: remove conditional include of c-memstr if `index' is
2437	  defined.
2438
2439Sat Aug  8 10:11:18 1992  Karl Berry  (karl@hayley)
2440
2441	* openinout.c (EXTERN) [!BibTeX]: define as `extern'.  How did
2442	  this ever work?
2443
2444Fri Jul  3 11:23:32 1992  Karl Berry  (karl@hayley)
2445
2446	* texmf.c (input_line): ignore \r's at the end of the line.
2447
2448	* site.h.in (XVIEWWIN): undef by default.
2449	* texmf.c (X11WIN) [MF && (TRAP || INI)]: #undef.
2450
2451Thu Jul  2 16:11:46 1992  Karl Berry  (karl@hayley)
2452
2453	* Makefile (CPPFLAGS): new variable
2454	(.c.o): use it.
2455	(cflags): change to CFLAGS.
2456
2457Tue Jun 23 09:09:49 1992  Karl Berry  (karl@hayley)
2458
2459	* Makefile (CC): change default to `gcc -posix'.
2460
2461	* site.h.in (NONASCII): document that xord and xchr are ignored
2462	  unless this is defined.
2463
2464Thu Jun 11 09:20:51 1992  Karl Berry  (karl@hayley)
2465
2466	* zround.c (zround): return LONG_MAX or LONG_MIN if the double
2467	  being rounded is outside the range of `integer'.
2468	* c-minmax.h (LONG_{MIN,MAX}): define these if they aren't defined
2469	  by the system.
2470
2471Fri May 15 10:23:47 1992  Karl Berry  (karl@hayley)
2472
2473	* getopt.[ch]: new versions.
2474
2475Thu May 14 19:21:40 1992  Karl Berry  (karl@claude.cs.umb.edu)
2476
2477	* Version 5.851c.
2478
2479Wed May 13 14:32:14 1992  Karl Berry  (karl@hayley)
2480
2481	* pathsrch.c (initalize_path_list): initialize path to the
2482	  original path.
2483
2484Mon May  4 14:50:20 1992  Karl Berry  (karl@hayley)
2485
2486	* c-auto.h.in: doc fix.
2487
2488Sun May  3 08:06:07 1992  Karl Berry  (karl@hayley)
2489
2490	* main.c (argv): use a prototype if possibile.
2491
2492	* texmf.ch (*dumpthings): parenthesize `len'.
2493
2494Wed Apr 29 16:07:52 1992  Karl Berry  (karl@hayley)
2495
2496	* texmfmem.h (memoryword): had mutually exclusive #if's.
2497	(twohalves.u): don't need junk at the end?
2498
2499Sat Apr 25 08:55:34 1992  Karl Berry  (karl@hayley)
2500
2501	* c-auto.h.in (__CHAR_UNSIGNED__): protect with #ifndef.
2502
2503	* site.h.in: remove #ifndef's from around the #define's.  I don't
2504	  think these help anything.
2505
2506Thu Apr 23 07:49:18 1992  Karl Berry  (karl@hayley)
2507
2508	* c-auto.h.in: new file.
2509
2510Wed Apr 22 12:43:30 1992  Karl Berry  (karl@hayley)
2511
2512	* texmf.c: SIGTYPE is now RETSIGTYPE.
2513
2514Sun Apr 19 10:26:16 1992  Karl Berry  (karl@hayley)
2515
2516	* texmf.c: had sense of tests on FMTBASE_SWAP reversed.
2517
2518Thu Apr 16 13:49:36 1992  Karl Berry  (karl@ra.cs.umb.edu)
2519
2520	* Version 5.851b.
2521
2522Tue Apr 14 17:06:57 1992  Karl Berry  (karl@hayley)
2523
2524	* common.defines (BSTINPUTPATHBIT): define.
2525
2526Sun Apr 12 11:42:14 1992  Karl Berry  (karl@hayley)
2527
2528	* common.defines (BSTINPUTPATH): define.
2529	* ourpaths.h (path_constant_type): add BSTINPUTPATH.
2530	(BSTINPUTPATHBIT): define.
2531	* site.h-dist (BSTINPUTS): default is TEXINPUTS.
2532	* ourpaths.c (setpaths): add stuff for BSTINPUTS.
2533
2534Sat Apr 11 09:26:55 1992  Karl Berry  (karl@hayley)
2535
2536	* uexit.c: include config.h, for EXIT_SUCCESS_CODE.
2537
2538Fri Apr 10 16:56:18 1992  Karl Berry  (karl@hayley)
2539
2540	* ourpaths.c (setpaths): don't pass cwd to initialize_path_list.
2541
2542	* site.h-dist (*INPUTS, TEXFONTS): add . to these paths.
2543
2544Wed Apr  8 15:34:21 1992  Karl Berry  (karl@hayley)
2545
2546	* texmf.c [FMTBASE_SWAP]: make swapping conditional.
2547	* site.h-dist: add it here for configuration.
2548
2549	* main.c (do_undump) [VMS]: add code from joe.
2550
2551	* main.c: use exit, not exit.
2552
2553	* Makefile (objs): add uexit.o.
2554	* uexit.c: new file.
2555	* pascal.h (uexit): remove this, as it's now a function.
2556
2557Fri Apr  3 09:55:00 1992  Karl Berry  (karl at hayley)
2558
2559	* Version 5.851a.
2560
2561Thu Apr  2 11:57:06 1992  Karl Berry  (karl at apollo.cs.umb.edu)
2562
2563	* c-memstr.h (memcpy) [!NEED_MEMORY_H]: conditionalize.
2564
2565Thu Apr  2 10:51:11 1992  Karl Berry  (karl at ra.cs.umb.edu)
2566
2567	* xstat.c (xlstat): (un)prototype-ize.
2568
2569	* c-limits.h: test for FLOAT_H_MISSING instead of relying on
2570	  _POSIX_VERSION to include <float.h>.
2571
2572	* c-pathmx.h [_POSIX_VERSION]: don't do pathconf stuff.
2573
2574Wed Apr  1 16:57:30 1992  Karl Berry  (karl at hayley)
2575
2576	* common.h (FATAL): use `str' as the arg name, not `s', since we
2577	  need to do `%s'.
2578
2579	* xopendir.c (xclosedir): prototype-ize it.
2580
2581	* dir-p (leaf_dir_p): don't initialize a structure (!).
2582
2583	* {concat,pathsrch,texmf,xmalloc,xstrdup,xrealloc}.c: cast results from
2584	  xmalloc/malloc/realloc (argh).
2585
2586	* alloca.c: comment things after #endif.
2587
2588	* site.h-dist (REGFIX): put this back.
2589
2590	* c-proto.h (P5C) [!__STDC__]: insert missing backslash.
2591
2592Mon Mar 30 07:28:25 1992  Karl Berry  (karl at hayley)
2593
2594	* texmfmem.h (u, v, twohalves) [big MF]: define the halfword junks
2595	  again.
2596
2597Sun Mar 29 15:33:29 1992  Karl Berry  (karl at hayley)
2598
2599	* alloca.c: new version from gcc 2.1.
2600
2601Sat Mar 28 09:46:53 1992  Karl Berry  (karl at hayley)
2602
2603	* main.c (main): return int, exit (EXIT_SUCCESS_CODE).
2604	* texmf.c (main): likewise.
2605
2606	* config.h (SCHAR_TYPE): use `__CHAR_UNSIGNED__' again.
2607
2608Thu Mar 26 06:57:38 1992  Karl Berry  (karl at hayley)
2609
2610	* Makefile (clean, realclean): depend on mostlyclean.
2611
2612Sun Mar 22 09:16:04 1992  Karl Berry  (karl at hayley)
2613
2614	* common.h [BibTeX]: remove the include of <setjmp.h>, as
2615	  bibtex/convert does it.
2616
2617Sat Mar 21 11:09:55 1992  Karl Berry  (karl at hayley)
2618
2619	* common.defines (input2ints): for patgen2.
2620	* inputint.c (zinput2ints): new routine.
2621	* pascal.h (input2ints): new macro to call it.
2622
2623	* config.h: include c-pathmx.h.
2624
2625	* common.defines (TEXPOOLNAME): declare as a constant.
2626
2627Fri Mar 20 16:10:44 1992  Karl Berry  (karl at hayley)
2628
2629	* paths.h: new file.
2630
2631	* config.h: update for new files c-*.h.
2632	* common.h: remove stuff that is now in lib.h.
2633
2634Thu Mar 19 11:52:17 1992  Karl Berry  (karl at hayley)
2635
2636	* ourpaths.c (append_path_list): remove this.
2637
2638	* ourpaths.c (setpaths): use the envvar TEXFONTS if VFFONTS isn't set.
2639
2640Tue Feb 11 10:27:38 1992  Karl Berry  (karl at hayley)
2641
2642	* config.h [NEED_MEMORY_H]: include <memory.h>.
2643
2644	* config.h [LIMITS_H_MISSING]: include <sys/param.h>.
2645
2646Sun Feb  2 07:54:53 1992  Karl Berry  (karl at hayley)
2647
2648	* pathsearch.c (parse_envpath): remove the second / before doing
2649	  subdirectories.
2650
2651	* pascal.h (optiontable): remove, as getopt no longer has a global
2652	  table for the long options.
2653
2654Sat Feb  1 15:32:50 1992  Karl Berry  (karl at hayley)
2655
2656	* ourpaths.c (setpaths): use TEXFONTS if PKFONTS/GFFONTS is not
2657	  set for GF/PK files, as the documentation claims.
2658
2659	* ourpaths.c (setpaths): remove subdirectory stuff.
2660	* pathsearch.[ch]: new versions to integrate subdirectories into
2661	  the main paths.
2662
2663	* texmf{,mem}.c (WEB2C_BIGENDIAN): rename to WORDS_BIGENDIAN.
2664
2665Fri Jan 31 11:54:46 1992  Karl Berry  (karl at hayley)
2666
2667	* strpascal.c ({null,space}_terminate): do not translate using
2668	  xord/xchr (from raichle@azu.informatik.uni-stuttgart.de).
2669
2670Fri Jan 24 07:14:05 1992  Karl Berry  (karl at hayley)
2671
2672	* Makefile (cflags): don't include -I../config.
2673
2674	* config.h (__CHAR_UNSIGNED__) [CHAR_UNSIGNED]: define as autoconf
2675	  uses the latter and gcc sometimes the former.
2676
2677	* config.h: move from config.
2678
2679	* openinout.c (extensionirrelevantp): new function.
2680	* common.defines: declare it.
2681
2682	* ourpaths.h (path_constant_type): rename from `path_constants'.
2683	* openinout.c (open_input): use it for the path arg.
2684
2685Wed Jan 15 11:13:45 1992  Karl Berry  (karl at hayley)
2686
2687	* xgetcwd.c, xchdir.c: don't need these.
2688	* Makefile (objs): remove from list.
2689	* dirio.h: remove decls.
2690
2691	* pathsearch.c (check_subdir): do not cd to the directory we're
2692	  testing.
2693	(add_directory): test if the name is a directory before adding it
2694	  to the list.
2695	(parse_envpath): don't test if the names are directories here.
2696	(initialize_path_list): don't find and cd to the current directory
2697	  between each subdirectory.
2698
2699Tue Jan 14 16:06:24 1992  Karl Berry  (karl at hayley)
2700
2701	* texmf.c: do not include <sys/types.h>; it's in config.h now.
2702	* types.h: likewise.
2703
2704Sun Jan 12 07:41:34 1992  Karl Berry  (karl at hayley)
2705
2706	* pathsearch.c (initialize_path_list): cd back to . after checking
2707	  each subdirectory.
2708
2709	* dirio.h: change directory header stuff as suggested in the
2710	  autoconf manual.
2711
2712	* ourpaths.h: make the path list an enumeration type.
2713
2714	* openinout.c (open_input): correctly compute namelength.
2715
2716	* texmfmem.h (memoryword) [TeX]: make declaration of `glueratio'
2717	  conditional.
2718
2719	* openinout.c: rearrange ifdefs for coherency.
2720
2721	* ourpaths.c (append_path_list): overwrite the null in the first
2722	  list.
2723
2724	* pathsearch.c (initialize_path_list): unconditionally call
2725	  parse_envpath.
2726	(parse_envpath): if the envvar name is null, don't call getenv.
2727	If both args are null, do nothing.
2728
2729	* ourpaths.c (setpaths): initialize the TFM path.
2730
2731	* common.h (FATAL*): new macros.
2732
2733	* pascal.h (real): define to be `double'.
2734
2735	* xfopen-pas.c: new file.
2736
2737	* eofeoln.c (test_eof): rename to `eof'.
2738	* pascal.h (eof): remove.
2739
2740	* pascal.h (reset, rewrite): `checked_fopen' => `xfopen_pas'.
2741
2742	* common.h (link): define as `link_var', to avoid conflicts
2743	  between the system call and the web var.
2744
2745	* common.defines (FILENAMESIZE): rename to `PATHMAX'.
2746
2747Tue Jan  7 11:26:02 1992  Karl Berry  (karl at hayley)
2748
2749	* getopt*: new versions.
2750
2751	* extra.c (getwd) [GETWD_MISSING]: conditionalize.
2752
2753	* extra.c (zinput3ints): new implementation, from jmr@nada.kth.se.
2754
2755	* texmf.c (swap_items) [!WEB2C_BIG_ENDIAN]: ifdef on this.
2756	* texmfmem.h (twohalves, fourquarters): incorporate changes from
2757	  raichle@azu.informatik.uni-stuttgart.de which he says make
2758	  format files finally work.
2759
2760	* common.h (SCHAR_TYPE): use `signed_char' if ANSI, `short' if
2761	  char is unsigned, otherwise `char'.
2762
2763