diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2020-09-19 16:14:03 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2020-09-19 16:14:03 +0000 |
commit | de0dbd8ff37dd92e8037f23579638818f6ff380f (patch) | |
tree | 4b8600a97171054661c86448c95d70d3ca2482f6 /www/deno | |
parent | 79df48e349007ce908f4c86671b5429c09ea6fd1 (diff) | |
download | ports-de0dbd8ff37dd92e8037f23579638818f6ff380f.tar.gz ports-de0dbd8ff37dd92e8037f23579638818f6ff380f.zip |
www/deno: fix patch, should have been part of r548978
Notes
Notes:
svn path=/head/; revision=549036
Diffstat (limited to 'www/deno')
-rw-r--r-- | www/deno/files/patch-cli_ops_tty.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/deno/files/patch-cli_ops_tty.rs b/www/deno/files/patch-cli_ops_tty.rs index 1208973c338b..9469323adab1 100644 --- a/www/deno/files/patch-cli_ops_tty.rs +++ b/www/deno/files/patch-cli_ops_tty.rs @@ -1,11 +1,11 @@ ---- cli/ops/tty.rs.orig 2020-08-31 16:42:11 UTC +--- cli/ops/tty.rs.orig 2020-09-18 21:28:11 UTC +++ cli/ops/tty.rs -@@ -309,7 +309,7 @@ fn op_console_size( +@@ -311,7 +311,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(ErrBox::last_os_error()); + return Err(last_os_error()); } |