]>
Commit | Line | Data |
---|---|---|
434f135f | 1 | --- acm-5.0/V/lib/Vlib.h.tim Wed Jul 7 14:53:45 1999 |
2 | +++ acm-5.0/V/lib/Vlib.h Wed Jul 7 14:54:08 1999 | |
3 | @@ -316,9 +316,6 @@ | |
4 | extern Status AlibAllocColor(Viewport *v, Colormap colormap, XColor *c); | |
5 | ||
6 | ||
7 | -#ifndef SYSV | |
8 | - extern char *strdup(const char *); | |
9 | -#endif | |
10 | ||
11 | #if (defined(_AIX) && defined(_IBMR2)) && !(defined(__GNUC__) \ | |
12 | && (__GNUC__ == 2 )) | |
13 | --- acm-5.0/V/lib/InitAWin.c.tim Wed Jul 7 14:53:52 1999 | |
14 | +++ acm-5.0/V/lib/InitAWin.c Wed Jul 7 14:54:01 1999 | |
15 | @@ -6,7 +6,7 @@ | |
16 | ||
17 | #include <X11/Xlib.h> | |
18 | ||
19 | -extern char *malloc(size_t); | |
20 | +/*extern char *malloc(size_t);*/ | |
21 | ||
22 | #ifdef HAS_FRAME_BUFFER | |
23 | void | |
24 | --- acm-5.0/src/init.c.tim Wed Jul 7 14:53:28 1999 | |
25 | +++ acm-5.0/src/init.c Wed Jul 7 14:54:18 1999 | |
26 | @@ -70,14 +70,14 @@ | |
27 | char libname[256]; | |
28 | ||
29 | if ((f = fopen(name, access)) == (FILE *) NULL) { | |
30 | - strcpy(libname, "../objects/"); | |
31 | + strcpy(libname, "/usr/lib/games/acm/"); | |
32 | strcat(libname, name); | |
33 | if ((f = fopen(libname, access)) == (FILE *) NULL) { | |
34 | strcpy(libname, _acm_fopen_library_dir); | |
35 | strcat(libname, name); | |
36 | if ((f = fopen(libname, access)) == (FILE *) NULL) { | |
37 | strcpy (libname, SRCDIR); | |
38 | - strcat (libname, "/../objects/"); | |
39 | + strcat (libname, "/usr/lib/games/acm/"); | |
40 | strcat (libname, name); | |
41 | if ((f = fopen(libname, access)) == (FILE *) NULL) { | |
42 | fprintf(stderr, errmsg, name, _acm_fopen_library_dir, libname); | |
43 | @@ -102,7 +102,7 @@ | |
44 | ||
45 | strcpy(pname, name); | |
46 | if (stat(name, &statbuf) != 0) { | |
47 | - strcpy(pname, "../objects/"); | |
48 | + strcpy(pname, "/usr/lib/games/acm/"); | |
49 | strcat(pname, name); | |
50 | if (stat(pname, &statbuf) != 0) { | |
51 | strcpy(pname, _acm_fopen_library_dir); |