> On Oct 20, 2015, at 9:45 AM, James Sentman <[email protected]> wrote: > > I’ve used this method extensively and never had a problem before, but today I > tried to update one other method that previously used a lot of declares to do > the same thing and I’m getting a return code of “-1” > > it appears that the files are actually swapped without a problem even though > the return code is not 0. Is this a system file error return code? Where > should I go to look up what that means?
Heh, sorry, false alarm. I was still writing to the original file and so never creating the temp file, you can’t exchange a file with one that doesn’t exist ;) Thanks, James James Sentman http://sentman.com http://MacHomeAutomation.com _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
