Bad file descriptor error

In a recent thread, I ran into several errors building ports because the file /usr/include/machine/endian.h was throwing a "bad file descriptor" error. I was able to download a working copy of the file from the source tree.

I have now run into this exact same error with another file, /usr/include/float.h.

What is causing these errors?
 
I did a clean install and couldn't reproduce those errors. I'm guessing my hard drive is bad.
 
Back
Top