- check that programName is not too long (fileNameLength-7 is the limit) - try to fix a memory leak, as programText must be free'd in case of error. @ewoudwijma please review my changes, I'm not 100% sure I did it right.
- check that programName is not too long (fileNameLength-7 is the limit) - try to fix a memory leak, as programText must be free'd in case of error. @ewoudwijma please review my changes, I'm not 100% sure I did it right.