diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/account.c | 3 | ||||
-rw-r--r-- | util/mandex.c | 3 | ||||
-rw-r--r-- | util/openticket.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/util/account.c b/util/account.c index 4512747f..5220f713 100644 --- a/util/account.c +++ b/util/account.c @@ -1,4 +1,4 @@ -/* $Id: account.c,v 1.6 2002/06/06 21:42:47 in2 Exp $ */ +/* $Id: account.c,v 1.7 2002/06/16 22:21:12 ptt Exp $ */ #include "bbs.h" #define MAX_LINE 16 @@ -97,6 +97,7 @@ int main() { time_t now; struct tm *ptime; + nice(10); chdir(BBSHOME); now = time(NULL) - ADJUST_M * 60; /* back to ancent */ ptime = localtime(&now); diff --git a/util/mandex.c b/util/mandex.c index f9e1198c..3eb6c05a 100644 --- a/util/mandex.c +++ b/util/mandex.c @@ -1,4 +1,4 @@ -/* $Id: mandex.c,v 1.5 2002/06/16 22:03:05 ptt Exp $ */ +/* $Id: mandex.c,v 1.6 2002/06/16 22:21:12 ptt Exp $ */ /* 'mandex -h' to help */ @@ -165,6 +165,7 @@ int main(int argc, char* argv[]) 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', 'X', 'C', 'V', 'B', 'N', 'M', NULL}; + nice(10); while( (ch = getopt(argc, argv, "xh")) != -1 ){ switch( ch ){ case 'x': diff --git a/util/openticket.c b/util/openticket.c index 4d1af5b4..643c55fb 100644 --- a/util/openticket.c +++ b/util/openticket.c @@ -1,4 +1,4 @@ -/* $Id: openticket.c,v 1.7 2002/06/12 12:27:04 lwms Exp $ */ +/* $Id: openticket.c,v 1.8 2002/06/16 22:21:12 ptt Exp $ */ /* ¶}¼úªº utility */ #include "bbs.h" @@ -41,6 +41,7 @@ int main() char des[MAX_DES][200] = {"", "", "", ""}; + nice(10); if(passwd_mmap()) exit(1); |