HI,
> char *workfile="00000000.000";
> strncpy(workfile,basename,4); /* the program core dumps here */
-fwritable-strings
Store string constants in the writable data segment
and don't uniquize them. This is for compatibility
with old programs which assume they can write into
string constants. -traditional' also has this ef-
fect.
Writing into string constants is a very bad idea;
`constants'' should be constant.
Greetings
Bernd
--
(OO) -- [EMAIL PROTECTED] --
( .. ) [EMAIL PROTECTED],ka.sub.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD [EMAIL PROTECTED] +4972573817 *plush*
(O____O) If privacy is outlawed only Outlaws have privacy