From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Sat, 11 Oct 2014 01:14:31 -0400 Message-ID: References: <87y4t9m76w.fsf@lifelogs.com> <83lhopb1bp.fsf@gnu.org> <83oatjapq2.fsf@gnu.org> <838uknae9a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413004518 23806 80.91.229.3 (11 Oct 2014 05:15:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2014 05:15:18 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 11 07:15:10 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xcp1K-0004Tm-2N for ged-emacs-devel@m.gmane.org; Sat, 11 Oct 2014 07:15:10 +0200 Original-Received: from localhost ([::1]:52845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcp1J-0000pp-JF for ged-emacs-devel@m.gmane.org; Sat, 11 Oct 2014 01:15:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcp10-0000pf-Av for emacs-devel@gnu.org; Sat, 11 Oct 2014 01:14:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xcp0s-0001xK-S1 for emacs-devel@gnu.org; Sat, 11 Oct 2014 01:14:50 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:45820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcp0i-0001wV-P4; Sat, 11 Oct 2014 01:14:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA9gRcXdIImAQEEViMQCzQSFBgNJIgM0hkXjnoHhDgBA6kZgWqDTCE X-IPAS-Result: ArUGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA9gRcXdIImAQEEViMQCzQSFBgNJIgM0hkXjnoHhDgBA6kZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94007176" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Oct 2014 01:14:31 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CE2ABAE0BA; Sat, 11 Oct 2014 01:14:31 -0400 (EDT) In-Reply-To: <838uknae9a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Oct 2014 22:58:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:175248 Archived-At: >> >> I use the .so extension to know whether a file is a binary module or >> >> elisp (compiled or source). >> > You cannot know that by the extension alone, anyway. >> Of course, we can: if the extension says ".el" or ".elc" we know it's >> Elisp (compiled or not), and if it says ".dll", ".so" or something like >> that, we know it's a binary module. > That's until you bump into a maliciously named file. I don't think it matters: the same problem can happen by playing with file's contents rather than file names. Stefan