freebsd-ports/sysutils/fusefs-sshfs/files/patch-sshfs.c
Muhammad Moinur Rahman f09f8484f0 sysutils/fusefs-sshfs: Update version 3.3.0=>3.3.1
- Add NDEBUG [1]

PR:		223338 [1]
Submitted by:	rozhuk.im@gmail.com [1]
Relnotes:	https://github.com/libfuse/sshfs/releases
2018-01-08 21:58:18 +00:00

11 lines
277 B
C

--- sshfs.c.orig 2018-01-08 21:05:08 UTC
+++ sshfs.c
@@ -971,7 +971,7 @@ static int pty_master(char **name)
{
int mfd;
- mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY);
+ mfd = posix_openpt(O_RDWR | O_NOCTTY);
if (mfd == -1) {
perror("failed to open pty");
return -1;