From bbe39ca3d74a4a7762a5f1145cd7abb87b02b59f Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Sat, 19 Nov 2022 10:26:13 +0100 Subject: www/deno: Update to 1.28.1 Changes: https://github.com/denoland/deno/releases/tag/v1.26.2 https://github.com/denoland/deno/releases/tag/v1.27.0 https://github.com/denoland/deno/releases/tag/v1.27.1 https://github.com/denoland/deno/releases/tag/v1.27.2 https://github.com/denoland/deno/releases/tag/v1.28.0 https://github.com/denoland/deno/releases/tag/v1.28.1 --- www/deno/files/patch-runtime_ops_tty.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'www/deno/files/patch-runtime_ops_tty.rs') diff --git a/www/deno/files/patch-runtime_ops_tty.rs b/www/deno/files/patch-runtime_ops_tty.rs index af9d89181cc8..fb878f5ee083 100644 --- a/www/deno/files/patch-runtime_ops_tty.rs +++ b/www/deno/files/patch-runtime_ops_tty.rs @@ -1,11 +1,11 @@ --- runtime/ops/tty.rs.orig 2020-12-14 21:25:05 UTC +++ runtime/ops/tty.rs -@@ -227,7 +227,7 @@ fn op_console_size( - let fd = std_file.as_raw_fd(); - unsafe { - let mut size: libc::winsize = std::mem::zeroed(); -- if libc::ioctl(fd, libc::TIOCGWINSZ, &mut size as *mut _) != 0 { -+ if libc::ioctl(fd, libc::TIOCGWINSZ.into(), &mut size as *mut _) != 0 { - return Err(Error::last_os_error().into()); - } - +@@ -232,7 +232,7 @@ fn op_console_size( + #[allow(clippy::undocumented_unsafe_blocks)] + unsafe { + let mut size: libc::winsize = std::mem::zeroed(); +- if libc::ioctl(fd, libc::TIOCGWINSZ, &mut size as *mut _) != 0 { ++ if libc::ioctl(fd, libc::TIOCGWINSZ.into(), &mut size as *mut _) != 0 { + return Err(Error::last_os_error().into()); + } + result[0] = size.ws_col as u32; -- cgit v1.2.3