🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37071

first patch to f2ps.c (new xfig)

#37071
From: Brian V. Smith
Date: Tue, 20 Feb 1990 23:34
50 lines
1599 bytes
There had to be at least one mistake!
Here is a context diff for f2ps.c to rid it of it's dependency
on put_msg and CFREE/FREE.

*** f2ps.c.orig	Tue Feb 20 15:16:47 1990
--- f2ps.c	Tue Feb 20 15:15:25 1990
***************
*** 14,19
  #include "resources.h"
  #include "psfonts.h"
  
  #define		PAGE_WIDTH		612	/* points; 8.5" */
  #define		PAGE_HEIGHT		792	/* points; 11" */
  #define		POINT_PER_INCH		72

--- 14,22 -----
  #include "resources.h"
  #include "psfonts.h"
  
+ #undef cfree
+ #undef free
+ 
  #define		PAGE_WIDTH		612	/* points; 8.5" */
  #define		PAGE_HEIGHT		792	/* points; 11" */
  #define		POINT_PER_INCH		72
***************
*** 814,816
  
  	return(0);
  	}

--- 817,828 -----
  
  	return(0);
  	}
+ 
+ /*VARARGS1*/
+ put_msg(format, arg1, arg2, arg3, arg4, arg5)
+ 	char    *format;
+ 	int     arg1, arg2, arg3, arg4, arg5;
+ {
+ 	fprintf(stderr, format, arg1, arg2, arg3, arg4, arg5);
+ }
+ 


_____________________________________
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL, these non-opinions are all mine.
Technical Details
Message-ID: <4908@helios.ee.lbl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs
From: envbvs@epb2.lbl.gov (Brian V. Smith)
Newsgroups: comp.windows.x
Subject: first patch to f2ps.c (new xfig)
Keywords: context diff
Message-ID: <4908@helios.ee.lbl.gov>
Date: 20 Feb 90 23:34:29 GMT
Sender: usenet@helios.ee.lbl.gov
Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith)
Organization: lbl
Lines: 50
X-Local-Date: 20 Feb 90 15:34:29 PST