168c168
<   if ((homedir=getenv("HOME")) == NULL) return;
---
>   if ((homedir=getenv("home")) == null) return;
523a524
> 	/* (we actually draw a little jack) */ 
717a719
> 
722,726c724,728
<   FILE *fp;
< #define BUFSIZE 80
< #define MAXPOINTS
<   char buf[BUFSIZE+1];
<   int n, *newpt=(int*)malloc(4*MAXPOINTS*sizeof(int));
---
>   file *fp;
> #define bufsize 80
> #define maxpoints
>   char buf[bufsize+1];
>   int n, *newpt=(int*)malloc(4*maxpoints*sizeof(int));
728,729c730,731
<   if (newpt == NULL) return(0);
<   if ( (fp = fopen(file, "r")) == NULL ) return(0);
---
>   if (newpt == null) return(0);
>   if ( (fp = fopen(file, "r")) == null ) return(0);
731c733
<   while ((n<maxpoints) && (fgets(buf, BUFSIZE, fp) != null))
---
>   while ((n<maxpoints) && (fgets(buf, bufsize, fp) != null))
746c748
< #define BUFSIZE 80
---
> #define bufsize 80
