Thread View: mod.computers.apollo
1 messages
1 total messages
Started by apollo
Mon, 30 Dec 1985 17:15
Re: Bug in "struct stat"
Author: apollo
Date: Mon, 30 Dec 1985 17:15
Date: Mon, 30 Dec 1985 17:15
16 lines
1472 bytes
1472 bytes
A warning, though I suspect its been discovered many times.
The header file <sys/stat.h> that we got with Aegis SR9 CC is
wrong. stat(3) (BSD4.2 version) returns a few more words
of data than the header file leaves room for. Nasty.
This does seem to be a point of confusion. The problem here is that
the sysV and bsd4.2 versions of stat() return two different structs.
In general, you have to use the right set of include files when you
compile your program. This will happen automatically unless your
/usr/include has been corrupted. In your case, I suspect that you
installed domain/ix first, then later installed the C product, which
wiped out your include files. The correct order is C first, then
domain/ix. This ought to be spelled out in the release notes.
-------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads