mikew@wyse.wyse.com (Mike Wexler) (03/11/89)
Submitted-by: vojta@math.berkeley.edu (Paul Vojta) Posting-number: Volume 3, Issue 46 Archive-name: xdvi/patch1 [Here is a patch I got right after I sent out xdvi. I have modified it to update the patchlevel.h file -mcw] diff -crb xdvi.old/patchlevel.h xdvi/patchlevel.h *** xdvi.old/patchlevel.h Fri Mar 10 11:12:44 1989 --- xdvi/patchlevel.h Fri Mar 10 11:18:49 1989 *************** *** 1 **** ! #define PATCHLEVEL 0 --- 1 ---- ! #define PATCHLEVEL 1 diff -crb xdvi.old/pxl_open.c xdvi/pxl_open.c *** xdvi.old/pxl_open.c Fri Mar 10 11:12:45 1989 --- xdvi/pxl_open.c Fri Mar 10 11:17:15 1989 *************** *** 94,100 **** f = fopen(nm, OPEN_MODE); } if (f != NULL) { ! *name = malloc((unsigned) (n - nm)); Strcpy(*name, nm); } return(f); --- 94,100 ---- f = fopen(nm, OPEN_MODE); } if (f != NULL) { ! *name = malloc((unsigned) (n - nm + 1)); Strcpy(*name, nm); } return(f); -- Mike Wexler(wyse!mikew) Phone: (408)433-1000 x1330 Moderator of comp.sources.x