mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-06 15:38:45 +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>
|
||||
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user