summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-15 19:04:09 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-15 19:04:09 +0000
commit749921436d046adff4a189c962438efb5dcbd0c2 (patch)
tree44c5518d25df83a156a3159e8eb9babddd51f44c /mdk-stage1
parent7f79b8f61ceb8a4415a5a06117cdd34860201ed6 (diff)
downloaddrakx-backup-do-not-use-749921436d046adff4a189c962438efb5dcbd0c2.tar
drakx-backup-do-not-use-749921436d046adff4a189c962438efb5dcbd0c2.tar.gz
drakx-backup-do-not-use-749921436d046adff4a189c962438efb5dcbd0c2.tar.bz2
drakx-backup-do-not-use-749921436d046adff4a189c962438efb5dcbd0c2.tar.xz
drakx-backup-do-not-use-749921436d046adff4a189c962438efb5dcbd0c2.zip
enlarge directory list
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c
index 9c467cc2c..3f0c4ed0a 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -33,9 +33,9 @@
char * extract_list_directory(char * direct)
{
char ** full = list_directory(direct);
- char tmp[2000] = "";
+ char tmp[20000] = "";
int i;
- for (i=0; i<5 ; i++) {
+ for (i=0; i<50 ; i++) {
if (!full || !*full)
break;
strcat(tmp, *full);