Markus Kilbinger <kilbi@rad.rwth-aachen.de>, reported that https: does not work.
The reason is that netscape tries to do stream operations on a plain file. So we avoid that...
This commit is contained in:
parent
a889c809fd
commit
aca4545896
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_stream.c,v 1.36 2000/03/30 11:27:20 augustss Exp $ */
|
||||
/* $NetBSD: svr4_stream.c,v 1.37 2000/04/12 02:46:41 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
|
@ -1161,6 +1161,12 @@ i_str(fp, p, retval, fd, cmd, dat)
|
|||
int error;
|
||||
struct svr4_strioctl ioc;
|
||||
|
||||
/*
|
||||
* Noop on non sockets
|
||||
*/
|
||||
if (fp->f_type != DTYPE_SOCKET)
|
||||
return 0;
|
||||
|
||||
if ((error = copyin(dat, &ioc, sizeof(ioc))) != 0)
|
||||
return error;
|
||||
|
||||
|
|
Loading…
Reference in New Issue