Re: [Oorexx-devel] Experimenting security checks option

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 5:05 PM, Jean-Louis Faucher wrote: > After reading this MSDN article > http://msdn.microsoft.com/en-us/library/aa289171.aspx > I decided to test these options, and modified orxwin32mak like that (added > security_check) : > The second security error ocurs when running Sys

[Oorexx-devel] Experimenting security checks option

2009-04-26 Thread Jean-Louis Faucher
After reading this MSDN article http://msdn.microsoft.com/en-us/library/aa289171.aspx I decided to test these options, and modified orxwin32mak like that (added security_check) : !IF "$(NODEBUG)" == "1" security_check = /GS ... !ELSE security_check = /GS /RTCc /RTCs /RTCu ... !ENDIF cflags_common=

Re: [Oorexx-devel] We desperately need some I/O test cases.

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 3:27 PM, Mark Miesfeld wrote: > On Sun, Apr 26, 2009 at 3:15 PM, Rick McGuire wrote: > >> How about it folks, any volunteers >> out there willing to write some test cases for a problem area? > > Please do so folks. Oh, I forgot to add. Write the test cases and attach the

Re: [Oorexx-devel] We desperately need some I/O test cases.

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 3:15 PM, Rick McGuire wrote: > I just fixed a crash in the stream class "query datetime" function on > windows that would never have gotten through if we had anything > resembling a regression suite for the I/O functions and class.  We > really need at least some minimal t

[Oorexx-devel] We desperately need some I/O test cases.

2009-04-26 Thread Rick McGuire
I just fixed a crash in the stream class "query datetime" function on windows that would never have gotten through if we had anything resembling a regression suite for the I/O functions and class. We really need at least some minimal tests for all of the various functions, plus we need to have som

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Mark Miesfeld
On Sat, Apr 25, 2009 at 8:23 PM, Mark Miesfeld wrote: > In working on the SysFileSearch bug, I tracked down what seems to be a > case where the VS 2005 compiler produces wrong code and the VS 2008 > produces code that works. Good thing I said "seems to be." I was 100% wrong on this, it was not

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Mike Cowlishaw
> On Sun, Apr 26, 2009 at 11:01 AM, Rick McGuire wrote: > > > Mark, you might want to spin a new install package from the sandbox. > > I've fixed the query size/query datetime problems for directories. > > Actually I just started that, should be done shortly. Great ... send me the coords when

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Mike Cowlishaw
> I know exactly what you mean. The first few times I saw the error > > 'RAY' is not recognized as an internal or external command, > operable program or batch file. > > I thought I'd just mistyped something. I don't even have any theories > on how/why this is happenng based on the symptoms we'

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 11:01 AM, Rick McGuire wrote: > Mark, you might want to spin a new install package from the sandbox. > I've fixed the query size/query datetime problems for directories. Actually I just started that, should be done shortly. -- Mark Miesfeld -

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Rick McGuire
I know exactly what you mean. The first few times I saw the error 'RAY' is not recognized as an internal or external command, operable program or batch file. I thought I'd just mistyped something. I don't even have any theories on how/why this is happenng based on the symptoms we're seeing. I

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Mike Cowlishaw
Yeah .. sorry about that. I was really hoping VS2008 fixed it, but always knew that 'not seeing the dreaded r' was a negative report, not a definitive one. Darn thing seems almost determined to hide itself. I'm just glad you (Rick) saw it too, as I'm sure no one would believe me otherwise!

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 6:58 AM, Rick McGuire wrote: > Did you forget to paste the link? http://msdn.microsoft.com/en-us/library/ms246609.aspx Didn't have my coffee yet. -- Mark Miesfeld -- Crystal Reports - New Free

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Rick McGuire
Did you forget to paste the link? On Sun, Apr 26, 2009 at 9:45 AM, Mark Miesfeld wrote: > On Sun, Apr 26, 2009 at 4:49 AM, Rick McGuire wrote: > >> It's starting to look like upgrading to VS 2008 might be a winner for >> this.  I'm more willing to make this change than switch to the new >> versi

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 4:49 AM, Rick McGuire wrote: > It's starting to look like upgrading to VS 2008 might be a winner for > this.  I'm more willing to make this change than switch to the new > version of SysFile.  Can the two version coexist on the same machine, > or do I need to uninstall 200

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Mark Miesfeld
On Sun, Apr 26, 2009 at 4:49 AM, Rick McGuire wrote: > It's starting to look like upgrading to VS 2008 might be a winner for > this.  I'm more willing to make this change than switch to the new > version of SysFile. I think upgrading to VS 2008 has less potential for letting a bug slip through

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Rick McGuire
Sigh, this is why I was really hoping the 2008 conversion would make the problem go away. I figured it would take a couple of iterations to get all of the conversion bugs worked out. I think I know how to fix this one, so I'll probably have a fix available shortly. Rick On Sun, Apr 26, 2009 at

Re: [Oorexx-devel] I/O again

2009-04-26 Thread Mike Cowlishaw
Well, installed latest (Rick new file I/O) but unfortunately had to back it out almost immediately, because now stream 'query datetime' and 'query size' both return empty string for a directory. The former I can work around (and did when it changed a week or two ago), but the latter I have sev

Re: [Oorexx-devel] Questions ad an object being used by a different RexxInstance ...

2009-04-26 Thread Rony G. Flatscher
Rick McGuire wrote: > I'm not sure this question makes any sense. An interaction on an > object occurrs in the context of where the interaction is triggered. > Objects are just data, and have no knowledge of where they have been > created. If one instance stores an object in .environment (general

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Rick McGuire
It's starting to look like upgrading to VS 2008 might be a winner for this. I'm more willing to make this change than switch to the new version of SysFile. Can the two version coexist on the same machine, or do I need to uninstall 2005 first? Rick On Sat, Apr 25, 2009 at 11:23 PM, Mark Miesfeld

Re: [Oorexx-devel] Questions ad an object being used by a different RexxInstance ...

2009-04-26 Thread Rick McGuire
I'm not sure this question makes any sense. An interaction on an object occurrs in the context of where the interaction is triggered. Objects are just data, and have no knowledge of where they have been created. If one instance stores an object in .environment (generally a bad practice), then it

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Rick McGuire
This looks like a classic optimizer bug to me. For some reason, the code generator has obviously decided it can used a cached version of the data pointer for the if test rather than reloadingbut it appears to make that decision only for the if test. It might be interesting to try declaring t

[Oorexx-devel] Questions ad an object being used by a different RexxInstance ...

2009-04-26 Thread Rony G. Flatscher
Given two different RexxInstances R1 and R2 running in the same process. In R1 an object O1 is created and saved in ".environment". Two questions ad RexxInterpreter context: 1. If from R2 an interaction occurs with O1 (addressed via ".environment"), in which context does O1 execute, in R

Re: [Oorexx-devel] Tracked down problem with: compiler, Vista, ?

2009-04-26 Thread Mike Cowlishaw
Interesting ... would be interesting to see the asm generated in the good/bad cases (/FAs option, I think)... Only 64-bit Vista is a bit strange though (I'm on Vista 32, and Rick also saw the problem on XP). However, I think you may well be right about something bad in the 2005 compiler or lib