Article View: news.software.readers
Article #39038Re: [slrn] Bug with 0.9.4.6 or my mistake
From: Chin Huang
Date: Mon, 23 Feb 1998 00:00
Date: Mon, 23 Feb 1998 00:00
55 lines
2432 bytes
2432 bytes
In article <RBDN3671B3B6@RBednarski.infotech-isp.net>, Ralph D. Bednarski wrote:
>I'm using SLRN 0.9.4.6 win32 port with Windows NT. I found, that I
>cannot (easily) reply to an article, as the FROM is missing. I must
>say, that I use the SENDSMTP, which is part of the SLRN distribution.
It's a bug. I put a fixed executable on http://www.vex.net/~cthuang/slrn/
Here's the patch to fix the bug.
Index: slrn/src/art.c
diff -u slrn/src/art.c:1.1.1.1 slrn/src/art.c:1.2
--- slrn/src/art.c:1.1.1.1 Mon Feb 23 01:48:00 1998
+++ slrn/src/art.c Mon Feb 23 01:54:14 1998
@@ -2731,7 +2731,7 @@
fprintf (fp, "To: %s\nSubject: Fwd: %s\n",
to, subject == NULL ? "" : subject);
-#if defined(IBMPC_SYSTEM)
+#if SLRN_GEN_FROM_EMAIL_HEADER
fprintf (fp, "From: %s@%s (%s)\n",
Slrn_User_Info.username, Slrn_User_Info.host,
Slrn_User_Info.realname);
Index: slrn/src/slrnconf.h
diff -u slrn/src/slrnconf.h:1.1.1.1 slrn/src/slrnconf.h:1.2
--- slrn/src/slrnconf.h:1.1.1.1 Mon Feb 23 01:48:00 1998
+++ slrn/src/slrnconf.h Mon Feb 23 01:54:16 1998
@@ -88,12 +88,6 @@
# endif
#endif
-#if defined(__NT__)
-# ifndef IBMPC_SYSTEM
-# defined IBMPC_SYSTEM
-# endif
-#endif
-
#if defined(IBMPC_SYSTEM) || defined (__DECC) || defined(VAXC)
# define HAVE_STDLIB_H 1
#else
Index: slrn/src/slrnfeat.h
diff -u slrn/src/slrnfeat.h:1.1.1.1 slrn/src/slrnfeat.h:1.2
--- slrn/src/slrnfeat.h:1.1.1.1 Mon Feb 23 01:48:00 1998
+++ slrn/src/slrnfeat.h Mon Feb 23 01:54:16 1998
@@ -92,7 +92,7 @@
#endif
/* If non-zero, slrn will add From header to mail messages. */
-#if defined(__os2__) || defined(__NT__)
+#if defined(IBMPC_SYSTEM)
# define SLRN_GEN_FROM_EMAIL_HEADER 1
#else
# define SLRN_GEN_FROM_EMAIL_HEADER 0
Technical Details
Message-ID:
<slrn6f2811.76t.cthuang@vex.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<RBDN3671B3B6@RBednarski.infotech-isp.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn6f2811.76t.cthuang@vex.net> Subject: Re: [slrn] Bug with 0.9.4.6 or my mistake Date: Mon, 23 Feb 1998 00:00:00 +0000 From: cthuang@interlog.com (Chin Huang) References: <RBDN3671B3B6@RBednarski.infotech-isp.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 327745350 X-Complaints-To: news@trends.ca X-Trace: news.trends.ca 888217634 17283 (None) 198.96.119.193 Organization: @trends.ca Newsgroups: news.software.readers