[sr-dev] [tracker] Comment added: Do not fork command line option

sip-router bugtracker at sip-router.org
Mon Aug 11 21:50:17 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#458 - Do not fork command line option
User who did this - Alekzander Spiridonov (alekz)

----------
Thanks for so fast reply.

First of all I believe that this way of using command line options is not the best one, so I'd prefer to fix the src.

About dont_fork_cnt. Basically the sequence is the following:
<code>dont_fork = 0;
dont_fork_cnt = 0;

yyparse();

while (getopt) {
--case -D: dont_fork_cnt++;
++case -D: dont_fork=strtol();
}
--if (dont_fork_cnt) { dont_fork = dont_fork_cnt; }</code>

So even without dont_fork_cnt commandline parameter will override config.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=458#comment1576

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list