Opened 15 years ago

Closed 15 years ago

#4647 closed bug (fixed)

Fix fgetln() in libbsd to actually set it's length pointer argument

Reported by: joshe Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

fgetln() takes a size_t pointer as it's second argument, ostensibly to communicate the length of the returned string. Haiku's fgetln() implementation however ignores the second argument completely. Attached is a patch which corrects this.

Attachments (1)

fgetln.patch (859 bytes ) - added by joshe 15 years ago.

Download all attachments as: .zip

Change History (2)

by joshe, 15 years ago

Attachment: fgetln.patch added

comment:1 by stippi, 15 years ago

Resolution: fixed
Status: newclosed

Applied in hrev33315. Thanks a lot!

Note: See TracTickets for help on using tickets.