*** src/transce8.c.orig	Sat Jul 26 19:20:00 1997
--- src/transce8.c	Wed Apr 29 00:56:09 1998
***************
*** 296,302 ****
  {
  	FILE    *SRCfile = stdin ;      /* Source default is stdin           */
  	FILE    *DSTfile = stdout ;     /* Dest. default is stdout           */
! 	char    *TmpName = (char *) NULL ;
  	char    *Help ;
  	int     codes ;                 /* bad code flag                     */
  	int     syntax ;                /* return code for ScanFlags ()      */
--- 296,302 ----
  {
  	FILE    *SRCfile = stdin ;      /* Source default is stdin           */
  	FILE    *DSTfile = stdout ;     /* Dest. default is stdout           */
! 	char    TmpName[40];
  	char    *Help ;
  	int     codes ;                 /* bad code flag                     */
  	int     syntax ;                /* return code for ScanFlags ()      */
***************
*** 408,418 ****
  			f_date.modtime = f_stat.st_mtime ;
  #endif
  
! 			TmpName = tmpnam ((char *) NULL) ;
! 			Help = strrchr (TmpName, '/') ;
! 			if (Help != (char *) NULL)
! 				TmpName = ++Help ;
! 			DSTfile = fopen (TmpName, "wb") ;
  			if (DSTfile == (FILE *) NULL)
  			{
  				fclose (SRCfile) ;
--- 408,416 ----
  			f_date.modtime = f_stat.st_mtime ;
  #endif
  
! 			strcpy(TmpName, "trs.XXXXXXXXXX");
! 			Help = TmpName;
! 			DSTfile = fdopen ((int) mkstemp(TmpName), "wb") ;
  			if (DSTfile == (FILE *) NULL)
  			{
  				fclose (SRCfile) ;
