Ian Collins wrote: > Garrett D'Amore wrote: > >One potential concern. I know of certain bits of code where strings > >like "$Id: some text$" are "edited" in place to form version numbers > >from $Id$ and similar strings. > > > >The places I can think of actually occur in kernel code! > > > Standard violating code? I'm shocked! > > How does this work with the gcc build, are compile options used so > string literals do not go in read only pages?
gcc up to version 3.x has the option "-fwritable-strings" which is used in some places in OS/Net - see http://src.opensolaris.org/source/search?q=%22fwritable-strings%22&defs=&refs=&path=%2Fonnv&hist= gcc4.x no longer provides this option... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
