diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-17 06:21:12 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-17 06:21:12 +0800 |
commit | c5ea640275c8d0566ff943301b036c87062a3499 (patch) | |
tree | a3aa3df225c4ae5591a9add91ee1b8457212ac6c | |
parent | 8f6ad44ce0957da09faf730a208ba5883cd21c6b (diff) | |
download | pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.tar pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.tar.gz pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.tar.bz2 pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.tar.lz pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.tar.xz pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.tar.zst pttbbs-c5ea640275c8d0566ff943301b036c87062a3499.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/account.c | 3 | ||||
-rw-r--r-- | pttbbs/util/mandex.c | 3 | ||||
-rw-r--r-- | pttbbs/util/openticket.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/pttbbs/util/account.c b/pttbbs/util/account.c index 4512747f..5220f713 100644 --- a/pttbbs/util/account.c +++ b/pttbbs/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/pttbbs/util/mandex.c b/pttbbs/util/mandex.c index f9e1198c..3eb6c05a 100644 --- a/pttbbs/util/mandex.c +++ b/pttbbs/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/pttbbs/util/openticket.c b/pttbbs/util/openticket.c index 4d1af5b4..643c55fb 100644 --- a/pttbbs/util/openticket.c +++ b/pttbbs/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); |