diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-06 16:54:36 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-06 16:54:36 +0000 |
commit | ab79ffa49720328bdf9e44b842e7b015e7835cfd (patch) | |
tree | 2b6eaced12858569d794621dbb8255f555a72cd9 /mdk-stage1/tools.c | |
parent | ed27fb7a0964b12e0bf96bc7fa8b4ba6a50a18d6 (diff) | |
download | drakx-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar drakx-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar.gz drakx-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar.bz2 drakx-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar.xz drakx-ab79ffa49720328bdf9e44b842e7b015e7835cfd.zip |
- slighty change the message when exiting successfully from install, to not mess with abnormal termination
- get back dialog for hostname and domain in case of unable to guess domain
- try to resolve DNS if self-ip can't resolve, to guess domain
- remember entries so that when there is a problem you don't have to re-enter everything (ncurses sucking stuff in case of stdio-frontend..)
- use larger buffer for list_directory since in /dev there can be *many* files
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r-- | mdk-stage1/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index db4b847e9..84c53a2d6 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -347,7 +347,7 @@ void add_to_env(char * name, char * value) char ** list_directory(char * direct) { - char * tmp[500]; + char * tmp[50000]; /* in /dev there can be many many files.. */ int i = 0; struct dirent *ep; DIR *dp = opendir(direct); |