]> git.pld-linux.org Git - packages/eps.git/commitdiff
- deal with CR+LF (patch from abiword)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 31 Oct 2003 12:55:39 +0000 (12:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eps-crlf.patch -> 1.1

eps-crlf.patch [new file with mode: 0644]

diff --git a/eps-crlf.patch b/eps-crlf.patch
new file mode 100644 (file)
index 0000000..d51eae3
--- /dev/null
@@ -0,0 +1,13 @@
+diff -Naur eps-1.2/buffer.c eps-1.2.mod/buffer.c
+--- eps-1.2/buffer.c   Sun Sep 29 04:09:39 2002
++++ eps-1.2.mod/buffer.c       Fri Dec 13 18:04:12 2002
+@@ -155,6 +155,9 @@
+         }
+         else if (*p == '\n') {
++           if (bb->ulen) {
++              if (*(p - 1) == '\r') bb->ulen--;
++           }
+            fn = 1;
+            bb->clen++;
+            break;
This page took 0.086368 seconds and 4 git commands to generate.