diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-21 18:51:48 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-21 18:51:48 +0000 |
commit | cba7edc34ec9f4a2faca36736ce3157c44ebc3b3 (patch) | |
tree | de7f3442ac3a93b77511389ef341420bcce43962 /local.c | |
parent | [w3m-dev 02479] #ifdef cleanups (diff) | |
download | w3m-cba7edc34ec9f4a2faca36736ce3157c44ebc3b3.tar.gz w3m-cba7edc34ec9f4a2faca36736ce3157c44ebc3b3.zip |
[w3m-dev 02480] new configure
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | local.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: local.c,v 1.7 2001/11/21 16:29:46 ukai Exp $ */ +/* $Id: local.c,v 1.8 2001/11/21 18:51:48 ukai Exp $ */ #include "fm.h" #include <string.h> #include <stdio.h> @@ -431,7 +431,7 @@ localcgi_post(char *uri, char *qstr, FormList * request, char *referer) } fclose(f1); freopen( tmp1->ptr, "r", stdin); -#ifndef __EMX__ /* ifndef HAVE_CHDIR? */ +#ifdef HAVE_CHDIR /* ifndef __EMX__ ? */ chdir(mydirname(file)); #endif execl(file, mybasename(file), NULL); @@ -467,7 +467,7 @@ localcgi_get(char *uri, char *request, char *referer) set_environ("REQUEST_METHOD", "GET"); set_environ("QUERY_STRING", request); freopen(DEV_NULL_PATH, "r", stdin); -#ifndef __EMX__ /* #ifdef HAVE_CHDIR? */ +#ifdef HAVE_CHDIR /* ifndef __EMX__? */ chdir(mydirname(file)); #endif execl(file, mybasename(file), NULL); |