Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2008 20:36:40 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/quota quota.c
Message-ID:  <200808032036.m73Kai65083682@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808032036.m73Kai65083682>