* fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem size if
the length exceeds it. * net.cc (fdsock): Use 65535 as window size, just like the comment says or we run into problems with DuplicateHandle. * path.cc (patch_conv::check): Use set_path to set invalid filename. * path.h (path_conv::path_conv): Ditto.
This commit is contained in:
@@ -168,7 +168,7 @@ class path_conv
|
||||
: fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path_flags (0),
|
||||
known_suffix (NULL), normalized_path (NULL), error (0), dev (in_dev)
|
||||
{
|
||||
path = cstrdup (in_dev.native);
|
||||
set_path (in_dev.native);
|
||||
}
|
||||
|
||||
path_conv (int, const char *src, unsigned opt = PC_SYM_FOLLOW,
|
||||
|
Reference in New Issue
Block a user