1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
This package was originally an `alien', debianized by the alien
program by converting the RPMS Package `tmpwatch-1.2' on Thu, 13 Nov
1997 02:16:28 -0800.
It bears a GNU Public Licence, which you will find in
"/usr/share/common-licenses/GPL".
Please read the changelog.
The original `tmpwatch-1.2' was downloaded from ftp.redhat.com by
karlheg@inetarena.com.
Thank You, Erik Troan. This program was sorely needed. We always
appreciate the things you provide for the Linux community. I could
not have even begun to write a program like this one from scratch.
Without the initial program to build on, it would not have been
possible. I've learned a lot from this experience.
karlheg: Sun, Dec 7, 1997:
I am renaming this program from `tmpwatch' to `tmpreaper' to split
away from RedHat, who released a `tmpwatch-1.4' with RedHat v5.0 that
had zero of the patches I sent for `1.2-1.4'. They made one small
patch:
--- tmpwatch-1.2.c Mon Nov 17 21:16:37 1997
+++ tmpwatch-1.4/tmpwatch.c Thu Nov 6 13:58:34 1997
@@ -157,7 +157,7 @@
message(LOG_VERBOSE, "removing directory %s\n", ent->d_name);
if (!(flags & FLAGS_TEST)) {
- if (!(flags & FLAGS_ALLFILES)) {
+ if (flags & FLAGS_ALLFILES) {
if (rmdir(ent->d_name)) {
message(LOG_ERROR, "failed to rmdir %s: %s\n",
dirname, ent->d_name);
This does not reflect any of the changes I made and submitted to
them, including the bug that prompted me to begin working on
`tmpwatch' to begin with. The `--test' option was broken. The
getopt loop fills a variable with some flags to be passed to
cleanDirectory, but when that function is called for the first time,
he passes a 0 as the flags argument.
In main(), it goes:
- cleanupDirectory(argv[optind], killTime, 0);
+ cleanupDirectory (argv[optind], killTime, flags);
|