From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.bugs Subject: bug#20907: [PATCH] Manual bug for scm_gc_protect_object Date: Fri, 26 Jun 2015 23:00:32 +0000 (UTC) Message-ID: <1019343405.630040.1435359632144.JavaMail.yahoo@mail.yahoo.com> Reply-To: Mike Gran NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435359933 17168 80.91.229.3 (26 Jun 2015 23:05:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2015 23:05:33 +0000 (UTC) To: 20907@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jun 27 01:05:13 2015 Return-path: Envelope-to: guile-bugs@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 1Z8cgL-00031N-AW for guile-bugs@m.gmane.org; Sat, 27 Jun 2015 01:05:13 +0200 Original-Received: from localhost ([::1]:33999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cgK-0004Mx-IZ for guile-bugs@m.gmane.org; Fri, 26 Jun 2015 19:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cgG-0004M8-Ox for bug-guile@gnu.org; Fri, 26 Jun 2015 19:05:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8cgB-0000to-Px for bug-guile@gnu.org; Fri, 26 Jun 2015 19:05:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cgB-0000tY-Mw for bug-guile@gnu.org; Fri, 26 Jun 2015 19:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z8cgB-0008WI-Dv for bug-guile@gnu.org; Fri, 26 Jun 2015 19:05:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike Gran Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 26 Jun 2015 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20907 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch X-Debbugs-Original-To: Bug Guile Original-Received: via spool by submit@debbugs.gnu.org id=B.143535985832684 (code B ref -1); Fri, 26 Jun 2015 23:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jun 2015 23:04:18 +0000 Original-Received: from localhost ([127.0.0.1]:58509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8cfR-0008V5-Vl for submit@debbugs.gnu.org; Fri, 26 Jun 2015 19:04:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41557) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8cfP-0008Ut-EF for submit@debbugs.gnu.org; Fri, 26 Jun 2015 19:04:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8cfJ-0000Mp-5m for submit@debbugs.gnu.org; Fri, 26 Jun 2015 19:04:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cfJ-0000Ml-2y for submit@debbugs.gnu.org; Fri, 26 Jun 2015 19:04:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cfH-0003bG-Vv for bug-guile@gnu.org; Fri, 26 Jun 2015 19:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8cfC-0000KV-PU for bug-guile@gnu.org; Fri, 26 Jun 2015 19:04:07 -0400 Original-Received: from nm20-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.150]:58720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cfC-0000KP-2B for bug-guile@gnu.org; Fri, 26 Jun 2015 19:04:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1435359841; bh=P7Eoyy1ghmr/xXRyFKnQVfqxLvzvf8ecKq8ArsCT7Q8=; h=Date:From:Reply-To:To:Subject:From:Subject; b=aZP7Ow41fL4AqIvwMxs9DqBOHB/ut9AvNUf43CmVHnCxSwHVxGeRHZ32PKDARrKBoqSorOV8mlWFNHj5iM45IkujBdju5npFfawEEHA+zjrN5LyLTKvnvgCKtMKCCJz0ZfW5OfxItoXpUKp54RzTHOHhPM6NL8Xcr8rIs4RJurJRktE0w+Yvwebv7+Z8JtXz+WBanYrTgqVqy8WvNe7eVZ48WrEsClJ0y7xtd6Emgl7aUiYDKxJA6YQyTjbz37GsFBktH8RMde/LWkco1zgD7oq0yN6i5mCWdXeNuSv/qkx9wUR2JAIf5a21OocMDUIUrfCQptBSx6tkxUs6r+tKSQ== Original-Received: from [98.138.100.112] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 26 Jun 2015 23:04:01 -0000 Original-Received: from [98.138.89.234] by tm103.bullet.mail.ne1.yahoo.com with NNFMP; 26 Jun 2015 23:04:01 -0000 Original-Received: from [127.0.0.1] by omp1049.mail.ne1.yahoo.com with NNFMP; 26 Jun 2015 23:04:01 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 153916.33572.bm@omp1049.mail.ne1.yahoo.com X-YMail-OSG: n8MIyEkVM1k9f1w7H_r1j3Xkswa9TgDB7hK3_ZoSch.74MAcVWzHG3h_2a4OmRz 9Wytx7gX1VQVkGjzRytXYkwJpMFv_nG0fOf1IhghZnO._V94gLLCpmxe61kgAARs0D4Rs6FNk1rN EgEOeD5A8sk6zEXq9fWV..CmJS_CkI3A3oJFuvm.lInLL2lM_r7XiC0L8f8tk1t4vQxqgpeTbLMC D5f7piUlJ.mGVsM2gh7_6ILPXJbc3EOoq6kR.AoRMMe8L2FA80d0WLAPCdjqwz39RILmuj.J0R7d zSiKCzxPSpslb2rpvdIBw3T8m.kLajelRFoSkESY8_9j5ZUb1nDZ3Fx4EOy04s4OeUTGWbf0FN6q jNuuA1Cs6J3JucTH79xMSLt_sel0Yg.4Sg5.mHjyOuFww1FjzoXigKzhtYKbW5VIN6MdsZDSmk41 I0Lqlzrw8PPDZpWT5bngHLagKMUFxmgNnNfUmJbcTDU0VLS9LZK4qNxG54gT_iD0V98Cptt6EhvG i9Q-- Original-Received: by 98.138.101.171; Fri, 26 Jun 2015 23:04:00 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7802 Archived-At: Manual claims C globals weren't scanned by GC in 1.8. The opposite is true. * doc/ref/api-memory.texi [scm_gc_protect_object]: modified --- doc/ref/api-memory.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ref/api-memory.texi b/doc/ref/api-memory.texi index 0e37d16..3496cc5 100644 --- a/doc/ref/api-memory.texi +++ b/doc/ref/api-memory.texi @@ -42,7 +42,7 @@ as it was protected. It is an error to unprotect an object more times than it has been protected. Returns the SCM object it was passed. Note that storing @var{obj} in a C global variable has the same -effect@footnote{In Guile up to version 1.8, C global variables were not +effect@footnote{In Guile up to version 1.8, C global variables were scanned by the garbage collector; hence, @code{scm_gc_protect_object} was the only way in C to prevent a Scheme object from being freed.}. @end deftypefn -- 2.1.0