pw is still broken, compiling mips: cc1: warnings being treated as errors /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c: In function 'pw_user_next': /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c:680: warning: statement with no effect /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c: In function 'pw_user_show': /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c:758: warning: comparison of unsigned expression < 0 is always false /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c: In function 'pw_user_del': /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c:831: warning: comparison of unsigned expression < 0 is always false /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c: In function 'pw_user_mod': /usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/pw/pw_user.c:1433: warning: suggest parentheses around assignment used as truth value --- pw_user.o ---
.. tsk bapt! I'm on holiday and I can't build -head. :( -a On 2 August 2015 at 12:49, Baptiste Daroussin <b...@freebsd.org> wrote: > Author: bapt > Date: Sun Aug 2 19:49:24 2015 > New Revision: 286211 > URL: https://svnweb.freebsd.org/changeset/base/286211 > > Log: > Use intmax_t rather than long long > > Modified: > head/usr.sbin/pw/pw_conf.c > > Modified: head/usr.sbin/pw/pw_conf.c > ============================================================================== > --- head/usr.sbin/pw/pw_conf.c Sun Aug 2 18:20:36 2015 (r286210) > +++ head/usr.sbin/pw/pw_conf.c Sun Aug 2 19:49:24 2015 (r286211) > @@ -493,11 +493,11 @@ write_userconfig(struct userconf *cnf, c > quote = 0; > break; > case _UC_EXPIRE: > - sbuf_printf(buf, "%lld", (long long)cnf->expire_days); > + sbuf_printf(buf, "%jd", (intmax_t)cnf->expire_days); > quote = 0; > break; > case _UC_PASSWORD: > - sbuf_printf(buf, "%lld", (long > long)cnf->password_days); > + sbuf_printf(buf, "%jd", (intmax_t)cnf->password_days); > quote = 0; > break; > case _UC_NONE: > _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"