Fix os.stat code; make fmt.panicf diverging
This commit is contained in:
1 parent
c35d533ce5
commit
9513cf1ac6
2 files changed
+1
-2
No files matched your search
@@ -10,7 +10,6 @@ full_path_from_name :: proc(name: string, allocator := context.allocator) -> (pa
|
||||
name = ".";
|
||||
}
|
||||
p := win32.utf8_to_utf16(name, context.temp_allocator);
|
||||
defer delete(p);
|
||||
buf := make([dynamic]u16, 100, allocator);
|
||||
for {
|
||||
n := win32.GetFullPathNameW(raw_data(p), u32(len(buf)), raw_data(buf), nil);
|
||||
|
||||
Reference in new issue
Block a user