diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-12-01 09:56:01 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-01 09:56:01 -0500 |
| commit | b36c07a95a6cf9b2cc120133b44cbd0673e6823a (patch) | |
| tree | 2c2bf8ff9137d51b80ae56dc70ef9375b8c13583 /lib/std/pdb.zig | |
| parent | b220be7a33a9835a1ec7a033e472830290332d57 (diff) | |
| parent | 4b6740e19d57454f3c4eac0c2e9a92ce08e7ec04 (diff) | |
| download | zig-b36c07a95a6cf9b2cc120133b44cbd0673e6823a.tar.gz zig-b36c07a95a6cf9b2cc120133b44cbd0673e6823a.zip | |
Merge remote-tracking branch 'origin/master' into remove-array-type-coercion
Diffstat (limited to 'lib/std/pdb.zig')
| -rw-r--r-- | lib/std/pdb.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/pdb.zig b/lib/std/pdb.zig index aef68631b7..4b9b3a2a65 100644 --- a/lib/std/pdb.zig +++ b/lib/std/pdb.zig @@ -6,6 +6,7 @@ const mem = std.mem; const os = std.os; const warn = std.debug.warn; const coff = std.coff; +const fs = std.fs; const File = std.fs.File; const ArrayList = std.ArrayList; @@ -469,7 +470,7 @@ pub const Pdb = struct { msf: Msf, pub fn openFile(self: *Pdb, coff_ptr: *coff.Coff, file_name: []u8) !void { - self.in_file = try File.openRead(file_name); + self.in_file = try fs.cwd().openFile(file_name, .{}); self.allocator = coff_ptr.allocator; self.coff = coff_ptr; |
