[comp.archives] [comp.sources.misc] v17i037: delete - MIT Athena delete/undelete programs, Patch13

jik@pit-manager.MIT.EDU (Jonathan I. Kamens) (03/16/91)

Archive-name: unix/fileutil/delete/1991-03-12
Archive-directory: pit-manager.mit.edu:/pub/delete/ [18.72.1.58]
Original-posting-by: jik@pit-manager.MIT.EDU (Jonathan I. Kamens)
Original-subject: v17i037:  delete - MIT Athena delete/undelete programs, Patch13
Reposted-by: emv@msen.com (Edward Vielmetti, MSEN)

[Originally from comp.sources.unix, edited for comp.archives.  --Ed.]

  This patch brings the "delete" package from patchlevel 12 to
patchlevel 13.  Use "patch -p0" in your delete source directory to
apply it.  However, before applying it, you should rename the file
"mit-copyright.h" in your source directory to "mit-copying.h"; this
change is to accomodate systems that are restricted to 14-character
filenames.

  This patch accomplishes the following:

1. I think I've finally got all of the RCS headers in sync, so after
   this patch, I shouldn't have to send out any more patches that
   change the RCS strings in files without changing anything else.

2. I've added a new compile-time configuration option, USE_BLOCKS.
   See the description in the Makefile and README files for more
   information.  When this option is enabled, delete is a little bit
   smarter about figuring out how much space files actually take up on
   the disk.

3. A new file, block-test.sh, is included to help determine whether or
   not to enable USE_BLOCKS.  This file should be created
   automatically by the patch.

4. I've added BUGS, BETA-TESTERS and ARCHIVE SITE sections to the
   README file  (please read them).

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
----------------------------

*** /tmp/delete/README	Mon Mar 11 20:08:03 1991
--- README	Mon Mar 11 20:07:35 1991
***************
*** 63,69 ****
--- 63,73 ----
     to you, then uncomment the variables starting with "AFS" and set
     them appropriately.
  
+ 6. See the comment in the Makefile about USE_BLOCKS.  If you do not
+    know whether or not you have st_blocks or if it represents 512-byte
+    blocks, run "make block-test" and you should be told what to do.
  
+ 
  			   COM_ERR LIBRARY
  
  In order to compile delete, you need to get your hands on the com_err
***************
*** 79,84 ****
--- 83,116 ----
  them separately from delete.
  
  
+ 				 BUGS
+ 
+ It is not clear to me that the USE_BLOCKS code is going to do the
+ right thing on all systems.  If you define USE_BLOCKS and discover
+ that lsdel, expunge or purge gives you bogus values for file sizes or
+ total amount of space, please let me know, because it will help me to
+ tighten up the code to work on a variety of different systems.
+ 
+ 
+ 		     I'M LOOKING FOR BETA-TESTERS
+ 
+ I try to make this package run on as many different platforms as
+ possible.  However, I do not have access to a large variety of
+ platforms, so I can't effectively test all of the changes I make.  I'm
+ therefore looking for people who are willing to beta-test changes
+ before I release them to the general public.  If you are interested in
+ doing this, please let me know.
+ 
+ 
+ 			     ARCHIVE SITE
+ 
+ The most recent version of the delete package and patches to get from
+ previous versions to the most recent version are archived on
+ pit-manager.mit.edu (18.72.1.58).  You can retrieve them via anonymous
+ ftp in the directory /pub/delete, or via mail-server (send a message
+ with the subject "help" to "mail-server@pit-manager.mit.edu").
+ 
+ 
[1500 lines of patch deleted.  --Ed]