nmh-workers
[Top] [All Lists]

Re: mark bug

1998-01-20 12:06:26

Richard Coleman writes:

I just noticed that if I pass mark a very long list of messages (say a
few hundred) it appears to silently die.

Looking at the code, the number of command line arguments to mark
(and most other nmh commands) is limited to 1000.  Fixing this will
be messy.  But I'll think about this some more.

At the very least, maybe it could error out intelligently rather than
bombing in an undefined and ugly manner?

(Though, really, its easy enough to just malloc an array to process
arguments based on argc rather than statically allocating, isn't it?
Sorry that I haven't glanced at the code before this off the cuff --
I'll have a look myself later.)

Perry


From nobody(_at_)nowhere  Sun Aug 01 16:48:40 2004
(Message inbox:37)
Return-Path: nmh-workers-request(_at_)math(_dot_)gatech(_dot_)edu 
Received: from bolero-x.rahul.net (root(_at_)bolero(_dot_)rahul(_dot_)net 
[192.160.13.1])
        by gbr.newt.com (8.8.5/8.8.5) with SMTP id LAA02383
        for <wohler(_at_)newt(_dot_)com>; Tue, 20 Jan 1998 11:06:26 -0800
Received: from free.rahul.net by bolero-x.rahul.net with SMTP id AA03178
  (5.67b8/IDA-1.5 for <wohler(_at_)newt(_dot_)com>); Tue, 20 Jan 1998 11:06:25 
-0800
Received: from math.gatech.edu [130.207.146.50] (list)
        by free.rahul.net with esmtp (Exim 1.71 #10)
        id 0xuj09-0003rC-00; Tue, 20 Jan 1998 11:06:21 -0800
Received: (from list(_at_)localhost)
        by math.gatech.edu (8.8.5/8.8.5) id NAA28783;
        Tue, 20 Jan 1998 13:47:48 -0500 (EST)
Resent-Date: Tue, 20 Jan 1998 13:47:48 -0500 (EST)
Message-Id: <199801201849(_dot_)NAA14410(_at_)jekyll(_dot_)piermont(_dot_)com>
To: Richard Coleman <coleman(_at_)math(_dot_)gatech(_dot_)edu>
Cc: nmh-workers(_at_)math(_dot_)gatech(_dot_)edu
Subject: Re: mark bug 
In-Reply-To: Your message of "Tue, 20 Jan 1998 13:12:11 EST."
             
<199801201812(_dot_)NAA23459(_at_)redwood(_dot_)math(_dot_)gatech(_dot_)edu> 
Reply-To: perry(_at_)piermont(_dot_)com
X-Reposting-Policy: redistribute only with permission
Date: Tue, 20 Jan 1998 13:49:22 -0500
From: "Perry E. Metzger" <perry(_at_)piermont(_dot_)com>
Resent-Message-Id: <"3oH7y2.0.h17.K5Fnq"@math>
Resent-From: nmh-workers(_at_)math(_dot_)gatech(_dot_)edu
X-Mailing-List: <nmh-workers(_at_)math(_dot_)gatech(_dot_)edu> 
archive/latest/740
X-Loop: nmh-workers(_at_)math(_dot_)gatech(_dot_)edu
Precedence: list
Resent-Sender: nmh-workers-request(_at_)math(_dot_)gatech(_dot_)edu


Richard Coleman writes:

I just noticed that if I pass mark a very long list of messages (say a
few hundred) it appears to silently die.

Looking at the code, the number of command line arguments to mark
(and most other nmh commands) is limited to 1000.  Fixing this will
be messy.  But I'll think about this some more.

At the very least, maybe it could error out intelligently rather than
bombing in an undefined and ugly manner?

(Though, really, its easy enough to just malloc an array to process
arguments based on argc rather than statically allocating, isn't it?
Sorry that I haven't glanced at the code before this off the cuff --
I'll have a look myself later.)

Perry


<Prev in Thread] Current Thread [Next in Thread>
  • Re: mark bug, Perry E. Metzger <=