diff options
Diffstat (limited to 'Build/source/texk/kpathsea')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/tex-make.c | 2 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/mktexfmt.c | 2 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/mktexpk.c | 14 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/mktextfm.c | 2 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32lib.c | 2 |
7 files changed, 21 insertions, 11 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index baf8f109a1b..28aa77a14d1 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2014-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + * tex-make.c, win32lib.c: Replace the deprecated spawnvp() by + _spawnvp(), they differ for 64-bit MinGW. + 2014-07-13 Peter Breitenlohner <peb@mppmu.mpg.de> * debug.c, hash.c, knj.c, tex-make.c: [WIN64] Avoid cast from diff --git a/Build/source/texk/kpathsea/tex-make.c b/Build/source/texk/kpathsea/tex-make.c index 8c3e46816d0..6671b5474ba 100644 --- a/Build/source/texk/kpathsea/tex-make.c +++ b/Build/source/texk/kpathsea/tex-make.c @@ -231,7 +231,7 @@ maketex (kpathsea kpse, kpse_file_format_type format, string* args) } } fprintf(stderr, "\nThe command name is %s\n", fullbin); - hchild = (HANDLE)spawnvp(_P_NOWAIT, fullbin, (const char * const *) args); + hchild = (HANDLE)_spawnvp(_P_NOWAIT, fullbin, (const char * const *) args); _dup2(hstdout, fileno(stdout)); close(hstdout); diff --git a/Build/source/texk/kpathsea/win32/ChangeLog b/Build/source/texk/kpathsea/win32/ChangeLog index b45c36e3e23..1fd84adbd50 100644 --- a/Build/source/texk/kpathsea/win32/ChangeLog +++ b/Build/source/texk/kpathsea/win32/ChangeLog @@ -1,3 +1,8 @@ +2014-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + * mktexfmt.c, mktexpk.c, mktextfm.c: Replace the deprecated + spawnvp() by _spawnvp(), they differ for 64-bit MinGW. + 2012-12-08 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * getdestdir.c: Correct return value of getdestdir(). diff --git a/Build/source/texk/kpathsea/win32/mktexfmt.c b/Build/source/texk/kpathsea/win32/mktexfmt.c index 826bedecba3..e6b3e6ff32c 100644 --- a/Build/source/texk/kpathsea/win32/mktexfmt.c +++ b/Build/source/texk/kpathsea/win32/mktexfmt.c @@ -73,7 +73,7 @@ int main(int ac, char **av) strcpy(fullbin, texbindir); strcat(fullbin, "fmtutil.exe"); fprintf(stderr, "Running the command %s\n", fullbin); - spawnlp(_P_WAIT, fullbin, "fmtutil", "--byfmt", av[1], NULL); + _spawnlp(_P_WAIT, fullbin, "fmtutil", "--byfmt", av[1], NULL); /* END COMMAND */ diff --git a/Build/source/texk/kpathsea/win32/mktexpk.c b/Build/source/texk/kpathsea/win32/mktexpk.c index 97035a5397d..2d562528495 100644 --- a/Build/source/texk/kpathsea/win32/mktexpk.c +++ b/Build/source/texk/kpathsea/win32/mktexpk.c @@ -774,7 +774,7 @@ main (int ac, char **av) fprintf (stderr, "%s %s\n", execfile, cmd); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, cmd, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, cmd, NULL); sprintf (cmd, "%s.%sgf", name, dpi); @@ -796,7 +796,7 @@ main (int ac, char **av) fprintf (stderr, "%s %s %s\n", execfile, cmd, pkname); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, cmd, pkname, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, cmd, pkname, NULL); if (_access (pkname, 0) != 0) { tpkerr ("Failed to make pk from gf."); @@ -1115,7 +1115,7 @@ skip flag fprintf (stderr, "%s %s\n", execfile, cmd); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, cmd, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, cmd, NULL); if (_access (pkname, 0) != 0) { tpkerr ("ps2pk failed to make pk font."); @@ -1138,7 +1138,7 @@ skip flag fprintf (stderr, "%s %s %s\n", execfile, name, dpi); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, name, dpi, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, name, dpi, NULL); if (_access (pkname, 0) != 0) { tpkerr ("gsftopk cannot be used."); @@ -1148,7 +1148,7 @@ skip flag fprintf (stderr, "%s -q %s %s\n", execfile, name, dpi); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, "-q", name, dpi, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, "-q", name, dpi, NULL); if (_access (pkname, 0) != 0) { tpkerr ("ttf2pk failed."); @@ -1158,7 +1158,7 @@ skip flag fprintf (stderr, "%s -q -p %s %s\n", execfile, name, dpi); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, "-q -p", name, dpi, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, "-q -p", name, dpi, NULL); sprintf (cmd, "%s.%sgf", name, dpi); if (_access (cmd, 0) != 0) { @@ -1172,7 +1172,7 @@ skip flag fprintf (stderr, "%s %s %s\n", execfile, cmd, pkname); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, cmd, pkname, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, cmd, pkname, NULL); if (_access (pkname, 0) != 0) { tpkerr ("All trials failed."); diff --git a/Build/source/texk/kpathsea/win32/mktextfm.c b/Build/source/texk/kpathsea/win32/mktextfm.c index ee69d22c606..7277d10af70 100644 --- a/Build/source/texk/kpathsea/win32/mktextfm.c +++ b/Build/source/texk/kpathsea/win32/mktextfm.c @@ -283,7 +283,7 @@ issetdest = 2 : current directory fprintf (stderr, "%s %s\n", execfile, cmd); strcpy(fullbin, texbindir); strcat(fullbin, execfile); - (void) spawnlp (_P_WAIT, fullbin, execfile, cmd, NULL); + (void) _spawnlp (_P_WAIT, fullbin, execfile, cmd, NULL); /* return to original stdout and stdin */ _dup2 (savo, fileno (stdout)); diff --git a/Build/source/texk/kpathsea/win32lib.c b/Build/source/texk/kpathsea/win32lib.c index 32d3381a492..35a0267887e 100644 --- a/Build/source/texk/kpathsea/win32lib.c +++ b/Build/source/texk/kpathsea/win32lib.c @@ -411,7 +411,7 @@ int win32_system(const char *cmd) *q++ = '"'; *q = '\0'; av[3] = NULL; - ret = spawnvp(_P_WAIT, av[0], av); + ret = _spawnvp(_P_WAIT, av[0], av); free(av[0]); free(av[1]); free(av[2]); |