home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.unix
- From: ram@acri.fr (Raphael Manfredi)
- Subject: v26i228: kit - the ultimate mailing kit, Patch26
- Sender: unix-sources-moderator@efficacy.home.vix.com
- Approved: WhoAmI@efficacy.home.vix.com
-
- Submitted-By: ram@acri.fr (Raphael Manfredi)
- Posting-Number: Volume 26, Issue 228
- Archive-Name: kit/pch26
-
- [The latest patch for kit version 2.0 is #28.]
-
- System: kit version 2.0
- Patch #: 26
- Priority: LOW
- Subject: acknowledgment list updated
- Subject: wrongly reported end-of-tape when last block was short
- Subject: one short tar block will now correctly be accounted for
- Date: Fri Feb 19 14:52:33 PST 1993
- From: Raphael Manfredi <ram@eiffel.com>
-
- Description:
- Acknowledgment list updated. It's always nice for people who
- contribute to have their effort acknowledged, and it's not nice
- when they contribute and earn no credit for it...
-
- Badtart wrongly reported end-of-tape when last block was short,
- hence usually missing small files held in that (incomplete) block.
- Thanks to Kim Walden <kim@enea.se> for putting me on the right
- track.
-
- Repeat-By:
-
- Run the following:
-
- echo "abc" > foo # Create small file
- kit foo # Kit it
- mv foo foo.orig # Save original
- unkit -b Kit01 # Unkit via badtar
-
- before applying this patch and see how unkit misses the file....
- Apply the patch and try again to make sure unkit catches that
- small file.
-
- Fix: From rn, say "| patch -p -N -d DIR", where DIR is your kit source
- directory. Outside of rn, say "cd DIR; patch -p -N <thisarticle".
- If you don't have the patch program, apply the following by hand,
- or get patch (version 2.0, latest patchlevel).
-
- After patching:
- make clean
- Configure -d
- make
- make install
-
- If patch indicates that patchlevel is the wrong version, you may need
- to apply one or more previous patches, or the patch may already
- have been applied. See the patchlevel.h file to find out what has or
- has not been applied. In any event, don't continue with the patch.
-
- If you are missing previous patches they can be obtained from me:
-
- Raphael Manfredi <ram@eiffel.com>
-
- If you send a mail message of the following form it will greatly speed
- processing:
-
- Subject: Command
- @SH mailpatch PATH kit 2.0 LIST
- ^ note the c
-
- where PATH is a return path FROM ME TO YOU either in Internet notation,
- or in bang notation from some well-known host, and LIST is the number
- of one or more patches you need, separated by spaces, commas, and/or
- hyphens. Saying 35- says everything from 35 to the end.
-
- To get some more detailed instructions, send me the following mail:
-
- Subject: Command
- @SH mailhelp PATH
-
-
- Index: patchlevel.h
- Prereq: 25
- 2c2
- < #define PATCHLEVEL 25
- ---
- > #define PATCHLEVEL 26
-
- Index: README
- *** README.old Fri Feb 19 14:52:27 1993
- --- README Fri Feb 19 14:52:28 1993
- ***************
- *** 83,92 ****
- I would like to thank:
-
- Gary Casterline <casterln@are.berkeley.edu>
- - Robert M. Cothren <rim@marvin.ri.ccf.org>
- - Michael Fischer <fischer-michael@cs.yale.edu>
- Gurvan Lullien <lullien@inf.enst.fr>
- Monty Solomon <roscom!monty@think.com>
-
- for their bug reports and comments.
-
- --- 83,92 ----
- I would like to thank:
-
- Gary Casterline <casterln@are.berkeley.edu>
- Gurvan Lullien <lullien@inf.enst.fr>
- + Michael Fischer <fischer-michael@cs.yale.edu>
- Monty Solomon <roscom!monty@think.com>
- + Robert M. Cothren <rim@marvin.ri.ccf.org>
-
- for their bug reports and comments.
-
- ***************
- *** 93,100 ****
- The criticism of Tim Kuehn <timk@wynnds.xenitec.on.ca> was also much
- appreciated.
-
- ! I am especially grateful to Jaap Vermeulen <jaap@sequent.com> and to
- ! David Wright <dmw@prism1.com> for their critical bug reports and
- ! suggestions.
-
- Raphael Manfredi <ram@eiffel.com>
- --- 93,110 ----
- The criticism of Tim Kuehn <timk@wynnds.xenitec.on.ca> was also much
- appreciated.
-
- ! I am especially grateful to:
- !
- ! Christian Bertin <bertin@acri.fr>
- ! David Wright <dmw@prism1.com>
- ! Jaap Vermeulen <jaap@sequent.com>
- ! Kim Walden <kim@enea.se>
- !
- ! for their critical bug reports, suggestions and/or contributions.
- !
- ! Finally, if you feel your name is missing from this acknowledgment list,
- ! please let me know about it and I'll fix that as soon as possible. Although
- ! I strive to keep it accurate, things get so hectic here that sometimes I
- ! simply forget to update it.
-
- Raphael Manfredi <ram@eiffel.com>
-
- Index: badtar/badtar.c
- Prereq: 2.0.1.3
- *** badtar/badtar.c.old Fri Feb 19 14:52:31 1993
- --- badtar/badtar.c Fri Feb 19 14:52:31 1993
- ***************
- *** 1,9 ****
- /*
- * I got that from net.sources and extended it -- RAM
- *
- ! * $Id: badtar.c,v 2.0.1.3 92/08/17 17:53:34 ram Exp $
- *
- * $Log: badtar.c,v $
- * Revision 2.0.1.3 92/08/17 17:53:34 ram
- * patch18: badtar now correctly reports links
- *
- --- 1,13 ----
- /*
- * I got that from net.sources and extended it -- RAM
- *
- ! * $Id: badtar.c,v 2.0.1.4 93/02/19 14:52:24 ram Exp $
- *
- * $Log: badtar.c,v $
- + * Revision 2.0.1.4 93/02/19 14:52:24 ram
- + * patch26: wrongly reported end-of-tape when last block was short
- + * patch26: one short tar block will now correctly be accounted for
- + *
- * Revision 2.0.1.3 92/08/17 17:53:34 ram
- * patch18: badtar now correctly reports links
- *
- ***************
- *** 153,160 ****
- bad = 1;
- break;
- } else if (res == 0) {
- ! eot = 1;
- ! lprintf(logf, "*** End of tape?\n");
- break;
- }
- }
- --- 157,164 ----
- bad = 1;
- break;
- } else if (res == 0) {
- ! lprintf(logf, "*** Last block was short (%d bytes).\n",
- ! nbytes);
- break;
- }
- }
-
- *** End of Patch 26 ***
-