On 3/26/07, Durga Deep Tirunagari <[EMAIL PROTECTED]> wrote:
Folks,

we were running LINT against our code and it spewed out the following warning:

warning: avoid using system() as it invokes the shell (E_SEC_SHELL_WARN)


Here is the code snippet:


                sprintf (start_command,"%s", "/opt/SUNWdsee/start-slapd");
                (void) system(start_command);

Any suggestions on getting rid of this warning ?

not using system() ? :)

nacho
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to