diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-08 18:45:10 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-08 18:45:10 +0000 |
commit | 8cf0ededa8d71baddb17753a680cd73ef01e5978 (patch) | |
tree | 25bff103a5a0864a2ec1cdb55404256c1230b1e7 /devel/bcpp/files | |
parent | 038d64df6d2f213a95eeecaeee7325e6ee243c9f (diff) | |
download | ports-8cf0ededa8d71baddb17753a680cd73ef01e5978.tar.gz ports-8cf0ededa8d71baddb17753a680cd73ef01e5978.zip |
Notes
Diffstat (limited to 'devel/bcpp/files')
-rw-r--r-- | devel/bcpp/files/patch-bcpp.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/bcpp/files/patch-bcpp.cpp b/devel/bcpp/files/patch-bcpp.cpp index dd7ea979df9d..f8f9708bea60 100644 --- a/devel/bcpp/files/patch-bcpp.cpp +++ b/devel/bcpp/files/patch-bcpp.cpp @@ -1,6 +1,6 @@ ---- bcpp.cpp.orig Tue Aug 10 20:54:52 1999 -+++ bcpp.cpp Tue Dec 18 20:22:18 2001 -@@ -1431,6 +1431,7 @@ +--- bcpp.cpp.orig Sat May 18 13:53:27 2002 ++++ bcpp.cpp Fri Jun 7 14:39:33 2002 +@@ -1455,6 +1455,7 @@ } @@ -8,7 +8,7 @@ // purge an Indent-stack static void freeIndentStack(StackList* pImode) { -@@ -1451,6 +1452,7 @@ +@@ -1475,6 +1476,7 @@ dst -> push(temp); } } @@ -16,19 +16,19 @@ // no extra indent immediately after any brace void resetSingleIndent(StackList* pIMode) -@@ -2721,6 +2723,7 @@ +@@ -2755,6 +2757,7 @@ char* pSPath = getenv ("PATH"); char* pEPath = NULL; char* pNameMem = NULL; -+ char* tmpCfgName = new char[strlen("%%PREFIX%%/etc")+strlen(pCfgName)+1]; ++ char* tmpCfgName = new char[strlen("%%PREFIX%%/etc") + strlen(pCfgName)+1]; char sepChar = NULLC; const char* pathSepChar; char backUp; -@@ -2729,6 +2732,13 @@ +@@ -2763,6 +2766,13 @@ // test to see if file is in current directory first ! if ((pCfgFile = fopen(pCfgName, "r")) != NULL) return; -+ ++ + // look to see if it's in %%PREFIX%%/etc + tmpCfgName = strcat( tmpCfgName, "%%PREFIX%%/etc/" ); + tmpCfgName = strcat( tmpCfgName, pCfgName ); |