Changeset 24008 for main/trunk/greenstone2/runtime-src/src/colservr
- Timestamp:
- 2011-05-09T20:02:09+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/colservr/lucenesearch.cpp
r23776 r24008 170 170 // a location designed to be writable 171 171 172 text_t out_file = filename_cat(getenv("TEMP"),filename); 172 // Need to set the Apache server to pass the TEMP envvar (or TMP) with 173 // passenv. Little point using _tempnam() function that generates a 174 // filename and where you need to pass in the dir if *TMP* doesn't exist. 175 // http://msdn.microsoft.com/en-us/library/hs3e7355%28v=vs.80%29.aspx 176 // dir parameter: "The path used in the file name if there is no TMP 177 // environment variable, or if TMP is not a valid directory." Seems 178 // the inverse of what we want: to use TMP/TEMP if collectdir is invalid. 179 180 text_t out_file = filename_cat(getenv("TEMP"),filename); // TMP or TEMP 173 181 174 182 cmd += " -out \"" + out_file + "\"";
Note:
See TracChangeset
for help on using the changeset viewer.