@@ -18,13 +18,6 @@ Deliberate Syntax Error
18
18
Deliberate Syntax Error
19
19
#endif /* VM || MVS */
20
20
21
- #if MACINTOSH
22
- char * FileNameMacToUnix (char * fn );
23
- char * FileNameUnixToMac (char * fn );
24
- char * FileNameMacConvert (char * (* func )(char * ),char * fn );
25
- #define IsRelPath (fname ) (fname[0] != '/')
26
- #endif /* MACINTOSH */
27
-
28
21
#if MSDOS
29
22
#if MICROSOFT
30
23
/* nothing is needed */
@@ -80,10 +73,6 @@ Deliberate Syntax Error
80
73
Deliberate Syntax Error
81
74
#endif /* VM || MVS */
82
75
83
- #if MACINTOSH
84
- fname = FileNameMacConvert (FileNameMacToUnix ,fname );
85
- #endif /* MACINTOSH */
86
-
87
76
#if MSDOS
88
77
char * s ;
89
78
@@ -170,25 +159,11 @@ int system;
170
159
if (* s == '/' )
171
160
end_prfx = s ;
172
161
if (end_prfx != NULL )
173
- #if MACINTOSH
174
- /*
175
- * For Mac-style names, don't include the file
176
- * separator character in the prefix.
177
- */
178
- for (s = cs -> fname ; s < end_prfx ; ++ s )
179
- #else /* MACINTOSH */
180
- for (s = cs -> fname ; s <= end_prfx ; ++ s )
181
- #endif /* MACINTOSH */
182
- AppChar (* sbuf , * s );
162
+ for (s = cs -> fname ; s <= end_prfx ; ++ s )
163
+ AppChar (* sbuf , * s );
183
164
for (s = fname ; * s != '\0' ; ++ s )
184
165
AppChar (* sbuf , * s );
185
166
path = str_install (sbuf );
186
- #if MACINTOSH
187
- /*
188
- * Convert UNIX-style path to Mac-style.
189
- */
190
- path = FileNameMacConvert (FileNameUnixToMac ,path );
191
- #endif /* MACINTOSH */
192
167
f = fopen (path , "r" );
193
168
}
194
169
}
@@ -207,12 +182,6 @@ int system;
207
182
for (s = fname ; * s != '\0' ; ++ s )
208
183
AppChar (* sbuf , * s );
209
184
path = str_install (sbuf );
210
- #if MACINTOSH
211
- /*
212
- * Convert UNIX-style path to Mac-style.
213
- */
214
- path = FileNameMacConvert (FileNameUnixToMac ,path );
215
- #endif /* MACINTOSH */
216
185
f = fopen (path , "r" );
217
186
++ prefix ;
218
187
}
@@ -300,10 +269,10 @@ Deliberate Syntax Error
300
269
}
301
270
#endif /* VMS */
302
271
303
- #if VM || MVS || MACINTOSH
272
+ #if VM || MVS
304
273
/* probably needs something */
305
274
Deliberate Syntax Error
306
- #endif /* VM || MVS || ... */
275
+ #endif /* VM || MVS */
307
276
308
277
#if MSDOS
309
278
@@ -458,9 +427,9 @@ Deliberate Syntax Error
458
427
459
428
#endif /* MSDOS */
460
429
461
- #if UNIX || VMS || MACINTOSH
430
+ #if UNIX || VMS
462
431
/* nothing is needed */
463
- #endif /* UNIX || VMS || MACINTOSH */
432
+ #endif /* UNIX || VMS */
464
433
465
434
/*
466
435
* End of operating-system specific code.
@@ -492,10 +461,6 @@ Deliberate Syntax Error
492
461
Deliberate Syntax Error
493
462
#endif /* VM || MVS */
494
463
495
- #if MACINTOSH
496
- s1 = FileNameMacConvert (FileNameMacToUnix ,s );
497
- #endif /* MACINTOSH */
498
-
499
464
#if MSDOS
500
465
/*
501
466
* Convert back slashes to slashes for internal consistency.
@@ -589,9 +554,9 @@ Deliberate Syntax Error
589
554
590
555
#endif /* MSDOS */
591
556
592
- #if UNIX || MACINTOSH
557
+ #if UNIX
593
558
incl_search [n_paths - 1 ] = sysdir ;
594
- #endif /* UNIX || MACINTOSH */
559
+ #endif /* UNIX */
595
560
596
561
/*
597
562
* End of operating-system specific code.
0 commit comments