[Top][All Lists]

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

Re: find first and last

From: David Bateman
Subject: Re: find first and last
Date: Tue, 26 Sep 2006 15:23:38 +0200
User-agent: Thunderbird (X11/20060921)

Bill Denney wrote:
> John W. Eaton wrote:
>> On 25-Sep-2006, Bill Denney wrote:
>> | So, I decided to try my hand at some C++ coding by adding the
>> "first" and | "last" options to find to the find command.
>> I have a vague memory of someone else submitting a patch for this
>> feature, but I can't find it.  Does anyone else remember seeing mail
>> to one of the lists about this in the last couple of months?
> I thought that I recalled someone requesting it, but I didn't recall
> someone doing it.
> BTW, a bit more detail on where the problems occur:
> 1) if you use the second argument and not the third arg, it will
> seg-fault.
> 2) if you use the third arg at all, it prints the usage.

Try running "valgrind --tool=memcheck octave" and running your oct-file.
This should identify exactly the line on which the seg-fault is
happening on together with the line that allocates the block in which
the seg-fault is happening was allocated..


David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

reply via email to

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