[squeak-dev] Can a running Squeak program look at a Squeak image file and know if it is a good image?

tim Rowledge tim at rowledge.org
Wed Jul 26 19:58:03 UTC 2017


> On 25-07-2017, at 1:21 PM, Louis LaBrunda <Lou at Keystone-Software.com> wrote:
> 
> I don't know if a checksum would work as I don't know what the current program would be able to
> compare the checksum to.  Unless I were able to append it to the end of the file or something
> like that.

That’s partly why I would suggest trying a zip file with the image file and a checksum (plus possibly other  data?) in it. If the zip file doesn’t get transmitted properly it shouldn’t open, giving one clue of failure. I if does, you read the expected checksum and unzip the putative image file to compare it with.

I’m still inclined to think that private update stream approach would be easier to live with. 


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
"Bollocks," said Pooh being more forthright than usual




More information about the Squeak-dev mailing list