pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: va_arg and netbsd-6 ...
On Fri, Jun 08, 2012 at 09:26:59PM +0200, Hauke Fath wrote:
> At 18:29 Uhr +0200 08.06.2012, Joerg Sonnenberger wrote:
> >On Fri, Jun 08, 2012 at 06:10:48PM +0200, Hauke Fath wrote:
> >> >> snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n",
> >> "f", av[ 2 ],
> >> DEFAULT_MODE, DEFAULT_UID, DEFAULT_GID,
> >> st.st_mtime, st.st_size, cksum_b64 );
> >
> >st.st_mtime is 64bit.
>
> I have to ask back, sorry: What would be the least intrusive way to adapt
> the sources to 64 bit time_t, given they use the construct in several
> places? For st.st_size, they do a little preprocessor dance; I guess I
> could duplicate that?
intmax_t and using %jd.
Joerg
Home |
Main Index |
Thread Index |
Old Index