ld: remove stray debug fprintf
In this commit:
commit ace667e59a
Date: Mon Jul 18 21:00:00 2016 +0100
ld: Restore file offset after a plugin fails to claim a file
I inadvertently left in a stray fprintf call. Removed in this commit.
ld/ChangeLog:
* testplugin.c (record_read_length): Remove debug fprintf.
This commit is contained in:
parent
b0e4d2bd9b
commit
a364a116f9
@ -1,3 +1,7 @@
|
|||||||
|
2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
|
* testplugin.c (record_read_length): Remove debug fprintf.
|
||||||
|
|
||||||
2021-02-14 Alan Modra <amodra@gmail.com>
|
2021-02-14 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/ld-cdtest/cdtest.exp,
|
* testsuite/ld-cdtest/cdtest.exp,
|
||||||
|
@ -176,10 +176,7 @@ record_read_length (const char *length)
|
|||||||
while (*tmp != '\0' && isdigit (*tmp))
|
while (*tmp != '\0' && isdigit (*tmp))
|
||||||
++tmp;
|
++tmp;
|
||||||
if (*tmp != '\0' || *length == '\0')
|
if (*tmp != '\0' || *length == '\0')
|
||||||
{
|
return LDPS_ERR;
|
||||||
fprintf (stderr, "APB: Bad length string: %s\n", tmp);
|
|
||||||
return LDPS_ERR;
|
|
||||||
}
|
|
||||||
|
|
||||||
bytes_to_read_before_claim = atoi (length);
|
bytes_to_read_before_claim = atoi (length);
|
||||||
return LDPS_OK;
|
return LDPS_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user