🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Chin Huang Mon, 23 Feb 1998 00:00
Re: [slrn] Bug with 0.9.4.6 or my mistake
#39038
Author: Chin Huang
Date: Mon, 23 Feb 1998 00:00
55 lines
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

Re: [slrn] Bug with 0.9.4.6 or my mistake
#39102
Author: Bill McCarthy
Date: Wed, 25 Feb 1998 00:00
30 lines
1527 bytes
On 23 Feb 1998 07:07:14 GMT, Chin Huang wrote:
>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);

Chin,

I can recognize a bit of C here and there, but what is this?

-- 

Bill McCarthy
Wendell, NC
USA

Re: [slrn] Bug with 0.9.4.6 or my mistake
#39120
Author: Scott Sellers
Date: Wed, 25 Feb 1998 00:00
32 lines
1792 bytes
Bill McCarthy <Bill.McCarthy@pobox.com>:
>On 23 Feb 1998 07:07:14 GMT, Chin Huang wrote:
>>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);
>
>Chin,
>
>I can recognize a bit of C here and there, but what is this?
>
Hey all: maybe it would be a good idea to start putting "win32" into the
subject lines of posts strictly concerning that port of SLRN.

-- 
Scott Sellers  |
(sds@cts.com)  |

Re: [slrn] Bug with 0.9.4.6 or my mistake
#39144
Author: Scott Sellers
Date: Thu, 26 Feb 1998 00:00
25 lines
1704 bytes
Bill McCarthy <Bill.McCarthy@pobox.com>:
>On 25 Feb 1998 20:38:27 GMT, Scott Sellers wrote:
>
>>Hey all: maybe it would be a good idea to start putting "win32" into the
>>subject lines of posts strictly concerning that port of SLRN.
>
>You are responding to my question regarding the patch program.  I have
>encountered patch scripts before and am looking for a description of
>it's syntax and info on where to get a copy.
>
>Sorry, I didn't know it was a Windoze thing.
>
I was responding in part to your denial of any knowledge of what a patch
is, coming on the heels of your previous griping about gzip and tar.  If
you really want help, you should lose the provincial OS war mentality.
More important, I'm suggesting that win32 port specific questions, bug
reports, and fixes be labeled clearly as such, so as not to be
misleading to the wider slrn audience.

-- 
Scott Sellers  |
(sds@cts.com)  |

Re: [slrn] Bug with 0.9.4.6 or my mistake
#39145
Author: Bill McCarthy
Date: Thu, 26 Feb 1998 00:00
19 lines
1192 bytes
On 25 Feb 1998 20:38:27 GMT, Scott Sellers wrote:

>Hey all: maybe it would be a good idea to start putting "win32" into the
>subject lines of posts strictly concerning that port of SLRN.

You are responding to my question regarding the patch program.  I have
encountered patch scripts before and am looking for a description of
it's syntax and info on where to get a copy.

Sorry, I didn't know it was a Windoze thing.

-- 

Bill McCarthy
Wendell, NC
USA

patch (was Re: [slrn] Bug with 0.9.4.6 or my mistake)
#39147
Author: Paul Kimoto
Date: Thu, 26 Feb 1998 00:00
18 lines
1603 bytes
In article <6d2kvr$be0$1@pinta.pagesz.net>, Bill McCarthy wrote:
> You are responding to my question regarding the patch program.  I have
> encountered patch scripts before and am looking for a description of
> [its] syntax and info on where to get a copy.

Colloqually, "patch" is a GNU (i.e., Free Software unix, from
ftp://prep.ai.mit.edu/pub/gnu) program that accepts patches produced by the
(unix?) "diff" program.  According to its README file, though, it has a
POSIX.2 spec and the GNU implementaion compiles on MS-DOS using the DJGPP
tools.

-- 
|||    "It was not granted you to complete the task, and           |||
|||     yet you may not give it up."      --Rabbi Tarfon           |||
|  Paul Kimoto                     <kimoto@spacenet.tn.cornell.edu>  |

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads