Parcourir la source

* lib/tarfn.c: add braces around if to fix compiler warning

Ben Collins il y a 27 ans
Parent
commit
01d65a7e20
4 fichiers modifiés avec 12 ajouts et 5 suppressions
  1. 4 0
      ChangeLog
  2. 5 4
      TODO
  3. 1 0
      doc/.cvsignore
  4. 2 1
      lib/tarfn.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Thu Nov 11 20:14:02 EST 1999 Ben Collins <bcollins@debian.org>
+
+  * lib/tarfn.c: add braces around if to fix compiler warning
+
 Fri Nov 12 01:47:24 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Correct names for build-depency names according to Bug# 49792

+ 5 - 4
TODO

@@ -12,7 +12,6 @@ urgent
  * Several things ought to be configurable but aren't.
  * Filenames containing newlines.  Conffile names containing spaces.
  * dpkg --status for virtual packages
- * update-alternatives prompting.
  * logging, both transcript logs (kept briefly)
    and action logs (kept forever?)  957
  * start-stop-daemon process status check. 1480
@@ -24,9 +23,9 @@ other stuff unlikely to get done soon
  * Purge a.out compatibility from source (keep the upgrade stuff in
    place).
  * Automatically remove <file>.gz if <file> can't be found ? and maybe,
-   remove <file> if <file.gz> can't be found? Bug mess when we start
+   remove <file> if <file.gz> can't be found? Big mess when we start
    thinking about bz2 :/
- * Local version number (using non-numeric epoch, perhaps ?), or better yet,
+ * Local version number (using non-numeric epoch, perhaps, or better yet,
    a --local option in dpkg, so that it marks this package as a local install
    (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
    from being considered for auto-upgrades (apt-get needs to know about this
@@ -39,7 +38,8 @@ other stuff unlikely to get done soon
  * single maintainer script, and new package getting there first
  * dpkg -s show something for virtual packages
  * settable defaults for update-rc.d
- * local conffiles
+ * local conffiles, aswell as local files that dpkg should check before
+   overwriting
  * hooks
  * gzip -0 option for dpkg-deb (probably easier to add a -z# option)
  * There is no documentation. 1526
@@ -70,6 +70,7 @@ done
  * conffiles handling options, including `replace removed files'
  * `diff' option at conffile prompt
  * check description in dpkg-deb
+ * update-alternatives prompting.
 
 obsoleted so not done
  * version numbers not starting digit early.

+ 1 - 0
doc/.cvsignore

@@ -1 +1,2 @@
 Makefile.in
+manuals-version

+ 2 - 1
lib/tarfn.c

@@ -200,13 +200,14 @@ TarExtractor(
 
                    status = functions->Read(userData, buffer, 512);
                    // if we didn't get 512 bytes read, punt
-                   if (512 != status)
+                   if (512 != status) {
 		     if ( status > 0 ) { /* Read partial header record */
 		       errno = 0;
 		       return -1;
 		     } else {
                        return status;
                      }
+		   }
 
                    copysize = long_read > 512 ? 512 : long_read;
                    memcpy (bp, buffer, copysize);