Public bug reported:
Fix the checking of fread return value
On success, fread() and fwrite() return the number of items read or
written, not the number of bytes transferred.
Also removed some redundant DOS newline character.
This error is introduced by `upstream/3.2.2_dfsg0`.
** Affects: drc (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "fread-return-value.diff"
https://bugs.launchpad.net/bugs/1830555/+attachment/5266832/+files/fread-return-value.diff
** Description changed:
Fix the checking of fread return value
- On success, fread() and fwrite() return the number of items read or written,
not
- the number of bytes transferred.
+ On success, fread() and fwrite() return the number of items read or
+ written, not the number of bytes transferred.
Also removed some redundant DOS newline character.
This error is introduced by `upstream/3.2.2_dfsg0`.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830555
Title:
Incorrect checking of fread return value
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/drc/+bug/1830555/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs