projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* ldlex.l: Use fread instead of read.
[deliverable/binutils-gdb.git]
/
ld
/
ldlex.l
diff --git
a/ld/ldlex.l
b/ld/ldlex.l
index 95a31f5a64a120adac9baf512dbbc52677a7bd5f..9f127f96d506ba16be67ce6197bee901454194a0 100644
(file)
--- a/
ld/ldlex.l
+++ b/
ld/ldlex.l
@@
-1,7
+1,7
@@
%{
%{
-/* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001
- Free Software Foundation, Inc.
+/* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+
2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
This file is part of GLD, the Gnu Linker.
@@
-595,7
+595,7
@@
yy_input (buf, result, max_size)
{
if (yyin)
{
{
if (yyin)
{
- *result =
read (fileno (yyin), (char *) buf, max_size
);
+ *result =
fread ((char *) buf, 1, max_size, yyin
);
if (*result < 0)
einfo ("%F%P: read in flex scanner failed\n");
}
if (*result < 0)
einfo ("%F%P: read in flex scanner failed\n");
}
This page took
0.023858 seconds
and
4
git commands to generate.