From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: file-exists? confused Date: Tue, 14 Mar 2006 08:17:58 +1100 Message-ID: <877j6y6o3d.fsf@zip.com.au> References: <20060313165454.M814@ccrma.Stanford.EDU> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142284888 29974 80.91.229.2 (13 Mar 2006 21:21:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Mar 2006 21:21:28 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 13 22:21:16 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIuQs-0007aJ-H4 for guile-devel@m.gmane.org; Mon, 13 Mar 2006 22:18:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIuQr-000342-Iv for guile-devel@m.gmane.org; Mon, 13 Mar 2006 16:18:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIuQo-00031y-Ms for guile-devel@gnu.org; Mon, 13 Mar 2006 16:18:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIuQn-0002yp-2b for guile-devel@gnu.org; Mon, 13 Mar 2006 16:18:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIuQm-0002yX-Qe for guile-devel@gnu.org; Mon, 13 Mar 2006 16:18:20 -0500 Original-Received: from [61.8.0.115] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIuUp-0003d6-Pp for guile-devel@gnu.org; Mon, 13 Mar 2006 16:22:32 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (Postfix) with ESMTP id 8754A6FD1B; Tue, 14 Mar 2006 08:18:15 +1100 (EST) Original-Received: from localhost (ppp2D75.dyn.pacific.net.au [61.8.45.117]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k2DLID6g020352; Tue, 14 Mar 2006 08:18:14 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1FIuQQ-00028T-00; Tue, 14 Mar 2006 08:17:58 +1100 Original-To: "Bill Schottstaedt" Mail-Copies-To: never In-Reply-To: <20060313165454.M814@ccrma.Stanford.EDU> (Bill Schottstaedt's message of "Mon, 13 Mar 2006 08:55:49 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5783 Archived-At: "Bill Schottstaedt" writes: > > The new Guile's file-exists? function is confused by very large files: Ahh. I changed it from access() to stat() to get the perms right under setuid. I think you'll find you can't open such a file in guile, so saying it doesn't exist is bad, but not terrible. I guess we should compile with _FILE_OFFSET_BITS == 64 and make sure uses of off_t can cope with being either 32 or 64 bits. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel