From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: EMACS_INT cleanup Date: Thu, 23 Sep 2010 21:34:29 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <83aan8uvy3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285270526 7681 80.91.229.12 (23 Sep 2010 19:35:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 19:35:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 21:35:26 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OyrZh-0003Xn-12 for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 21:35:21 +0200 Original-Received: from localhost ([127.0.0.1]:43074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyrZg-0007lz-Fd for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 15:35:20 -0400 Original-Received: from [140.186.70.92] (port=43703 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyrZY-0007kU-Fo for emacs-devel@gnu.org; Thu, 23 Sep 2010 15:35:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyrZU-00072v-P3 for emacs-devel@gnu.org; Thu, 23 Sep 2010 15:35:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43143) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyrZU-00070W-Ex for emacs-devel@gnu.org; Thu, 23 Sep 2010 15:35:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OyrZQ-0003PU-Vf for emacs-devel@gnu.org; Thu, 23 Sep 2010 21:35:04 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Sep 2010 21:35:04 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Sep 2010 21:35:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEWQk40dHBsiIiMRDhIW FRZOT08aGBc2UqMtAAACVElEQVQ4jV2UTZObMAyG3Z3xvSYJ50Vg7olZ7sFezo4b5VxY0P//CZVt YNtqMhnjh1d6hT+EAkWklCppGYlo4uECpVIiThH/aHHjQjTGAUAbAVGaJhdjiX9KvE0MNrKMjgUM yBgzTAJAqR3uYUdikOZLRfw+1+gzmkpRJDDRYt1o+y8zu0RKobZMznbOWWNuTQKKa1SRnHnSXRkY SKl2ULJJ25nOOntro0CJoiiSwHXGOBaYvsoKlQQVK8wW5QaSqUq5gQtcI+hS9Qw0nBsuYTIav0EI TcHFE5pNf/RxQVWNztpUojv1hwIxnJ+dOaJfMriIgG/Atu4n4+7R9Qa8lCj0ua8/8RThLVYRUcDh Q30y5g72WpkPdhwXykcgf9i7MwMEh/aT3+BPokUCz1ujg9XYDC2DnsF7yoQNF8VQA3QwsDFewSxA OAHcdPPx4IQM7iJnEhoABTZo1xe7MoZTZYFujNY+6NDhF4Mrg2hKSijUoC9eyyfUDKbsSiICgBeS JVh33GAEyiN/qwKiNEjQob51cTNw5zJEAXifbA8PBnkFMfCOCIhcDDU3/jlmhboEBaBlBCLoXx2O +5pX3ARK4ZM9NIeinIazxtyorLFZj10y3Z3226dBaL+BKgA34PFFa9q7abfPsCnY12PNiiIdzF0h ENt1PlIRzTuQgX5f/gKEG8H2P7BuJd54+A+gDbwSKDMoaSJ651QokQ6gY+f8OEv8Kf0jgnUH+QSX NHsss4LTRBBvE5YAvQfaUkVQZkE8LXO7gejqQule4eCLgW8gxzUc7/Y/7M7vaG7dqwMAAAAASUVO RK5CYII= Mail-Copies-To: never X-Now-Playing: Oneohtrix Point Never's _Returnal_: "Stress Waves" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:l/NJ3SbOgvn88MUBWpKsdkUkLUs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130688 Archived-At: Lars Magne Ingebrigtsen writes: > Lisp_Object > oblookup (Lisp_Object obarray, register const char *ptr, int size, int size_byte) > > The last parameter there is an EMACS_INT. Should I change oblookup to > take EMACS_INT parameters, in case we want to intern a 2.1GB long > string? I mean, it sounds nonsensical, but 1) it makes it compile without any other warnings, and 2) if you've said (setq a (buffer-string)) on a big buffer and then happen to (intern a), you don't want a segfault, do you? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen