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 | 4cf5b53a0b9763353de409eeea032602e9590c98 (patch) | |
tree | 11602a62ebd23e665923c4d3a5dcb3726e1f37ea /util | |
parent | bf5c641ca4565dbbb11e63b97515ea539f2638b7 (diff) | |
download | pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.tar pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.tar.gz pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.tar.bz2 pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.tar.lz pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.tar.xz pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.tar.zst pttbbs-4cf5b53a0b9763353de409eeea032602e9590c98.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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); |