diff options
author | John Wiegley <johnw@newartisans.com> | 2004-09-27 18:29:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-09-27 18:29:11 -0400 |
commit | ccf55719102d3a0c2933aceb3c370b8d06d1456a (patch) | |
tree | 46cf7613ac5631f59a7565d8d12636800a2a66c1 | |
parent | ba2c04072c2f6b1fc50dc8ff3a41098ea6e634e6 (diff) | |
download | fork-ledger-ccf55719102d3a0c2933aceb3c370b8d06d1456a.tar.gz fork-ledger-ccf55719102d3a0c2933aceb3c370b8d06d1456a.tar.bz2 fork-ledger-ccf55719102d3a0c2933aceb3c370b8d06d1456a.zip |
fixed a serious problem that prevented environment settings from being read
-rwxr-xr-x | acprep | 2 | ||||
-rw-r--r-- | option.cc | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ elif [ "$1" = "--flat-opt" ]; then elif [ "$1" = "--safe-opt" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -DDEBUG_LEVEL=1" \ - --disable-shared + --enable-python --disable-shared elif [ "$1" = "--perf" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" fi @@ -155,9 +155,9 @@ void process_environment(std::list<option_t>& options, *q && *q != '=' && r - buf < 128; q++) if (*q == '_') - *r++ += '-'; + *r++ = '-'; else - *r++ += std::tolower(*q); + *r++ = std::tolower(*q); *r = '\0'; if (*q == '=') |