FreeBSD 3.2

Mick Dwyer <>
Fri Aug 6 01:38:20 CEST 1999


> 
> I've been having some trouble with erlang 47.4.1 + Mnesia on
> FreeBSD 3.2. It appears as if pwrite() isn't working
> correctly on FreeBSD 3.2.
> For example the following program coredumps.
> 
> #include <sys/types.h>
> #include <sys/uio.h>
> #include <unistd.h>
> main() { pwrite(0, "abc", 3, 0); exit(0); }
> 
> The call to pwrite() should simply fail (0 is not a seekable device), 
> not coredump.

The above code works on my 3.2 box. (FreeBSD amber.serc.rmit.edu.au 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Wed Jul  7 13:41:45 EST 1999     :/usr/src/sys/compile/FBSDX  i386)

However, the code does not link on 2.2.8 or 3.1-RELEASE.

-- 
Mick Dwyer

-==================================================================-
 Software Engineering Research Centre              Phone: 9925-4026
 Level 3,                                            Fax: 9925-4094
 110 Victoria Street,                        
 Melbourne, Australia.                  http://www.serc.rmit.edu.au
-==================================================================-



More information about the erlang-questions mailing list