[Glibc-bsd-devel] Fix for "fsck.ufs -a" problem
Robert Millan
zeratul2@wanadoo.es
Sun, 9 May 2004 04:39:11 +0200
On Sun, May 09, 2004 at 03:58:30AM +0200, Robert Millan wrote:
>
> That's all. Could you apply this and upload it to gnuab archive?
Oops. I should have enabled it in getopt O:>
Here's a revised (and tested) version of the patch. I'm uploading this to
gnuab as a hacked "-1+kbsd" package.
--- ufsutils-0.0+2004.02.20.old/fsck.ufs/main.c 2003-12-27 03:39:59.000000000 +0100
+++ ufsutils-0.0+2004.02.20/fsck.ufs/main.c 2004-05-09 05:19:54.000000000 +0200
@@ -98,7 +98,7 @@
sync();
skipclean = 1;
- while ((ch = getopt(argc, argv, "b:Bc:dfFm:npy")) != -1) {
+ while ((ch = getopt(argc, argv, "b:Bc:dfFm:napy")) != -1) {
switch (ch) {
case 'b':
skipclean = 0;
@@ -142,6 +142,7 @@
yflag = 0;
break;
+ case 'a':
case 'p':
preen++;
break;
--
Robert Millan
"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."
-- J.R.R.T., Ainulindale (Silmarillion)