[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Fri Jan 2 09:10:50 CET 2009
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 09/01/02 09:10:50
Modified files:
cm3/m3-libs/m3core/src/unix/openbsd-common/: Udir.i3 Unix.i3
Upthread.i3
Usignal.i3
Usocket.i3 Utime.i3
Utypes.i3
Uucontext.i3
Uutsname.i3
m3makefile
Added files:
cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3
Log message:
refactor system dependent lines (ie: types and constants) into Usysdep,
with the intent that all the other files will be identical
across all targets and move into the Common directory
(and even still, then and Usysdep might be further reduced,
and Usysdep.i3 generated automatically)
Note that Uerror.i3 is left alone (as it was for Cygwin, but forgot
to mention that); it has a /very/ high density of sysdep lines,
like essentially every line; unless we wrap the constants
up in accessor functions written in C, then it becomes completely portable.
(Other files like Uucontext are also highly sysdep, and might become
more so when make/set/get/swapcontext supported added; we'll see;
also, most of the stat values are sysdep, except a few that Cygwin
uses zero for; again, this is just a step, more before and after.)
More information about the M3commit
mailing list