mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
2003-10-21 Andrew Cagney <cagney@redhat.com>
* callback.c (os_truncate): Call "truncate", and not "stat".
This commit is contained in:
@ -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>
|
2003-10-20 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* sim-base.h: Replace "struct sec" with "struct bfd_section".
|
* sim-base.h: Replace "struct sec" with "struct bfd_section".
|
||||||
|
@ -420,7 +420,7 @@ os_truncate (p, file, len)
|
|||||||
const char *file;
|
const char *file;
|
||||||
long len;
|
long len;
|
||||||
{
|
{
|
||||||
return wrap (p, stat (file, len));
|
return wrap (p, truncate (file, len));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Reference in New Issue
Block a user