Commits

hjs  committed 1be99a4

#i10000# - workaround perl malloc problem on mac

  • Participants
  • Parent commits f2cff5e

Comments (0)

Files changed (1)

File solenv/bin/modules/pre2par/files.pm

 {
 	my ($localfile) = @_;
 
+	my @localfile = ();
+
 	open( IN, "<$localfile" ) || pre2par::exiter::exit_program("ERROR: Cannot open file: $localfile", "read_file");
-	my @localfile = <IN>;
+	while ( <IN> ) { push(@localfile, $_); }
 	close( IN );
 
 	return \@localfile;