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 17:50:59 -0400 [thread overview]
Message-ID: <ud4jmw6ya.fsf@gmail.com> (raw)
In-Reply-To: u3aki8cub.fsf@gnu.org
Eli Zaretskii wrote:
>> From: Eli Zaretskii
> Assuming the slowdown started to happen lately, 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.
Eli,
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.
--
Fran
next prev parent reply other threads:[~2008-09-02 21:50 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 [this message]
2008-09-03 0:41 ` Francis Litterio
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ud4jmw6ya.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).