]>
Commit | Line | Data |
---|---|---|
0c0bac19 JB |
1 | --- Glide_VG-2.46/swlibs/fxmisc/fximg.c.orig 1999-11-29 20:48:02.000000000 +0100 |
2 | +++ Glide_VG-2.46/swlibs/fxmisc/fximg.c 2013-09-21 13:04:59.228788362 +0200 | |
3 | @@ -1879,8 +1879,8 @@ | |
4 | char buf[1024], *p; | |
5 | strcpy(buf,prefix); // copy and replace semicolon | |
6 | if (p = strchr(buf,';')) *p = '\0'; | |
7 | - fprintf(stderr,buf); | |
8 | - fprintf(stderr,"/"); | |
9 | + fputs(buf,stderr); | |
10 | + fputs("/",stderr); | |
11 | } | |
12 | fprintf (stderr,"%s (%dx%d) ...", filename, info->any.width,info->any.height); | |
13 | fflush(stderr); | |
14 | --- Glide_VG-2.46/swlibs/fxpci/pcilib/fxpci.c.orig 2013-09-21 13:02:16.251214671 +0200 | |
15 | +++ Glide_VG-2.46/swlibs/fxpci/pcilib/fxpci.c 2013-09-21 13:06:03.351768212 +0200 | |
16 | @@ -2631,7 +2631,7 @@ | |
17 | OutputDebugString(msg); | |
18 | #elif defined(MAPPL_MAPMEM_MINIPORT) | |
19 | #elif defined(MAPPL_LINUX) | |
20 | - fprintf(stderr, msg); | |
21 | + fputs(msg, stderr); | |
22 | #else | |
23 | #error "Unknown PCI target for pciOutputDebugString" | |
24 | #endif | |
25 | --- Glide_VG-2.46/swlibs/fxpci/pcilib/fxlinux.c.orig 2013-09-21 13:06:52.450716558 +0200 | |
26 | +++ Glide_VG-2.46/swlibs/fxpci/pcilib/fxlinux.c 2013-09-21 13:10:57.885455498 +0200 | |
27 | @@ -64,7 +64,7 @@ | |
28 | } | |
29 | ||
30 | FxBool pciOutputDebugStringDD(const char *msg) { | |
31 | - printf(msg); | |
32 | + fputs(msg,stdout); | |
33 | return FXTRUE; | |
34 | } | |
35 | ||
36 | --- Glide_VG-2.46/swlibs/fxpci/pcitools/pcirw.c.orig 1999-11-29 20:48:02.000000000 +0100 | |
37 | +++ Glide_VG-2.46/swlibs/fxpci/pcitools/pcirw.c 2013-09-21 13:41:51.784954404 +0200 | |
38 | @@ -76,7 +76,7 @@ | |
39 | FxU32 classCode = 0; | |
40 | ||
41 | if (!pciOpen()) { | |
42 | - fprintf(stderr, pciGetErrorString()); | |
43 | + fputs(pciGetErrorString(), stderr); | |
44 | exit(100); | |
45 | } | |
46 | for ( deviceNumber = 0; deviceNumber < MAX_PCI_DEVICES; deviceNumber++ ) { | |
47 | @@ -329,7 +329,7 @@ | |
48 | // cleanup: unmap the card, close down the PCI bus and return | |
49 | pciUnmapPhysical( (unsigned long)sst, sizeOfCard ); | |
50 | if ( !pciClose() ) { | |
51 | - fprintf(stderr, pciGetErrorString()); | |
52 | + fputs(pciGetErrorString(), stderr); | |
53 | exit(3); | |
54 | } | |
55 | return 0; | |
56 | --- Glide_VG-2.46/sst1/glide/tests/tlib.c.orig 1999-11-29 20:48:23.000000000 +0100 | |
57 | +++ Glide_VG-2.46/sst1/glide/tests/tlib.c 2013-09-21 13:42:46.624171915 +0200 | |
58 | @@ -1433,7 +1433,7 @@ | |
59 | ||
60 | FxBool | |
61 | tlErrorMessage( char *err) { | |
62 | - fprintf(stderr, err); | |
63 | + fputs(err, stderr); | |
64 | } /* tlErrorMessage */ | |
65 | ||
66 | #else | |
67 | @@ -1472,7 +1472,7 @@ | |
68 | ||
69 | FxBool | |
70 | tlErrorMessage( char *err) { | |
71 | - fprintf(stderr, err); | |
72 | + fputs(err, stderr); | |
73 | } /* tlErrorMessage */ | |
74 | ||
75 | #else /* __WIN32__ */ |