Article View: comp.sources.d
Article #1214xv patch level 3 -autogamma bug
From: Doug Washburn
Date: Thu, 13 Dec 1990 19:52
Date: Thu, 13 Dec 1990 19:52
30 lines
1256 bytes
1256 bytes
After compiling the source for xv patch level 3, I noticed that the -autogamma
option still doesn't work. The following context diff shows what to patch to
make it work.
---------------------------- Cut Here ------------------------------
*** xv.c.pl3 Thu Dec 13 11:29:32 1990
--- xv.c Thu Dec 13 11:35:33 1990
***************
*** 282,288
}
}
! else if (!strncmp(argv[i],"-as",2)) { /* default aspect */
int n,d;
if (++i<argc) {
if (sscanf(argv[i],"%d:%d",&n,&d)!=2 || n<1 || d<1)
--- 282,288 -----
}
}
! else if (!strncmp(argv[i],"-as",3)) { /* default aspect */
int n,d;
if (++i<argc) {
if (sscanf(argv[i],"%d:%d",&n,&d)!=2 || n<1 || d<1)
---------------------------- Cut Here ------------------------------
Doug Washburn
washburn@hpda.cup.hp.com
(408) 447-6089
Technical Details
Message-ID:
<-286639993@hpcupt1.cup.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpda!hpcupt1!washburnShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpda!hpcupt1!washburn From: washburn@hpcupt1.cup.hp.com (Doug Washburn) Newsgroups: comp.sources.d Subject: xv patch level 3 -autogamma bug Message-ID: <-286639993@hpcupt1.cup.hp.com> Date: 13 Dec 90 19:52:11 GMT Organization: Hewlett Packard, Cupertino Lines: 30