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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux