lehors@modja.inria.fr (Arnaud Le Hors) (10/18/90)
Here is a very little patch to the xpm2.4 library. In the XWritePixmapFile function the file wasn't always closed. -- Arnaud LE HORS BULL Research FRANCE -- Koala Project | Email : lehors@mirsa.inria.fr Inria - Sophia Antipolis | Phone : (33) 93 65 77 71 2004, Route des Lucioles | Telex : 97 00 50 F 06565 Valbonne CEDEX France | Fax : (33) 93 65 77 66 ---- cut here xpm-2.4-to-2.5.patch Go into the XPM v2.4 source directory, and pipe this file into "patch -p" You may want to clean the directory afterwards by a: find . \( -name \*.orig -o -size 0 \) -exec rm {} \; diff -c0 -r -N ./Makefile /tmp/xpm-new/Makefile *** ./Makefile Wed Oct 17 17:45:03 1990 --- /tmp/xpm-new/Makefile Wed Oct 17 17:45:01 1990 *************** *** 4,4 **** ! # $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 4,4 ---- ! # $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./README /tmp/xpm-new/README *** ./README Wed Oct 17 17:45:03 1990 --- /tmp/xpm-new/README Wed Oct 17 17:45:01 1990 *************** *** 1,1 **** ! $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 1,1 ---- ! $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./XCrPFData.c /tmp/xpm-new/XCrPFData.c *** ./XCrPFData.c Wed Oct 17 17:45:03 1990 --- /tmp/xpm-new/XCrPFData.c Wed Oct 17 17:45:01 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./XRdPixF.c /tmp/xpm-new/XRdPixF.c *** ./XRdPixF.c Wed Oct 17 17:45:03 1990 --- /tmp/xpm-new/XRdPixF.c Wed Oct 17 17:45:01 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./XWrPixF.c /tmp/xpm-new/XWrPixF.c *** ./XWrPixF.c Wed Oct 17 17:45:04 1990 --- /tmp/xpm-new/XWrPixF.c Wed Oct 17 17:45:01 1990 *************** *** 6,6 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 6,6 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ *************** *** 266,266 **** ! free(mdata); --- 266,266 ---- ! mclose(mdata); diff -c0 -r -N ./create.c /tmp/xpm-new/create.c *** ./create.c Wed Oct 17 17:45:04 1990 --- /tmp/xpm-new/create.c Wed Oct 17 17:45:01 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./demo.c /tmp/xpm-new/demo.c *** ./demo.c Wed Oct 17 17:45:04 1990 --- /tmp/xpm-new/demo.c Wed Oct 17 17:45:01 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./free.c /tmp/xpm-new/free.c *** ./free.c Wed Oct 17 17:45:04 1990 --- /tmp/xpm-new/free.c Wed Oct 17 17:45:01 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./mio.c /tmp/xpm-new/mio.c *** ./mio.c Wed Oct 17 17:45:04 1990 --- /tmp/xpm-new/mio.c Wed Oct 17 17:45:01 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./value.c /tmp/xpm-new/value.c *** ./value.c Wed Oct 17 17:45:05 1990 --- /tmp/xpm-new/value.c Wed Oct 17 17:45:02 1990 *************** *** 27,27 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 27,27 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./visual.c /tmp/xpm-new/visual.c *** ./visual.c Wed Oct 17 17:45:05 1990 --- /tmp/xpm-new/visual.c Wed Oct 17 17:45:02 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./xpm.h /tmp/xpm-new/xpm.h *** ./xpm.h Wed Oct 17 17:45:05 1990 --- /tmp/xpm-new/xpm.h Wed Oct 17 17:45:02 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./xpm.tex /tmp/xpm-new/xpm.tex *** ./xpm.tex Wed Oct 17 17:45:05 1990 --- /tmp/xpm-new/xpm.tex Wed Oct 17 17:45:02 1990 *************** *** 5,5 **** ! % $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 5,5 ---- ! % $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $ diff -c0 -r -N ./xpmP.h /tmp/xpm-new/xpmP.h *** ./xpmP.h Wed Oct 17 17:45:05 1990 --- /tmp/xpm-new/xpmP.h Wed Oct 17 17:45:02 1990 *************** *** 7,7 **** ! * $Id: xpm.shar,v 2.4 90/09/06 14:36:25 lehors Exp $ --- 7,7 ---- ! * $Id: xpm.shar,v 2.5 90/10/17 17:22:35 lehors Exp $