You will need to provide source, I guess it's off-topic since it's a C-programming problem. Sounds like you're doing something wrong with args. I don't mind taking a quick peek if you give a pastebin link.

You should, however, verify that you're running the right program. Eg if it's 'myprog', after moving it to ~/bin or wherever, verify that 'which myprog' returns ~/bin/myprog.


On Tue, 30 Oct 2012, Leslie S Satenstein wrote:

If I create a calling script       and put the program name as a line in the
script, there is no segmentation error.

Compiler is gcc 4.7


Regards

 Leslie
Mr. Leslie Satenstein
50 years in Information Technology and going strong.
Yesterday was a good day, today is a better day,
and tomorrow will be even better.

mailto:[email protected]
alternative: [email protected]
www.itbms.biz  www.eclipseguard.com

_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to