forked from Imagelibrary/binutils-gdb
2003-10-21 Andrew Cagney <cagney@redhat.com>
* callback.c (os_truncate): Call "truncate", and not "stat".
This commit is contained in:
@@ -420,7 +420,7 @@ os_truncate (p, file, len)
|
||||
const char *file;
|
||||
long len;
|
||||
{
|
||||
return wrap (p, stat (file, len));
|
||||
return wrap (p, truncate (file, len));
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user