diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-03-21 16:00:00 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-03-21 16:00:00 -0500 |
commit | 43797ce7b89f70182191e7b41521772c7efa2d25 (patch) | |
tree | 24880fdd0a1fc4a7778ec322a0af12e878a9a4fb /src | |
parent | d8e8363bb47d88e434c2128c4c1ffbf501a67898 (diff) | |
download | lynx-snapshots-43797ce7b89f70182191e7b41521772c7efa2d25.tar.gz |
snapshot of project "lynx", label v2-8-1dev_3
Diffstat (limited to 'src')
-rw-r--r-- | src/LYMain.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/LYMain.c b/src/LYMain.c index 03591d21..65fea071 100644 --- a/src/LYMain.c +++ b/src/LYMain.c @@ -689,8 +689,13 @@ else {init_ctrl_break[0] = 1;} else if ((cp = getenv("TMP")) != NULL) StrAllocCopy(lynx_temp_space, cp); else -#endif + { + printf("You MUST define a valid TMP or TEMP area!\n"); + exit(-1); + } +#else StrAllocCopy(lynx_temp_space, TEMP_SPACE); +#endif if ((cp = strchr(lynx_temp_space, '~'))) { *(cp++) = '\0'; StrAllocCopy(temp, lynx_temp_space); |