From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zimbra.cs.ucla.edu (zimbra.cs.ucla.edu [131.179.128.68]) by sourceware.org (Postfix) with ESMTPS id 5DB9B3858C62 for ; Sat, 6 Aug 2022 08:23:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5DB9B3858C62 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.ucla.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.ucla.edu Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A64D81600FD; Sat, 6 Aug 2022 01:23:18 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id r8Ia9rgC6y26; Sat, 6 Aug 2022 01:23:17 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DA83D1600FF; Sat, 6 Aug 2022 01:23:17 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2xtkNILHPli8; Sat, 6 Aug 2022 01:23:17 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id ADB751600FD; Sat, 6 Aug 2022 01:23:17 -0700 (PDT) Message-ID: <4b8fe4ad-2ea7-f994-ceca-908e6a3dccd1@cs.ucla.edu> Date: Sat, 6 Aug 2022 01:23:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Hook for `_exit' Content-Language: en-US To: Po Lu Cc: GNU C Library development References: <87les389c6.fsf.ref@yahoo.com> <87les389c6.fsf@yahoo.com> <871qtv2j7w.fsf@oldenburg.str.redhat.com> <87o7wz6qb5.fsf@yahoo.com> <87r11v13w0.fsf@oldenburg.str.redhat.com> <87bksz6q14.fsf@yahoo.com> <87k07n13h4.fsf@oldenburg.str.redhat.com> <874jyr6p7n.fsf@yahoo.com> <87fsib12s5.fsf@oldenburg.str.redhat.com> <87wnbn55dz.fsf@yahoo.com> <87fsia5ezr.fsf@yahoo.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <87fsia5ezr.fsf@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2022 08:23:20 -0000 On 8/5/22 18:37, Po Lu wrote: > Emacs also supports loading dynamic modules. What if a module also > calls g_message with a similar string? Presumably such a module would follow the same convention, that is, if it output any of those messages it would soon _exit. If it doesn't follow the convention it would be incompatible with Emacs. Admittedly this is a hack.