2016-04-06 Akira Kakuto * All *.c, *.h files: Copyright year 2016. 2015-06-20 Peter Breitenlohner * dirutil.h, getdestdir.h, mktexupd.h (removed): Merged ... * mktex.h (new): ... into this and define normalize(). * mkpaths.c (new): Define mkpaths() to handle TEXMFDBS. * getdestdir.c, mktexpk.c, mktexupdmain.c: Use normalize(). * mktexlsr.c: Use normalize() and mkpaths(). * mktexupd.c: Use mkpaths(). 2015-06-18 Peter Breitenlohner * Makefile.am (AM_CPPFLAGS): WEB2C_KPSE_VERSION => WEB2CVERSION. * dirutil.[ch], getdestdir.h, mktexupd.h: Add W32TeX Copyright. * getdestdir.c, mktexfmt.c, mktexlsr.c, mktexmf.c, mktexupd.c, mktexupdmain.c: Sync with W32TeX. * mktexpk.c, mktextfm.c: Sync with W32TeX. Use KPSEVERSION and WEB2CVERSION instead of WEB2C_KPSE_VERSION. 2015-04-12 Peter Breitenlohner * Makefile.am (bin_PROGRAMS): Drop fmtutil, now a perl script. * fmtutil.c: Removed. 2014-07-15 Peter Breitenlohner * mktexfmt.c, mktexpk.c, mktextfm.c: Replace the deprecated spawnvp() by _spawnvp(), they differ for 64-bit MinGW. 2012-12-08 Akira Kakuto * getdestdir.c: Correct return value of getdestdir(). 2012-10-04 Peter Breitenlohner * dirutil.c: Use stat in int is_dir (). * Makefile.am: Avoid use of deprecated INCLUDES. 2012-08-08 Peter Breitenlohner * Makefile.am: Install texhash.exe as copy of mktexlsr.exe. 2012-08-03 Peter Breitenlohner * mktexfmt.c, mktexpk.c, mktextfm.c: Replace P_WAIT by _P_WAIT. 2012-04-09 Peter Breitenlohner * Makefile.am (AM_CPPFLAGS): Define WEB2C_KPSE_VERSION. * mktexpk.c, mktextfm.c: Drop WINWEB2CVERSION, WINKPSEVERSION, use WEB2C_KPSE_VERSION with versions from configure. 2011-08-29 Peter Breitenlohner * fmtutil.c: Add parens around assignment used as truth value. 2011-08-11 Peter Breitenlohner * fmtutil.c: Return zero or one (Errorcnt could be 256). 2011-08-10 Akira Kakuto * fmtutil.c: return a nonzero value if it fails to make a format. 2011-08-10 Peter Breitenlohner * getdestdir.c, mktexmf.c, mktexpk.c, mktextfm.c, mktexupd.c, mktexupdmain.c: No need to #include any standard headers, they all come through . * getdestdir.c, mktexpk.c, mktextfm.c: Use IS_KANJI(). * dirutil.[ch]: New files extracted ... * getdestdir.[ch]: ... from here. * fmtutil.c, mktexfmt.c, mktexlsr.c: More new files from W32TeX. Drop use of getlongname() for 8+3 names. Constify strings. No need to #include any standard headers. Declare functions as static. Drop unused variables. Add parentheses around assignment used as truth value. * fmtutil.c: Declare the array index Exenum as unsigned char. (is_dir, make_dir, make_dir_p): Removed, use dirutil.c. * mktexlsr.c: For MinGW #include "dirutil.h" and use is_dir(), for native WIN32 #include and use d_isdir. (search): No need to slashify name. Remove return at end. 2011-08-09 Peter Breitenlohner * getdestdir.c, mktexmf.c, mktexpk.c, mktextfm.c, mktexupd.c, mktexupdmain.c: New files from Akira's W32TeX. * getdestdir.c (getdestdir): Replace kstrrchr() by strrchr(). * mktexmf.c (main), mktexpk.c (main), mktextfm.c (main), mktexupdmain.c (main): Drop use of getlongname() for 8+3 names. * mktexpk.c (main): Replace win32_popen() and win32_pclose() by popen() and pclose(). * getdestdir.h, mktexupd.h: New headers with function prototypes. * *.c: Drop extern declarations and #include these headers. Declare functions as static. Drop unused variables. Add parentheses around assignment used as truth value. Add 'return 0' at end of non-void function. Constify strings. * getdestdir.c (getdestdir): Initialize `Num' to avoid warning.