Skip to content

Commit

Permalink
Style #2
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed May 2, 2024
1 parent 9cda58c commit 0cbdb1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/process.d
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ private Pid spawnProcessPosix(scope const(char[])[] args,
if (entry is null) break;
if (entry.d_name[0] == '.') continue;

int fd = atoi(cast(char*)entry.d_name);
int fd = atoi(cast(char*) entry.d_name);

// Don't close stdin, stdout, stderr, forkPipeOut or the directory file descriptor
if (fd < 3 || fd == forkPipeOut || fd == opendirfd) continue;
Expand Down

0 comments on commit 0cbdb1b

Please sign in to comment.