From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: GnuTLS for W32 Date: Tue, 03 Jan 2012 19:10:14 +0100 Message-ID: <87zke4slmh.fsf@wanadoo.es> References: <87pqf3bcom.fsf@lifelogs.com> <83boqns68o.fsf@gnu.org> <87liprazr1.fsf@lifelogs.com> <83wr9bqez3.fsf@gnu.org> <87y5tr9dwv.fsf_-_@lifelogs.com> <87k45alwgb.fsf@wanadoo.es> <87fwfyltm1.fsf@wanadoo.es> <87boqmlrma.fsf@wanadoo.es> <87ty4e9j19.fsf@lifelogs.com> <83obumqa0v.fsf@gnu.org> <87ipktag2e.fsf@lifelogs.com> <87aa659bpw.fsf@lifelogs.com> <871urgal1c.fsf@lifelogs.com> <83aa64r8yd.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325614240 20136 80.91.229.12 (3 Jan 2012 18:10:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 18:10:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 03 19:10:36 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri8ol-0005Fi-IQ for ged-emacs-devel@m.gmane.org; Tue, 03 Jan 2012 19:10:35 +0100 Original-Received: from localhost ([::1]:45705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri8ok-0002yj-UI for ged-emacs-devel@m.gmane.org; Tue, 03 Jan 2012 13:10:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri8oi-0002yD-Cx for emacs-devel@gnu.org; Tue, 03 Jan 2012 13:10:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri8og-0008Ab-Uv for emacs-devel@gnu.org; Tue, 03 Jan 2012 13:10:32 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:48791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri8og-0008AU-OS for emacs-devel@gnu.org; Tue, 03 Jan 2012 13:10:30 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri8of-0005E2-Vj for emacs-devel@gnu.org; Tue, 03 Jan 2012 19:10:29 +0100 Original-Received: from 225.red-79-147-11.dynamicip.rima-tde.net ([79.147.11.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 19:10:29 +0100 Original-Received: from ofv by 225.red-79-147-11.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 19:10:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 225.red-79-147-11.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:VKWwsJhMAwieU4oQ7bs5cTN9Ua4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147220 Archived-At: Eli Zaretskii writes: [snip] >> Where should this DLL be written? > > To the directory where emacs.exe lives. Keep in mind that such operation may require Admin privileges. Writing under the user's home directory doesn't require elevated privileges. Ted, please see my other response to Eli. Writing on the under the same directory where the Elisp packages retrieved by package.el should no pose problems. >> Does W32 have APIs or mechanisms to update DLLs safely? The standard MS installers have a mechanism for detecting when a dll is in use and, if the result is positive, arrange things for updating it on the next restart or login. A poor's man method for detecting when a dll is in use is just trying to overwrite it (after you know that you have write access to the file). [snip]