Lisp HUG Maillist Archive

parse-integer on adjustable array

This causes an error in LWL Personal Edition 4.3.6:

(let ((str (make-array 0 :element-type 'character :adjustable t :fill-pointer 0)))
  (vector-push-extend #\4 str)
  (vector-push-extend #\2 str)
  (vector-push-extend #\) str)
  (parse-integer str :junk-allowed t))

But this does not:

(parse-integer "42)" :junk-allowed t)

Is this a bug in LWL or in my understanding of Common Lisp?

Thanks for your assistance.

-russ


Re: parse-integer on adjustable array

Russel McManus wrote:

> This causes an error in LWL Personal Edition 4.3.6:
>
> (let ((str (make-array 0 :element-type 'character :adjustable t :fill-pointer 0)))
> (vector-push-extend #\4 str)
> (vector-push-extend #\2 str)
> (vector-push-extend #\) str)
> (parse-integer str :junk-allowed t))

I think this is a bug that was fixed in version 4.3.7.

Regards,

Arthur Lemmens


Re: parse-integer on adjustable array

On Wed, 02 Jun 2004 17:17:39 -0400, Russell McManus <russell_mcmanus@yahoo.com> wrote:

> This causes an error in LWL Personal Edition 4.3.6:
>
> (let ((str (make-array 0 :element-type 'character :adjustable t :fill-pointer 0)))
>   (vector-push-extend #\4 str)
>   (vector-push-extend #\2 str)
>   (vector-push-extend #\) str)
>   (parse-integer str :junk-allowed t))
>
> But this does not:
>
> (parse-integer "42)" :junk-allowed t)
>
> Is this a bug in LWL or in my understanding of Common Lisp?
>
> Thanks for your assistance.

That's a bug in 4.3.6 that was fixed in 4.3.7 - you should upgrade.

Cheers,
Edi.


Re: parse-integer on adjustable array

Edi Weitz <edi@agharta.de> writes:

> On Wed, 02 Jun 2004 17:17:39 -0400, Russell McManus <russell_mcmanus@yahoo.com> wrote:
>
>> This causes an error in LWL Personal Edition 4.3.6:
>>
>> (let ((str (make-array 0 :element-type 'character :adjustable t :fill-pointer 0)))
>>   (vector-push-extend #\4 str)
>>   (vector-push-extend #\2 str)
>>   (vector-push-extend #\) str)
>>   (parse-integer str :junk-allowed t))
>>
>> But this does not:
>>
>> (parse-integer "42)" :junk-allowed t)
>>
>> Is this a bug in LWL or in my understanding of Common Lisp?
>>
>> Thanks for your assistance.
>
> That's a bug in 4.3.6 that was fixed in 4.3.7 - you should upgrade.

I just downloaded personal edition again, and it's still at 4.3.6.

-russ


Re: parse-integer on adjustable array

On Wed, 02 Jun 2004 17:55:37 -0400, Russell McManus <russell_mcmanus@yahoo.com> wrote:

> I just downloaded personal edition again, and it's still at 4.3.6.

Dave Fox posted a message to this list about a week ago stating that
the Personal Edition has been upgraded to 4.3.7. If your download is
still 4.3.6 you might want to report this as a bug.

Edi.


Re: parse-integer on adjustable array

Unable to parse email body. Email id is 2407

Re: parse-integer on adjustable array

davef@xanalys.com writes:

>    I just downloaded personal edition again, and it's still at 4.3.6.
>
> In case this is still a problem:
>
> - Did you actually install the new version?
> - Did you install via rpm or tar archive?
> - Did you install the tar archive in a different location to the previous version?
>   (if so, the old version is still on your machine).
> - Why do you believe the image is still at version 4.3.6?

Dave-

Thank you for taking the time to respond to my question.  You indeed
are correct that the personal edition is at 4.3.7; I screwed up the
installation onto my machine, and then ran the old version after I
thought I had deleted it.

Sorry for the noise.

-russ


Updated at: 2020-12-10 08:56 UTC