On Tue, 11 Dec 2001, Umesh Vaishampayan wrote:
Now that VM supports 64 bit data paths, the code above can be removed.
Radar #2660080: UFS limits a file to 4GB
was filed to track this issue.
Can fs_maxfilesize ever be less than the file system size besides this particular case? If so, then the second bug is still an issue. The second bug is this: 1. upon reaching fs_maxfilesize bytes, somewhere in either the kernel or libc, the error return is getting lost, and the process is getting a return value of success(0) for the fputs call, rather than EOF (-1) to indicate an error. 2. errno is not getting set correctly. It should be EFBIG (27), but instead it is 0. This is probably caused by #1. Later, David --------------------------------------------------------------------- Check out my weekly web comic: http://www.techmagazine.org
participants (1)
-
David A. Gatwood