about summary refs log tree commit diff stats
path: root/src/LYPrint.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-11-04 02:46:35 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1999-11-04 02:46:35 -0500
commit0f88481e93b50612489cc8e5b1ca365196439373 (patch)
treee56049a7eac3b450ab323c1037e1bf8c02f6b306 /src/LYPrint.c
parent2d161b7d97cebd6f38885cf69933291fec6b4381 (diff)
downloadlynx-snapshots-0f88481e93b50612489cc8e5b1ca365196439373.tar.gz
snapshot of project "lynx", label v2-8-3dev_14
Diffstat (limited to 'src/LYPrint.c')
-rw-r--r--src/LYPrint.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/LYPrint.c b/src/LYPrint.c
index 03ea1b04..6f660812 100644
--- a/src/LYPrint.c
+++ b/src/LYPrint.c
@@ -770,12 +770,13 @@ PRIVATE void send_file_to_mail ARGS3(
     if (keypad_mode)
 	printlist(outfile_fp, FALSE);
 
+#if defined(WIN_EX) || defined(__DJGPP__)
 #if defined(WIN_EX)	/* 1998/08/17 (Mon) 16:29:49 */
-    buffer = NULL;
     if (mail_is_blat)
 	HTSprintf0(&buffer, "%s %s -t \"%s\"",
 		system_mail, my_temp, user_response);
     else
+#endif /* WIN_EX */
 	HTSprintf0(&buffer, "%s -t \"%s\" -F %s",
 			system_mail, user_response, my_temp);
     LYCloseTempFP(outfile_fp);	/* Close the tmpfile. */
@@ -789,9 +790,9 @@ PRIVATE void send_file_to_mail ARGS3(
     SetOutputMode( O_BINARY );
 
     LYRemoveTemp(my_temp); /* Delete the tmpfile. */
-#else /* !WIN_EX */
+#else /* !WIN_EX && !__DJGPP__ */
     pclose(outfile_fp);
-#endif
+#endif /* WIN_EX || __DJGPP__ */
 #endif /* VMS */
 
 done:	/* send_file_to_mail() */