diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-11-19 10:43:57 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-11-19 10:43:57 +0000 |
commit | f982be45e81588a27383cd1a3eb12789b8498904 (patch) | |
tree | 07be283d015b2c39f95e655cb7328ff355bc47fa /lang/squeak-dev/files/patch-platforms__unix__npsqueak__npsqueak.c | |
parent | 856c5bf9f133ae5d553d972d5a940586d3f56048 (diff) |
Diffstat (limited to 'lang/squeak-dev/files/patch-platforms__unix__npsqueak__npsqueak.c')
-rw-r--r-- | lang/squeak-dev/files/patch-platforms__unix__npsqueak__npsqueak.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/squeak-dev/files/patch-platforms__unix__npsqueak__npsqueak.c b/lang/squeak-dev/files/patch-platforms__unix__npsqueak__npsqueak.c deleted file mode 100644 index 20eddcbb168b..000000000000 --- a/lang/squeak-dev/files/patch-platforms__unix__npsqueak__npsqueak.c +++ /dev/null @@ -1,20 +0,0 @@ ---- platforms/unix/npsqueak/npsqueak.c.orig Sun Mar 20 05:38:26 2005 -+++ platforms/unix/npsqueak/npsqueak.c Sat Oct 7 19:56:10 2006 -@@ -177,13 +177,16 @@ - findFileInPaths(char* result, char *filename, int dirn, char *dirv[PATH_MAX]){ - int i; - char path[PATH_MAX]; -+ char gzipedpath[PATH_MAX]; - - for(i= 0; i < dirn; i++){ - DPRINT("NP: search \"%s\" in \"%s\" \n",filename,dirv[i]); - - strcpy(path, dirv[i]); - strcat(path, filename); -- if (access(path, R_OK) == 0){ -+ strcpy(gzipedpath, path); -+ strcat(gzipedpath, ".gz"); -+ if (access(path, R_OK) == 0 || access(gzipedpath, R_OK) == 0){ - DPRINT("NP: \"%s\" in \"%s\" found\n",filename,dirv[i]); - return strcpy(result, path); - } |