Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions std/stdio.d
Original file line number Diff line number Diff line change
Expand Up @@ -4524,8 +4524,8 @@ Initialize with a message and an error code.
// Undocumented but public because the std* handles are aliasing it.
ref File makeGlobal(alias handle)()
{
static __gshared File.Impl impl;
static __gshared File result;
__gshared File.Impl impl;
__gshared File result;

// Use an inline spinlock to make sure the initializer is only run once.
// We assume there will be at most uint.max / 2 threads trying to initialize
Expand Down