lkml.org 
[lkml]   [2009]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-10-18 23:28    [W:0.036 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site