Operating System - HP-UX
1753835 Members
7611 Online
108806 Solutions
New Discussion юеВ

Re: C Src code giving CORE dump

 
SOLVED
Go to solution
dirk dierickx
Honored Contributor

Re: C Src code giving CORE dump

hmm, problems like this should not ever happen. i took a look at the source file and well, it is a small piece of code and it doesn't do complicated things.

for things like this you should simply use a scripting language like perl or python. you could probably turn it into a shell script just as well.

i used to be pretty good at C, but i don't see the need to use it anymore. for admin work there is nothing that can't be done with shell and perl scripting.

even when i fiddle around with desktop apps on linux, this is written in python (with glade/gtk), nobody notices the difference.

it's so easy, fast and you don't have to worry about things like pointers and memory allocations.
Dennis Handly
Acclaimed Contributor

Re: C Src code giving CORE dump

>Dirk: it is a small piece of code and it doesn't do complicated things.

Yes but it must be a small fragment since there would be no reason to compile with +DD64.
dirk dierickx
Honored Contributor

Re: C Src code giving CORE dump

no reason, yes, but that doesn't make it true.

i'm saying, sometimes people do things out of habbit or because they read it somewhere and applied it without knowing what all the options stand for.