bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diffutils: diffs to support Win (Cr/Lf) and Mac (Cr) line endings


From: Amores Perros
Subject: diffutils: diffs to support Win (Cr/Lf) and Mac (Cr) line endings
Date: Tue, 10 Oct 2006 20:23:50 -0400

(Per Paul's suggesting, posting patch here -- changelog below
and unified diffs attached.)


2006-10-10 Perry Rapp <address@hidden>

        * diff.c diff.h io.c sdiff.c util.c

        Revise to handle Windows lines (\r\n) and Mac lines (\r).
        This entailed modifying all line loops that looked only
        for \n to instead look for \n or \r not followed by \n.
        Extensive revisions to find_and_hash_each_line and line_diff.

Attachment: diff.c.diff
Description: Binary data

Attachment: diff.h.diff
Description: Binary data

Attachment: io.c.diff
Description: Binary data

Attachment: sdiff.c.diff
Description: Binary data

Attachment: util.c.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]