summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/win32/mktexpk.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-07-15 07:24:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-07-15 07:24:28 +0000
commit376082647d10be8cb6f417b0554c2ebf38cfb2fe (patch)
tree791c0e334deda9bef8015378174c11676fc04c56 /Build/source/texk/kpathsea/win32/mktexpk.c
parent7813f69d31d5f32bc397d7586de6a41f67631f5f (diff)
Replace the deprecated spawnvp() by _spawnvp(), they differ for 64-bit MinGW
git-svn-id: svn://tug.org/texlive/trunk@34617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/win32/mktexpk.c')
-rw-r--r--Build/source/texk/kpathsea/win32/mktexpk.c14
1 files changed, 7 insertions, 7 deletions
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.");