Date: Sat, 19 Sep 2020 16:14:04 +0000 (UTC) From: Mikael Urankar <mikael@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549036 - head/www/deno/files Message-ID: <202009191614.08JGE4AC011298@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mikael Date: Sat Sep 19 16:14:03 2020 New Revision: 549036 URL: https://svnweb.freebsd.org/changeset/ports/549036 Log: www/deno: fix patch, should have been part of r548978 Modified: head/www/deno/files/patch-cli_ops_tty.rs Modified: head/www/deno/files/patch-cli_ops_tty.rs ============================================================================== --- head/www/deno/files/patch-cli_ops_tty.rs Sat Sep 19 16:05:17 2020 (r549035) +++ head/www/deno/files/patch-cli_ops_tty.rs Sat Sep 19 16:14:03 2020 (r549036) @@ -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()); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009191614.08JGE4AC011298>