OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264b4d3
)
2003-10-21 Andrew Cagney <cagney@redhat.com>
author
cagney
<cagney>
Tue, 21 Oct 2003 20:41:43 +0000
(20:41 +0000)
committer
cagney
<cagney>
Tue, 21 Oct 2003 20:41:43 +0000
(20:41 +0000)
* callback.c (os_truncate): Call "truncate", and not "stat".
sim/common/ChangeLog
patch
|
blob
|
history
sim/common/callback.c
patch
|
blob
|
history
diff --git
a/sim/common/ChangeLog
b/sim/common/ChangeLog
index
4d4a2fd
..
9e316d9
100644
(file)
--- a/
sim/common/ChangeLog
+++ b/
sim/common/ChangeLog
@@
-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".
diff --git
a/sim/common/callback.c
b/sim/common/callback.c
index
b225481
..
aa2cf07
100644
(file)
--- a/
sim/common/callback.c
+++ b/
sim/common/callback.c
@@
-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