[M3devel] inconsistencies in external interfaces

Mika Nystrom mika at async.caltech.edu
Sat Apr 25 05:41:04 CEST 2009


All right, here's another little oddity.

m3-libs/m3core/src/unix/freebsd-4/Utime.i3 has the following:

  time_t = int; (* seconds since the Epoch *)

  ...

<*EXTERNAL*> PROCEDURE localtime (clock: long_star): struct_tm_star;

Huh?  What's the point of declaring time_t if you're not going to
use it?

(I think it used to be that long_star and time_t resolved to the
same type, before the LONGINT work or some other foreign interface
updating, but they no longer seem to...)

    Mika





More information about the M3devel mailing list