all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Litterio <flitterio@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: CVS Emacs on Windows XP takes 60 seconds to start
Date: Tue, 02 Sep 2008 20:41:58 -0400	[thread overview]
Message-ID: <u4p4yvyv1.fsf@gmail.com> (raw)
In-Reply-To: ud4jmw6ya.fsf@gmail.com

I wrote:

> Eli Zaretskii wrote:

>> [...] please see if it goes
>> away if you modify the code of the function `stat' to make this `if'
>> condition (on w32.c)
>>
>>   if (!(NILP (Vw32_get_true_file_attributes)
>> 	|| (EQ (Vw32_get_true_file_attributes, Qlocal)
>> 	    && devtype != DRIVE_FIXED && devtype != DRIVE_RAMDISK))
>>       /* No access rights required to get info.  */
>>       && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING,
>> 			   FILE_FLAG_BACKUP_SEMANTICS, NULL))
>>          != INVALID_HANDLE_VALUE)
>>
>> to always evaluate to zero, thus bypassing the code in the block that
>> follows the `if' clause and calls get_file_owner_and_group.

> I changed the above condition to:
>
>    if (0)
>
> and rebuilt.  The resulting emacs.exe starts immediately (both "emacs
> -q" and "emacs -Q"), and there are no RPC calls made to any external
> host when Emacs is starting.

Eli,

Given that the root cause of this problem is a misconfigured firewall
that prevents the host from making RPC calls to its domain controller(s)
(or LDAP server(s) -- they may be the same on my company's network), I'm
not sure that any change to Emacs is needed.

Is this issue likely to bite other people?  Can we assume that the
Windows host has RPC access to its domain controllers and/or LDAP
servers?
--
Fran





  reply	other threads:[~2008-09-03  0:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 19:45 CVS Emacs on Windows XP takes 60 seconds to start Francis Litterio
2008-09-02 20:14 ` Lennart Borgman (gmail)
2008-09-02 20:16   ` Francis Litterio
2008-09-02 20:30     ` Eli Zaretskii
2008-09-02 20:55       ` Francis Litterio
2008-09-02 21:18         ` Francis Litterio
2008-09-02 21:19         ` Lennart Borgman (gmail)
2008-09-02 21:19       ` Eli Zaretskii
2008-09-02 21:50         ` Francis Litterio
2008-09-03  0:41           ` Francis Litterio [this message]
2008-09-03  0:57             ` Jason Rumney
2008-09-03  1:04               ` Francis Litterio
2008-09-03  3:04               ` Francis Litterio
2008-09-03  3:28             ` Eli Zaretskii
2008-09-03  3:25           ` Eli Zaretskii
2008-09-03 14:30             ` Stefan Monnier
2008-09-03 18:24               ` Eli Zaretskii
2008-09-03 18:40                 ` Stefan Monnier
2008-09-03 19:00                   ` Eli Zaretskii
2008-09-03 15:14             ` Francis Litterio
2008-09-03 18:19               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4p4yvyv1.fsf@gmail.com \
    --to=flitterio@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.