#ifdef 0 -> #if 0

regen patch
This commit is contained in:
espie 2004-01-04 18:50:33 +00:00
parent 8ba042cc17
commit 757e1f771d
3 changed files with 37 additions and 4 deletions

View File

@ -1,8 +1,8 @@
--- Makefile.orig Wed Mar 12 01:32:55 1997
+++ Makefile Sat May 22 23:50:37 1999
--- Makefile.orig 1997-03-12 09:32:55.000000000 +0100
+++ Makefile 2004-01-04 19:46:40.000000000 +0100
@@ -1,10 +1,11 @@
-# $Id: patch-aa,v 1.2 1999/05/23 06:01:14 brad Exp $
+# From: $Id: patch-aa,v 1.2 1999/05/23 06:01:14 brad Exp $
-# $Id: patch-aa,v 1.3 2004/01/04 18:50:33 espie Exp $
+# From: $Id: patch-aa,v 1.3 2004/01/04 18:50:33 espie Exp $
PROG= setquota
SRCS= printquota.c setquota.c quotatool.c

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-printquota_c,v 1.1 2004/01/04 18:50:33 espie Exp $
--- printquota.c.orig 2004-01-04 19:46:53.000000000 +0100
+++ printquota.c 2004-01-04 19:46:57.000000000 +0100
@@ -109,7 +109,7 @@ timeprt(seconds)
if (now == 0)
time(&now);
-#ifdef 0
+#if 0
if (now > seconds)
return("none");
seconds -= now;

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-setquota_c,v 1.1 2004/01/04 18:50:33 espie Exp $
--- setquota.c.orig 2004-01-04 19:47:17.000000000 +0100
+++ setquota.c 2004-01-04 19:47:25.000000000 +0100
@@ -62,7 +62,7 @@ int set_quota(qm)
qm->dq_dqb.dqb_bhardlimit = v_bh;
if (f_bs)
qm->dq_dqb.dqb_bsoftlimit = v_bs;
-#ifdef 0
+#if 0
if (f_bg)
qm->dq_dqb.dqb_btime = v_bg;
#endif
@@ -70,7 +70,7 @@ int set_quota(qm)
qm->dq_dqb.dqb_ihardlimit = v_ih;
if (f_is)
qm->dq_dqb.dqb_isoftlimit = v_is;
-#ifdef 0
+#if 0
if (f_ig)
qm->dq_dqb.dqb_itime = v_ig;
#endif