I've created these simple pathes (only one of these should be applied!)
and I have sent them upstream:
Either fix the man page:
--- quotatool.8.orig 2005-08-25 23:00:03.485150743 +0200
+++ quotatool.8 2005-08-25 23:00:26.103265647 +0200
@@ -54,10 +54,10 @@
.TP
-t TIME
Set the system-wide grace period to TIME. TIME consists
-of an optional '-' or '+' character, a number, and optionally
+of an optional '-' or '+' character, a number, and
one of the following modifiers: "seconds", "minutes", "hours",
"days", "weeks", or "months". Unique abbreviations (e.g. "s",
-"mo") are also accepted. The default is "seconds"
+"mo") are also accepted.
.TP
-r
Reset the grace period
or add a default unit:
--- parse.c.orig 2005-08-25 22:56:29.960826098 +0200
+++ parse.c 2005-08-25 22:58:34.944359492 +0200
@@ -348,7 +348,10 @@
while ( strchr(WHITESPACE, *cp) ) cp++;
- if ( ! strncasecmp(cp, "s", 1) ) {
+ if ( *cp == '\0' ) { /* default to second */
+ unit = SEC;
+ }
+ else if ( ! strncasecmp(cp, "s", 1) ) {
unit = SEC;
}
else if ( ! strncasecmp(cp, "mi", 2) ) {
--
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw | GPG key: 0644fab7 |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED], [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]