Messages in this thread | | | Date | Wed, 23 Sep 2009 10:18:39 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH] fs: change sys_truncate/sys_ftruncate length parameter type |
| |
On Wed, 23 Sep 2009, H. Peter Anvin wrote: > > I would argue that the current behavior is, if not incorrect (we define our > own ABI after all) at least unwanted (we want our ABI to be as close as > practical to the POSIX API.)
I think we care a WHOLE LOT more about binary compatibility than we care about some POSIX case for a braindamaged and fundamentally broken system call anyway.
The thing is, ftruncate() should take loff_t these days, so the old POSIX language is about a pointless system call where the _only_ thing that matters is legacy - and that legacy trumps any POSIX concerns.
Linus
| |