home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!iagu.itd.adelaide.edu.au!newton
- From: newton@iagu.itd.adelaide.edu.au (Mark Newton)
- Newsgroups: comp.os.minix
- Subject: Re: Question init.c <--> /etc/utmp
- Keywords: init login utmp wtmp
- Message-ID: <8357@sirius.ucs.adelaide.edu.au>
- Date: 28 Aug 92 12:17:58 GMT
- References: <meulenbr.714819852@cstw168> <8341@sirius.ucs.adelaide.edu.au> <1992Aug27.120305.1001@email.tuwien.ac.at>
- Sender: news@ucs.adelaide.edu.au
- Organization: University of Adelaide, South Australia
- Lines: 34
- Nntp-Posting-Host: iagu.itd.adelaide.edu.au
-
- In article <1992Aug27.120305.1001@email.tuwien.ac.at> hp@vmars.tuwien.ac.at (Peter Holzer) writes:
- >newton@iagu.itd.adelaide.edu.au (Mark Newton) writes:
- >
- >>There's a call to time() that looks something like "ut.ut_time = time()"
- >>which doesn't work due to the fact that init.c doesn't #include <time.h>.
- >
- >Is init different on 68k and PC-Minix? Init.c on PC-Minix 1.5 _does_
- >include <time.h> and the parameter is (time_t *)0, so there is no
- >problem.
-
- Hmm... must be different. That one-line bug has been present ever
- since I first installed the Prentice-Hall distribution. Whenver I install
- upgrade patches I always have to go back over init and make sure that
- it's #include'ing time.h.
-
- I'm actually quite surprised that nobody else has mentioned it (which is
- part of the reason why I didn't; The other part of the reason was that
- my net access isn't exactly reliable). It's really and obvious bug, and
- one that I'd have thought would have been canvassed before.
-
- >Byte ordering has nothing to do with that. The upper 16 bits of the
-
- Hmm. Like you, I thought that the PC init.c was the same as the m68k
- init.c (or is it a problem perculiar to Amiga MINIX?). I was simply
- postulating possibilities.
-
- - mark
-
-
- --
- ------------------------------------------------------------------
- 'Do not expose your LaserWriter to naked flame...'
- newton@iagu.itd.adelaide.edu.au - Apple LaserWriter Manual
- ------------------------------------------------------------------
-