]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
* choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather than
authorChristopher Faylor <me@cgf.cx>
Sat, 16 Jun 2001 18:47:44 +0000 (18:47 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 16 Jun 2001 18:47:44 +0000 (18:47 +0000)
zeroed "source" element.

ChangeLog
choose.cc

index 27d5fa1f08f1bc268580beab1638383417ff8646..c97c5ceaf0c52acc0d0ab788871c312e2a90c5a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+at Jun 16 11:33:51  2001  Michael A Chase <mchase@ix.netcom.com>
+
+       * choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather
+       than zeroed "source" element.
+
 Fri Jun 15 20:54:43 2001  Christopher Faylor <cgf@cygnus.com>
 
        * choose.cc (scan2): Insert unknown tar archives, found on disk, into
index d24355c50a8507f74ad96b3e88c4f0fc70ae12a8..387ffc6e6bd6913266eb4cc3c65bb8ff8179068b 100644 (file)
--- a/choose.cc
+++ b/choose.cc
@@ -850,9 +850,9 @@ _Info::_Info (const char *_install, const char *_version, int _install_size,
   install = strdup (_install);
   version = strdup (_version);
   install_size = _install_size;
-  if (source)
+  if (_source)
     {
-      source = strdup (source);
+      source = strdup (_source);
       source_size = _source_size;
     }
 }
This page took 0.034536 seconds and 5 git commands to generate.