From 01d65a7e2025a5aab9df213a20401b7218c6c2b6 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Fri, 12 Nov 1999 01:18:12 +0000 Subject: [PATCH] * lib/tarfn.c: add braces around if to fix compiler warning --- ChangeLog | 4 ++++ TODO | 9 +++++---- doc/.cvsignore | 1 + lib/tarfn.c | 3 ++- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00ed3c7b..ff3f4918 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Nov 11 20:14:02 EST 1999 Ben Collins + + * lib/tarfn.c: add braces around if to fix compiler warning + Fri Nov 12 01:47:24 CET 1999 Wichert Akkerman * Correct names for build-depency names according to Bug# 49792 diff --git a/TODO b/TODO index 8fc839bc..a376e51f 100644 --- a/TODO +++ b/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 .gz if can't be found ? and maybe, - remove if can't be found? Bug mess when we start + remove if 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. diff --git a/doc/.cvsignore b/doc/.cvsignore index 70845e08..e9c9ac69 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -1 +1,2 @@ Makefile.in +manuals-version diff --git a/lib/tarfn.c b/lib/tarfn.c index 799f0c6b..18c0bc17 100644 --- a/lib/tarfn.c +++ b/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); -- 2.39.5