From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: A question about struct coding_system Date: Mon, 21 Nov 2011 20:13:49 +0400 Message-ID: <4ECA78BD.4040904@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321892043 8000 80.91.229.12 (21 Nov 2011 16:14:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 16:14:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 21 17:13:59 2011 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 1RSWVL-0007zi-71 for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 17:13:59 +0100 Original-Received: from localhost ([::1]:47780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSWVK-0000rG-LG for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 11:13:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSWVG-0000qu-Mb for emacs-devel@gnu.org; Mon, 21 Nov 2011 11:13:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSWVF-0003za-Cq for emacs-devel@gnu.org; Mon, 21 Nov 2011 11:13:54 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:45427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSWVF-0003zK-8A for emacs-devel@gnu.org; Mon, 21 Nov 2011 11:13:53 -0500 Original-Received: by bke17 with SMTP id 17so7870849bke.0 for ; Mon, 21 Nov 2011 08:13:51 -0800 (PST) Original-Received: by 10.204.7.133 with SMTP id d5mr15335022bkd.64.1321892031628; Mon, 21 Nov 2011 08:13:51 -0800 (PST) Original-Received: from [192.168.0.171] ([78.153.153.8]) by mx.google.com with ESMTPS id q6sm7709521bka.6.2011.11.21.08.13.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Nov 2011 08:13:50 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:146111 Archived-At: At a first glance, struct coding_system should be a vector-like object with src_object and dst_object at the beginning. But it isn't, and it looks like that src_object and dst_object are never marked directly. Thus, it should be guaranteed that, for any coding_system, objects referenced by src_object and dst_object are always reachable from another live objects. But I can't find any code that takes care about this, so I don't understand why and how it works at all :-(. Dmitry