Bug#3202: dviljk doesn't read stdin!!! :-(
Package: dviljk
Version: 2.5-3
cat file.dvi|dvilj - should work but doesn't. It complains of an
invalid null option. I'm surprized to see such a bug :-( Here's a
patch.
--- dviljk-2.5/dviljk/dvi2xx.c Sun Jan 8 15:22:13 1995
+++ /home/carlos/dvi2xx.c Mon Jun 3 17:10:13 1996
@@ -1568,7 +1568,7 @@
argind = 1;
while (argind < argc) {
tcp = argv[argind];
- if (*tcp == '-') {
+ if (*tcp == '-' && argind < argc - 1) {
++tcp;
switch (*tcp) {
#ifdef IBM3812
Carlos
Reply to: