>char sys_string[1024];
>...
>bzero(sys_string,1024);
>strcpy(sys_string,"slider 10 | fit_it -f ");
>strcat(sys_string,fileName);
>strcat(sys_string," -xmgr | xmgr-dynamic -source stdin&");
>system(sys_string);
>...


Warning: a programming moron is about to speak:-

Wouldn't the fact that you building your string in a static buffer cause
security probs?
ie writing beyond the end.....of 1024,

but then i'm not sure if:-

char sys_string[1024];

would be allocated on the stack anyway....

d.






Reply via email to