[Top][All Lists]

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

Re: [Help-smalltalk] VFSAddOns fix

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] VFSAddOns fix
Date: Wed, 23 Nov 2011 13:07:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 11/23/2011 11:59 AM, maarten wrote:

I've fixed two bugs in the VFSAddOns package, both in fileData, which
should make the package usable now.
The first bug was a little hard to find as it seemed to be time related.
It showed up every now and then. It seemed to be the case that a pipe
was still being read out while it's output was already being processed.

Hi Maarten. Do you have a reproducer? In this case, the pipe should block until all data is read.

The second bug. fileData returns an array with some information, but the
VFSAddOns package didn't fill every variable in this array. A loop goes
over a string and extracts information from it. The Date package read
the string till the end while processing the date, leaving no data for
any processing after it.

I think the bug here is in the Date/Duration/DateTime readers. Does something like the attached patch (lightly tested) help?


Attachment: patch
Description: Text document

reply via email to

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