diff options
Diffstat (limited to 'dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch')
-rw-r--r-- | dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch b/dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch deleted file mode 100644 index e6ba66cd794c..000000000000 --- a/dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch +++ /dev/null @@ -1,22 +0,0 @@ -*** bcpp-20050725/code/bcpp.cpp.orig 2008-07-12 10:07:55.000000000 -0700 ---- bcpp-20050725/code/bcpp.cpp 2008-07-12 10:07:57.000000000 -0700 -*************** -*** 3100,3110 **** ---- 3100,3116 ---- - const char* pathSepChar; - char backUp; - int count = 0; -+ char buf[40]; - - // test to see if file is in current directory first ! - if ((pCfgFile = fopen(pCfgName, "r")) != NULL) - return; - -+ // try /etc/bcpp -+ snprintf(buf, 40, "/etc/bcpp/%s", pCfgName); -+ if ((pCfgFile = fopen(buf, "r")) != NULL) -+ return; -+ - // environment variable not found, lord knows what it is ! - if (pSPath == NULL) - return; |