*BSD News Article 82176


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: struct timespec (in sys/time.h) fields: ts_ or tv_
Date: 3 Nov 1996 11:57:42 GMT
Organization: Private BSD site, Dresden
Lines: 35
Message-ID: <55i1bm$jca@uriah.heep.sax.de>
References: <54v4ea$o0h@chenab.lums.edu.pk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

aslam@lums.edu.pk (Sohail Aslam) wrote:

> The file time.h has ts_ for timespec and tv_ for timeval. I don't think
> this is just a typo; the timespec fields are referenced in stat.h,
> nfs/xdr_subs.h and ufs/ufs/inode.h. I don't have the POSIX standards with
> me. Should I change the system .h files or the pthreads source files? I
> would prefer the latter.

As Chris Provenzano wrote you, FreeBSD was wrong.  This has been fixed
in the following respective file revisions in the repository on
1996/09/19:

  Revision  Changes    Path
  1.60      +4 -4      src/sys/kern/vfs_subr.c
  1.51      +5 -5      src/sys/kern/vfs_syscalls.c
  1.10      +4 -4      src/sys/msdosfs/msdosfs_conv.c
  1.33      +2 -2      src/sys/msdosfs/msdosfs_vnops.c
  1.25      +5 -5      src/sys/nfs/nfs_bio.c
  1.34      +5 -5      src/sys/nfs/nfs_serv.c
  1.33      +4 -4      src/sys/nfs/nfs_subs.c
  1.35      +30 -30    src/sys/nfs/nfs_vnops.c
  1.9       +5 -5      src/sys/nfs/nfsm_subs.h
  1.6       +11 -11    src/sys/nfs/xdr_subs.h
  1.8       +4 -4      src/sys/sys/stat.h
  1.8       +7 -7      src/sys/sys/time.h
  1.21      +4 -4      src/sys/ufs/ffs/ffs_inode.c
  1.9       +4 -4      src/sys/ufs/ufs/inode.h
  1.41      +8 -8      src/sys/ufs/ufs/ufs_vnops.c

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)