@akgrant43 commented on this pull request. In platforms/Cross/plugins/FilePlugin/FilePlugin.h: > @@ -30,6 +31,7 @@ typedef int mode_t; typedef struct { int sessionID; /* ikp: must be first */ void *file; + mode_t st_mode; /* from stat() */ Yeah, I just saw that. I don't know how I managed to lose part of the commit. There's also code left behind in sqFileBasicPrims.c. I'm fixing it now. Sorry about that. — |
In reply to this post by David T Lewis
@nicolas-cellier-aka-nice commented on this pull request. In platforms/Cross/plugins/FilePlugin/FilePlugin.h: > @@ -30,6 +31,7 @@ typedef int mode_t; typedef struct { int sessionID; /* ikp: must be first */ void *file; + mode_t st_mode; /* from stat() */ No problem, there should be a special prime to whoever remove code! — |
In reply to this post by David T Lewis
@akgrant43 pushed 1 commit.
— |
In reply to this post by David T Lewis
@akgrant43 commented on this pull request. In platforms/Cross/plugins/FilePlugin/FilePlugin.h: > @@ -30,6 +31,7 @@ typedef int mode_t; typedef struct { int sessionID; /* ikp: must be first */ void *file; + mode_t st_mode; /* from stat() */ Done. Hopefully I've got them all this time. — |
In reply to this post by David T Lewis
I've run the full automated test suite on Ubuntu 64 with Squeak5.1-16549-64bit.image. There were 4 failures and 3 errors, but none looked remotely related. Pharo 7 I filtered the packages in Test Runner with 'Zinc|File' and there were no failures. — |
In reply to this post by David T Lewis
Merged #232. — |
In reply to this post by David T Lewis
@akgrant43 Since this PR was merged OSProcess is broken if I use it with the latest Pharo 61 and the latest VM. Here is an example of error:
— |
In reply to this post by David T Lewis
Hi Cyril, Can you provide some sample code that triggers the problem? I've never used BufferedAsyncFileReadStream directly, and it's quite a while since I've used OSProcess. Also: 32 or 64 bit? Thanks, — |
In reply to this post by David T Lewis
Yes sorry I was a little in a hurry :) OS:
Pharo version: Pharo 61 60540 VM: Latest VM 64bits (we do not test the latest 32bits vm so it's maybe the same) We use OSProcess this way:
— |
In reply to this post by David T Lewis
Hi Cyril, I wasn't able to reproduce it, although I'm obviously missing the definition of "self binPath". Are you able to adapt the script below to trigger the failure?
System Report:
— |
In reply to this post by David T Lewis
I could not include everything because it's a proprietary code (I already had to remove some part in this example ) It'll be a little hard to get a reproducible case since I only have a windows :( I saw the failure on a Jenkins build. I'll try to find a way to reproduce it. — |
In reply to this post by David T Lewis
I added to our Jenkins a command to print the version and I see that we used the same VM.
— |
Free forum by Nabble | Edit this page |