Hi Michael,

>> following to our discussion about the function redefinition problem
>> in lib/cmds I'd like to provide you with the test code that I have
>> prepared to implement solution 2).
>
> "You like to provide me" sounds like work ;)

didn't mean to, I just wanted to ask you for your opinion. I volunteer
to perform the work but I am a bit afraid to break things when
moving from the current 'require' method to a more direct manual
sourcing.

>> Currently the 'use strict' at the beginning of initServer is commented
>> out because otherwise the daemon will not start unless all problems
>> are corrected.
>
> Accepted, but after the tests we have to activate "use strict".
>
>> I recommend to comment out the generalError() function call after
>> sourcing the cmd file to see all problems (not only the first one).
>
> Then we have to stop at the end with a generalError.

Yup, both agreed. Was only for testing.

>> +    # FIXME/DEVELOPMENT choose the source method:
>> +    # 0: use unix cat command (dirty)
>> +    # 1: use sourcing from file handle
>
> Why should we allow/test a dirty method? If you have clean code then we
> should exclusively use it.

Left it in because it was my first shot. Will be removed.

Martin





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to