Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #352 from 9rnsr/fix7444
Browse files Browse the repository at this point in the history
Additional fix Issue 7444 in Posix platforms
  • Loading branch information
Alex Rønne Petersen committed Nov 22, 2012
2 parents af67d10 + e589564 commit a54f41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rt/cover.d
Expand Up @@ -354,7 +354,7 @@ bool readFile( string name, ref char[] buf )
else version( Posix )
{
char[] namez = new char[name.length + 1];
namez[0 .. name.length] = name;
namez[0 .. name.length] = name[];
namez[$ - 1] = 0;
int file = open( namez.ptr, O_RDONLY );

Expand Down

0 comments on commit a54f41c

Please sign in to comment.