2 * Wrap-around code to either compile in t1asm or call it externally
4 * Copyright (C) 2000 by Sergey Babkin
5 * Copyright (C) 2000 by The TTF2PT1 Project
7 * See COPYRIGHT for full license
27 /* first make a copy in case some of then is already stdin/stdout */
28 if(( id = dup(fileno(ifp)) )<0) {
29 perror("** Re-opening input file for t1asm");
32 if(( od = dup(fileno(ofp)) )<0) {
33 perror("** Re-opening output file for t1asm");
36 fclose(ifp); fclose(ofp);
39 perror("** Re-directing input file for t1asm");
44 perror("** Re-directing output file for t1asm");
50 error = execlp("t1asm", "t1asm", "-b", NULL);
52 error = execlp("t1asm", "t1asm", NULL);
54 perror("** Calling t1asm");