1 |
2005-09-05 Derek Price <derek@ximbiot.com> |
2005-09-05 Derek Price <derek@ximbiot.com> |
2 |
|
|
3 |
|
* cvs.h (Tmpdir): Remove global decl. |
4 |
|
(get_cvs_tmp_dir, push_env_tmp_dir): New protos. |
5 |
|
* filesubr.c (cvs_temp_file): Use get_cvs_tmp_dir. |
6 |
|
* main.c (Tmpdir): Remove global. |
7 |
|
(tmpdir_cmdline, tmpdir_env): New globals. |
8 |
|
(get_cvs_tmp_dir, push_env_tmp_dir): New functions. |
9 |
|
(main): Discard most tmpdir overhead in favor of new globals and |
10 |
|
functions. |
11 |
|
* parseinfo.c (parse_config): Parse TmpDir. |
12 |
|
* sanity.sh (config4): New tests. |
13 |
|
* server.c (serve_root): Set env TMPDIR after parsing config. Create |
14 |
|
tmpdir here instead of... |
15 |
|
(serve_co, server): ...either of thse locations. |
16 |
|
(server_cleanup): Use new function in favor of obsolete Tmpdir. |
17 |
|
|
18 |
* sanity.sh (config2): Don't overwrite potentially significant config. |
* sanity.sh (config2): Don't overwrite potentially significant config. |
19 |
|
|
20 |
* sanity.sh (info): Use $tempfile instead of reproducing the regex. |
* sanity.sh (info): Use $tempfile instead of reproducing the regex. |