Masanobu Yasui authored on 2013/01/21 17:09:09
Showing 2 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 1.3.5:
2 2
  - fix: log output unnecessary message.
3 3
  - fix: segfault when other server shutdown.
4
- - add C(--core) option.
5
- - C option is same as ulimit -c unlimited.
4
+ - add --core option.
5
+ - core option is the same as "ulimit -c unlimited" command.
6 6
 
7 7
 1.3.4:
8 8
  - fix: makuosan had deleted files even if use the r option.
... ...
@@ -88,6 +88,8 @@ static void minit_option_setdefault()
88 88
   moption.dontfork              = 0;
89 89
   moption.cryptena              = 0;
90 90
   moption.comm_ena              = 1;
91
+  moption.core_ena              = 0;
92
+  moption.coresize              = 0;
91 93
   moption.commpass              = 0;
92 94
   moption.ownmatch              = 0;
93 95
   moption.parallel              = 5;
... ...
@@ -758,7 +760,7 @@ void minit(int argc, char *argv[])
758 758
   minit_getguid();           /*                                    */
759 759
   minit_chroot();            /*                                    */
760 760
   minit_setguid();           /*                                    */
761
-  minit_enable_core();       /*                                    */
761
+  minit_enable_core();       /* コアサイズのリミットを解除         */
762 762
   minit_bootlog();           /* ブートメッセージを出力する         */
763 763
   minit_daemonize();         /*                                    */
764 764
 }