Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sun-lamp CVS commits



jonathan
Tue May  2 15:52:02 EDT 1995
Update of /a/cvsroot/src/sys/arch/pmax/pmax
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv21663

Modified Files:
        trap.c 
Log Message:
If we panic inside trap(), Do a stack traceback before printing the trap log.
Also change the stack-traceback code to avoid having multiple returns
(and thus multiple stack pops) because with gcc -O2 that breaks the
heuristic that a "jr ra" preceding the PC precedes code to push the
current stack frame.  Which breaks stacktrace() before it even
traces past itself :-(.  Use a goto instead.


jtc
Tue May  2 15:52:47 EDT 1995
Update of /a/cvsroot/src/lib/libc/stdio
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv20595

Modified Files:
        vfprintf.c 
Log Message:
The C Standard says that printf's format string is a multi-byte
character string.  NA1 says that the 99 characters required by the
Standard have representations in the initial state which are one byte
long and do not alter the state.

Thus we can safely break apart the format string with mbtowc() until
we reach a '%' character, and the process format directive characters
one by one.

We really shouldn't be using mbtowc(), rather mbrtowc() (which takes a
mbstate-t argument) but we don't have the NA1 functions implemented
yet.  This is safe, because even when we do we're not likely to
support multi-byte character encodings that use shift states.


jtc
Tue May  2 15:56:30 EDT 1995
Update of /a/cvsroot/src/lib/libc/nls
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv22547

Added Files:
        C.msg Pig.msg 
Log Message:
C and Pig Latin message catalogs for libc

jtc
Tue May  2 15:57:19 EDT 1995
Update of /a/cvsroot/src/lib/libc
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv22572

Modified Files:
        Makefile 
Log Message:
Enable C and Pig Latin message catalogs.




Home | Main Index | Thread Index | Old Index