From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,4d9f2637c8b14847,start X-Google-Attributes: gid10d4db,public From: Amit Margalit Subject: XBanner 1.2 - a bug! (patch included) Date: 1996/07/13 Message-ID: #1/1 X-Deja-AN: 168190220 organization: ? followup-to: comp.os.linux.x reply-to: amitm@netvision.net.il newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Hello all! A small bug was discovered in XBanner 1.2! It pertains only to those of you who do not have the XPM libraries, and which have commented out the line 'HAS_XPM = -lXpm' in the Makefile. So if you *DO* have the XPM library, there is no need for you to do anything. Many thanks to Evan Bursey for notifying me... The fix is so small, that I will not create a version for it, but for those who need it, here is a patch: - --------- cut here ---------- - --- xres.c_old Fri Jul 12 20:01:34 1996 +++ xres.c Fri Jul 12 13:54:41 1996 @@ -184,6 +184,7 @@ line[(int)value.size]='\0'; switch(j) { +#ifdef HAS_XPM case PX: px = atoi(line); break; @@ -202,6 +203,7 @@ else dopix = False; break; +#endif case CALC: if( strcmpi(line,"True")==0 || strcmpi(line,"Yes")==0 || - --------- cut here ---------- Sorry about that. It will appear corrected in a future version. Amit Margalit amitm@doronx.iso.dec.com -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMeeF8YQRll5MupLRAQEBUQQA2iUUQDDqIThYK3c1NEH+vnurb4pLNuXM ATQUxH74dfWyJAuTdUBCkTUhOamtZKOQmAsRn59st47pkhJVe3GuW56r3ARif1wV E7QHzRoiRehIQGlc2ked77U4szLJZMfeFNZcrzY67YQj4KhnjXCW+IPlX/QqFReY Nj9ZazKe72o= =udUm -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.