emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous DNS


From: YAMAMOTO Mitsuharu
Subject: Re: Asynchronous DNS
Date: Tue, 02 Feb 2016 11:05:08 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Tue, 02 Feb 2016 02:54:32 +0100, Lars Ingebrigtsen <address@hidden> 
>>>>> said:

> Andy Moreton <address@hidden> writes:
>> Thanks. this gets further, but still has issues.
>> On a mingw64 build (configured with --enable-check-lisp-object-type):
>> 
>> ../../src/process.c: In function ‘send_process’:
>> ../../src/process.c:5907:7: error: used struct type value where scalar is 
>> required
>> if (p->gnutls_boot_parameters)
>> ^
>> 
>> Shouldn't this be "if (! NILP (p->gnutls_boot_parameters))" ?

> Yup.  I've made that change and pushed it.

There is another type error in check_for_dns.

static Lisp_Object
check_for_dns (Lisp_Object proc)
{
  struct Lisp_Process *p = XPROCESS (proc);
  Lisp_Object ip_addresses = Qnil;
  int ret = 0;

  /* Sanity check. */
  if (! p->dns_requests)
    return 1;
           ^ HERE !

Probably you can catch this kind of errors using
--enable-check-lisp-object-type.

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]