Technical data

Workaround: Do not use the dash or equals sign in names for environment variables.
STDIO getc Family EOF Condition Behavior Change
Applications that were built in strict standard C conformance mode are aected by the behavior
changes of certain library functions. An example is applications that were compiled by using the
cc -Xc or c89 compilation mode. The behavior has changed for the following library functions:
fgetc()
fgets()
fgetwc()
fgetws()
getc()
getchar()
gets()
getwc()
getwchar()
getws()
A formal interpretation of the 1990 C Standard requires that after an end-of-le condition is set,
no more data is returned from the le on subsequent input operations. The exception is if the
le pointer is repositioned or the error and end-of-le ags are explicitly cleared by the
application.
The behavior for all other compilation modes remains unchanged. Specically, the interfaces
can read additional newly written data from the stream after the end-of-le indicator has been
set.
Workaround: Call fseek() or clearerr() on the stream to read additional data after the EOF
condition has been reported on the stream.
Output Columns of the ps Command Have Been
Widened
Due to larger UIDs, processor ids, and cumulative execution time, the columns of the ps
command output have been widened. Customer scripts should not assume xed output
columns.
Workaround: Scripts should use the -o option of the ps command.
For more information, see the
ps(1) man page.
Solaris Commands and Standards
Solaris 10 5/08 Release Notes • April 200888