Opened 20 years ago

Closed 20 years ago

Last modified 6 years ago

#8364 closed patch

Making File::gets() more well-defined

Reported by: eriktorbjorn Owned by: sev-
Priority: normal Component: --Other--
Version: Keywords:
Cc: Game: Broken Sword 2

Description

Since I have a feeling the current File::gets() isn't well-defined for all kinds of line breaks, here's one that should be.

I've tried it on a couple of test files, and on the BS2 credits, and it seems to work.

Ticket imported from: #1048693. Ticket imported from: patches/469.

Attachments (1)

gets.diff (1.5 KB ) - added by eriktorbjorn 20 years ago.
Patch against an October 16 CVS snapshot

Download all attachments as: .zip

Change History (5)

by eriktorbjorn, 20 years ago

Attachment: gets.diff added

Patch against an October 16 CVS snapshot

comment:1 by eriktorbjorn, 20 years ago

Owner: set to sev-

comment:2 by sev-, 20 years ago

Works perfectly. Thanks.

comment:3 by sev-, 20 years ago

Status: newclosed

comment:4 by digitall, 6 years ago

Component: --Other--
Game: Broken Sword 2
Note: See TracTickets for help on using tickets.