[comp.windows.x] Fast patch for 6.0b

dl2n+@andrew.cmu.edu (Daniel Edward Lovinger) (07/10/90)

	One of these days, I will refrain from making a quickie fix
before releasing code, but here is a patch to fix a stooopid mistake
in the 6.0b code. Please apply this. I will be updating the archives
on expo as soon as they come back up on the network (ftp is failing at
the moment). The 'bad' archives are dated *prior* to 5:00pm 7/9/90. If
you have gotten those, apply this patch. If the archives you retrieve
are dated sometime later, this is unnecesary.

	Sorry about the confusion ...


				dan

----------------
*** resource.c~ Mon Jul  9 17:04:19 1990
--- resource.c  Mon Jul  9 16:59:55 1990
***************
*** 53,59 ****
    int           i;                    /* Index into font path list */
    struct stat   statbuf;

!   if (!stat(path, &statbuf)) {
      fprintf(stderr, "Cannot stat(2) %s for player on %s.\nXtrek font may not load properly.\n", element, p->p_monitor);
      return;
    }
--- 53,59 ----
    int           i;                    /* Index into font path list */
    struct stat   statbuf;

!   if (stat(element, &statbuf)) {
      fprintf(stderr, "Cannot stat(2) %s for player on %s.\nXtrek font may not load properly.\n", element, p->p_monitor);
      return;

wf08+@andrew.cmu.edu (William Frank) (07/10/90)

Mr. Lovinger has made a small mistake and asked me to post the
following.  It is what the patch was supossed to be, instead of what he
posted.  If this still doesn't work, flame him, not me.  Excuse his
bozoness:

-will

----------------
*** resource.c~ Mon Jul  9 17:04:19 1990
--- resource.c  Mon Jul  9 16:59:55 1990
***************
*** 53,59 ****
    int           i;                    /* Index into font path list */
    struct stat   statbuf;

!   if (!stat(element, &statbuf)) {
      fprintf(stderr, "Cannot stat(2) %s for player on %s.\nXtrek font
may not load properly.\n", element, p->p_monitor);
      return;
    }
--- 53,59 ----
    int           i;                    /* Index into font path list */
    struct stat   statbuf;

!   if (stat(element, &statbuf)) {
      fprintf(stderr, "Cannot stat(2) %s for player on %s.\nXtrek font
may not load properly.\n", element, p->p_monitor);
      return;