On Thu, Jan 10, 2008 at 11:10:07PM +0100, Kris Kennaway wrote: > Robert Huff wrote: > >James Cook writes: > > > >> This seems to be caused by line 170 of hack.u_init.c, which > >> attempts to modify a string constant. > >> > >> SOLUTION: > >> Add -fwritable-strings to CFLAGS in hack's Makefile. (There's > >> already a patch that changes that line of the Makefile, so this > >> is easy to change.) > > > > Has something changed in the definition of correctly written > >code while I was away at the funny farm? Why is the solution not > >"Don't modify a costant."? > > This code has been largely untouched since the 1980s :) > > Kris
I like to think of the code as a museum artifact. An age-old scroll, written in an archaic language just close enough to modern C for us to understand. The original form will always be preserved somewhere, though. If somebody has the energy to modernize the code, I'm happy. James _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"