Source-Changes-D archive

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

re: CVS commit: src/sys/uvm



> Log Message:
> Ugh.   This stuff is disgusting.   We really need an arch dependent
> PRIxOFF (and PRIdOFF) to print off_t's in a way that matches the
> arch's definition of off_t.

off_t is supposed to be more-MI.  it comes down to:

sys/types.h:177:typedef __off_t         off_t;          /* file offset */
ys/ansi.h:42:typedef __int64_t __off_t;        /* file offset */

so it just needs to be whatever int64_t resolves to.  this should
not need MD code - but aliases to existing PRI*.


.mrg.


Home | Main Index | Thread Index | Old Index