bug-groff
[Top][All Lists]
Advanced

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

xditview (1.15) patch for F commands


From: Robert Daasch
Subject: xditview (1.15) patch for F commands
Date: Wed, 03 Jan 2001 12:43:22 -0800

If the filename included a command character xditview ran into a problem
when parsing the 'F' command.  

The patch below treats the 'F' command as a comment and it is ignored.

regards,
Rob D.
===== cut here =====

diff -r -c -b xditview.orig/ChangeLog xditview/ChangeLog
*** xditview.orig/ChangeLog     Thu May 18 22:06:03 2000
--- xditview/ChangeLog  Wed Jan  3 12:27:18 2001
***************
*** 1,3 ****
--- 1,8 ----
+ 2001-01-02  R Daasch <address@hidden>
+
+       * parse.c: Added 'F' to command switch to swallow filename
strings
+       as ignored comments
+
  2000-05-18  Werner LEMBERG  <address@hidden>

        * DviChar.c: Adding `cq' as an alias for "'" in latin-1 map.
diff -r -c -b xditview.orig/parse.c xditview/parse.c
*** xditview.orig/parse.c       Sun Feb  6 01:39:02 2000
--- xditview/parse.c    Wed Jan  3 11:21:56 2001
***************
*** 139,144 ****
--- 139,145 ----
                        Newline (dw);
                        HorizontalGoto(dw, 0);
                        break;
+               case 'F':       /* input files */
                case '+':       /* continuation of X device control */
                case '#':       /* comment */
                        GetLine(dw, NULL, 0);



reply via email to

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