GNU bug report logs -
#23540
25.1.50; make-ipv4-tcp-server-with-unspecified-port fails
Previous Next
Reported by: Ken Brown <kbrown <at> cornell.edu>
Date: Sun, 15 May 2016 01:38:01 UTC
Severity: normal
Tags: fixed
Merged with 23508
Found in version 25.1.50
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 5/15/2016 12:15 PM, Eli Zaretskii wrote:
>> From: Ken Brown <kbrown <at> cornell.edu>
>> The error is generated by
>> Ffind_operation_coding_system when it is called by
>>
>> CALLN (Ffind_operation_coding_system,
>> Qopen_network_stream, name, p->buffer,
>> host, service)
>>
>> in set_network_socket_coding_system.
>
> Ffind_operation_coding_system includes an explicit test for the 4th
> argument to be an integer:
>
> if (!(STRINGP (target)
> || (EQ (operation, Qinsert_file_contents) && CONSP (target)
> && STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
> || (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> error ("Invalid argument %"pI"d of operation `%s'",
> XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));
>
> This should obviously be augmented, now that the value can also be t.
Presumably the documentation of open-network-stream should also be
updated to reflect this. I hesitate to do this myself without knowing
for sure that t is an acceptable value for all calls to
open-network-stream. I'd rather leave it for someone more familiar with
the code, like Lars.
Ken
This bug report was last modified 5 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.