2003-10-21 Andrew Cagney <cagney@redhat.com>
* callback.c (os_truncate): Call "truncate", and not "stat".
This commit is contained in:
parent
af9ba62190
commit
ee3073b541
@ -1,3 +1,7 @@
|
||||
2003-10-21 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* callback.c (os_truncate): Call "truncate", and not "stat".
|
||||
|
||||
2003-10-20 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* sim-base.h: Replace "struct sec" with "struct bfd_section".
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user