[Cuis] Syntax error loading OSProcessV4-3-7.sar in Cuis 4.1-1739

David T. Lewis lewis at mail.msen.com
Thu Jun 27 17:36:42 CDT 2013


On Thu, Jun 27, 2013 at 03:18:07PM -0700, Casey Ransberger wrote:
> So after shuffling around the Monticello dance by changing .sar and .mcz to
> .zip, nuking various files that aren't useful w/o MC, I'm having some
> trouble filing in the OSProcess source.st.
> 
> I think I know what's going on here. Squeak probably still has
> BlockContexts for back compat, and Cuis 4.1 probably only has BlockClosures
> now.
> 
> In UnixProcess>>argsAsFlatArrayAndOffsets: I have this problem...
> 
> (anArrayOfNullTerminatedStrings collect: [:e | e size])
> inject: offset into: [:p :e | ws nextPut: p. *Cannot store into ->*p := p +
> e].
> 
> I don't think I've ever used #inject:into:, but looking at it, *I think*
> the above means the same thing as:
> 
> (anArrayOfNullTerminatedStrings collect: [:e | e size])
> inject: offset into: [:p :e | ws nextPut: p. p + e].
> 
> ...which compiles just fine. Am I right, or is that going to mean something
> totally different? I'm not as familiar with the inject idiom, and I don't
> want to introduce a logic error.
> 
> Thinking I want to use OSProcess to talk to the command-line git client so
> I can make a nice little UI for it in Morphic.
> 

That's a bug in OSProcess, but it has probably already been fixed. The current
version is:

OSProcess versionString ==> '4.5.6'

Dave





More information about the Cuis mailing list