]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
* setup.c (processdirlisting): Fix handling of "A" for "A"lways download.
authorChristopher Faylor <me@cgf.cx>
Thu, 13 Apr 2000 06:00:57 +0000 (06:00 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 13 Apr 2000 06:00:57 +0000 (06:00 +0000)
ChangeLog
setup.c

index 0b48104ca61c3de9130ead2b085793c23b238701..b57a3e52ea22b755b82396848bf386a2cf3c8232 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 13 01:59:44 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * setup.c (processdirlisting): Fix handling of "A" for "A"lways
+       download.
+
 Thu Apr 13 01:11:45 2000  Christopher Faylor <cgf@cygnus.com>
 
        * path.c (kill_cygpath): New cleanup function.
diff --git a/setup.c b/setup.c
index 14b1669aaf2131ca98a631361dcee0f641aa7ba1..b7b21de3950e988f0672543b4b402dd3b545df43 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -619,7 +619,7 @@ processdirlisting (HINTERNET session, const char *urlbase, const char *file)
                  char *answer;
 
                  sprintf (text, "Replace %s from the net (ynAN)", filename);
-                 answer = prompt (text, "yes");
+                 answer = prompt (text, "y");
 
                  if (answer)
                    {
@@ -628,10 +628,11 @@ processdirlisting (HINTERNET session, const char *urlbase, const char *file)
                        case 'a':
                        case 'A':
                          download_when = ALWAYS;
-                         /* purposely fall through */;
+                         /* purposely fall through */
                        case 'y':
                        case 'Y':
                          download = 1;
+                         break;
                        case 'N':
                          download_when = NEVER;
                        case 'n':
This page took 0.03832 seconds and 5 git commands to generate.