*BSD News Article 83002


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!hunter.premier.net!news.mathworks.com!news.kei.com!news.thenet.net!wlbr!news.cerf.net!newsserver.sdsc.edu!groucho.sdsc.edu!steube
From: steube@groucho.sdsc.edu (Ken Steube)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: timespec/timeval confusion?
Date: 16 Nov 1996 23:04:27 GMT
Organization: San Diego Supercomputer Center @ UCSD
Lines: 26
Message-ID: <56lh9r$7dt@rosebud.sdsc.edu>
NNTP-Posting-Host: groucho.sdsc.edu

I installed from 2.2-960801-snap and then supped current on November 3.

My kernel will no longer compile (and a couple other things as well)
because of some confusion between timespec and timeval from
/usr/include/sys/time.h (or the copy of it in /usr/src).

For example, /usr/src/sys/isofs/cd9660/cd9660_node.c defines

	struct timespec *pu;

but then references

	pu->tv_sec

which treats pu like a timeval instead of a timespec.

I realize that -current is a moving target, but still this makes me
wonder if I have things fouled up somehow. Any ideas?

Thank you,

Ken
-- 
-------------------------------------
Ken Steube	      steube@sdsc.edu
San Diego Supercomputer Center @ UCSD