home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / xdvi / patch1 < prev    next >
Encoding:
Internet Message Format  |  1989-03-10  |  1.3 KB

  1. Path: uunet!ncrlnk!ncrcae!hubcap!gatech!bloom-beacon!apple!vsi1!wyse!mikew
  2. From: mikew@wyse.wyse.com (Mike Wexler)
  3. Newsgroups: comp.sources.x
  4. Subject: v03i046:  dvi previewer, Patch1
  5. Message-ID: <2126@wyse.wyse.com>
  6. Date: 10 Mar 89 19:21:43 GMT
  7. Organization: Wyse Technology, San Jose
  8. Lines: 38
  9. Approved: mikew@wyse.com
  10.  
  11. Submitted-by: vojta@math.berkeley.edu (Paul Vojta)
  12. Posting-number: Volume 3, Issue 46
  13. Archive-name: xdvi/patch1
  14.  
  15. [Here is a patch I got right after I sent out xdvi.  I have modified
  16. it to update the patchlevel.h file -mcw]
  17.  
  18. diff -crb xdvi.old/patchlevel.h xdvi/patchlevel.h
  19. *** xdvi.old/patchlevel.h    Fri Mar 10 11:12:44 1989
  20. --- xdvi/patchlevel.h    Fri Mar 10 11:18:49 1989
  21. ***************
  22. *** 1 ****
  23. ! #define PATCHLEVEL 0
  24. --- 1 ----
  25. ! #define PATCHLEVEL 1
  26. diff -crb xdvi.old/pxl_open.c xdvi/pxl_open.c
  27. *** xdvi.old/pxl_open.c    Fri Mar 10 11:12:45 1989
  28. --- xdvi/pxl_open.c    Fri Mar 10 11:17:15 1989
  29. ***************
  30. *** 94,100 ****
  31.           f = fopen(nm, OPEN_MODE);
  32.       }
  33.       if (f != NULL) {
  34. !         *name = malloc((unsigned) (n - nm));
  35.           Strcpy(*name, nm);
  36.       }
  37.       return(f);
  38. --- 94,100 ----
  39.           f = fopen(nm, OPEN_MODE);
  40.       }
  41.       if (f != NULL) {
  42. !           *name = malloc((unsigned) (n - nm + 1));
  43.           Strcpy(*name, nm);
  44.       }
  45.       return(f);
  46. -- 
  47. Mike Wexler(wyse!mikew)    Phone: (408)433-1000 x1330
  48. Moderator of comp.sources.x
  49.