- filename = Safe_malloc(s - sb + 1);
- memcpy(filename, sb, s - sb);
- filename[s - sb] = '\0';
+ tmpFname = Safe_malloc(s - sb + 1);
+ memcpy(tmpFname, sb, s - sb);
+ tmpFname[s - sb] = '\0';
+
+ lexFilename = Safe_malloc(s - sb + 1);
+ copyStr(lexFilename, tmpFname);