From: "Dhruva Krishnamurthy" <devel@member.fsf.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: addpm.c: DdeConnect() without timeout
Date: Mon, 03 May 2004 17:05:27 +0530 [thread overview]
Message-ID: <1083584127.9663.185530980@webmail.messagingengine.com> (raw)
In-Reply-To: <ur7u1aix0.fsf@jasonrumney.net>
On Mon, 03 May 2004 06:45:15 +0000, "Jason Rumney" <jasonr@gnu.org> said:
> "Dhruva Krishnamurthy" <devel@member.fsf.org> writes:
> > face the same problem of addpm.exe getting
> > stuck duing "nmake (gmake) install".
> > I found that it is getting stuck in DdeConnect(). I am not aware of DDE
> > mechanism but feel we should have a time out. Since "addpm.exe" is trivia
> > and does not affect the working of GNU Emacs, the install should progress
> > even if "addpm.exe" fails.
> If you can find where in the addpm code it is failing, we can catch
> whatever problem it is and do something appropriate.
>
> Could it be due to access rights to the Start Menu or registry?
I think it was due to some registry corruption, I am not sure of what
though. I ran a registry cleaning utility. I am now able to run
"addpm.exe" and it works as it used to earlier. So, there is no problem.
However, this is the second time I am facing this problem and I feel we
should have a time out mechanism if supported by DdeConnect(). There is 1
call to DdeConnect() in addpm.c at line:184. It gets stuck there when I
faced the problem. Calls to DdeInitialize() returns a successfull code.
It might be a good idea to check that too to make it a little more
robust.
Ex:
if(DMLERR_NO_ERROR!=DdeInitialize())
return(1); // Some non zero error value
-dhruva
________________________________________
Dhruva Krishnamurthy
Proud FSF member: #1935
http://schemer.fateback.com/
next prev parent reply other threads:[~2004-05-03 11:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <496F51EC.3050104@gnu.org>
2004-05-03 6:07 ` addpm.c: DdeConnect() without timeout Dhruva Krishnamurthy
2004-05-03 10:45 ` Jason Rumney
2004-05-03 11:28 ` gmake info: makefile patch Dhruva Krishnamurthy
2004-05-03 11:35 ` Dhruva Krishnamurthy [this message]
2004-05-03 14:51 ` addpm.c: DdeConnect() without timeout Benjamin Riefenstahl
2009-01-15 15:15 ` bug#202: marked as done (addpm.c: DdeConnect() without timeout) Emacs bug Tracking System
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=1083584127.9663.185530980@webmail.messagingengine.com \
--to=devel@member.fsf.org \
--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.