diff options
| author | samwega <alexanderglavan@gmail.com> | 2025-10-03 22:13:03 +0300 |
|---|---|---|
| committer | samwega <alexanderglavan@gmail.com> | 2025-10-03 22:13:03 +0300 |
| commit | 83d36451a334f500a15eb6e8b55a810fbd5681d3 (patch) | |
| tree | b0c3814339d85085304dcf353aea37c3b7aa13f1 /core/os | |
| parent | bbf297f2653cc565da932277b99c929e1e399faf (diff) | |
os_linux.odin was using itoa, changed to use write_int()
Diffstat (limited to 'core/os')
| -rw-r--r-- | core/os/os_linux.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin index 15d230820..1b53183c2 100644 --- a/core/os/os_linux.odin +++ b/core/os/os_linux.odin @@ -908,7 +908,7 @@ _dup :: proc(fd: Handle) -> (Handle, Error) { @(require_results) absolute_path_from_handle :: proc(fd: Handle) -> (string, Error) { buf : [256]byte - fd_str := strconv.itoa( buf[:], cast(int)fd ) + fd_str := strconv.write_int( buf[:], cast(int)fd, 10 ) procfs_path := strings.concatenate( []string{ "/proc/self/fd/", fd_str } ) defer delete(procfs_path) |