[Remind-Fans] rem2ps patch

René van Bevern rvb at pro-linux.de
Fri Jul 29 06:45:17 EDT 2005


tags 320415 patch
thanks

Hi,

it's not much of a patch. Basically, rem2ps put the additional ] in
when the "remind -p" lines ended in blanks. The attached patch
should solve the issue.

    René van Bevern,
      http://progn.org

-------------- next part --------------
Do not print closing bracket if a "remind -p" entry ends in space
characters. It is already printed as a part of the invoked finish:
label, which results in an additional bracket that corrupts the
generated PostScript.
				René van Bevern <rvb at pro-linux.de>

diff -Nur remind-03.00.23/src/rem2ps.c remind-03.00.23.new/src/rem2ps.c
--- remind-03.00.23/src/rem2ps.c	2005-07-29 12:24:53.000000000 +0200
+++ remind-03.00.23.new/src/rem2ps.c	2005-07-29 12:25:05.000000000 +0200
@@ -643,7 +643,6 @@
 	    PutChar(')');
 	    while(isspace((unsigned char)*s)) s++;
 	    if (!*s) {
-		printf("]\n");
 		goto finish;
 	    }
 	    PutChar('(');
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20050729/17852c5c/attachment.pgp>


More information about the Remind-fans mailing list