[illumos-Developer] 409 ls doesn't like -xstrconst

Albert Lee trisk at opensolaris.org
Sun Dec 5 20:50:34 PST 2010


Hi,

Here's another webrev, hg pbchk, hg outgoing -v  and mail_msg:
http://pkgdev.openindiana.org/~trisk/409/

Making colorstr a copy of the static buffer or environment string
before modification also fixes an invalid free().

exit(2) is to be consistent with allocation failure handling used in
the rest of the program, as is the use of the "nomocore" variable.


I tested this with Sun Studio 12.1 as well.

-Albert



More information about the Developer mailing list