bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: storeread segfault...


From: Marcus Brinkmann
Subject: Re: storeread segfault...
Date: Thu, 11 Mar 2004 17:51:52 +0100
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Tue, 9 Mar 2004 06:08:36 +0100 (MET),
ams wrote:
> 
> storeread segfaults if you don't pass a argument to it.
> 
> hurd:/home/ams/hurd/hurd.obj/utils# storeread
> Segmentation fault (core dumped)
> 
> The following patch fixes that, and it also updates the docstring a
> bit.  It also makes storeread barf if you pass it >3 arguments (there
> is no point in passing more).

Does this patch first process the arguments and dump something, and
then fail with too many arguments?  That would not so useful
behaviour.  It's better to make consistency checks early and fail
without doing anything here, I think.

Your patch also doesn't apply because you converted tabs to spaces.

Thanks,
Marcus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]