cvs commit: src/usr.bin/quota quota.c

Olivier Houchard cognet at FreeBSD.org
Sun Aug 3 20:36:45 UTC 2008


cognet      2008-08-03 20:36:40 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/quota        quota.c 
  Log:
  SVN rev 181262 on 2008-08-03 20:36:40Z by cognet
  
  ctime() expects a time_t, but qup->dqblk.dqb_btime is an int32_t, so for
  big endian platforms where time_t is 64bits (ie armeb and sparc64), it will
  be a problem.
  Use a temporary time_t to work around this.
  
  Submitted by:   Matthew Luckie <mjl AT luckie DOT org dot nz>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.33      +9 -6      src/usr.bin/quota/quota.c


More information about the cvs-src mailing list