This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

strcpy(stc->val,var) = Segmention Fault


Hi folks,

I create simple program to read configurations files.
With Bcc32-Win98 my prog works fine, but on Gcc-Linux I got "Segmention Fault" in "strcpy(stc->val,var)".
What's wrong?

Thanks,

UOD

Attachment: conf.c
Description: Binary data

Attachment: test.cfg
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]