From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: doco ports verbiage Date: 14 Jun 2003 02:32:16 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87k7bp5wj3.fsf@zagadka.ping.de> References: <877k7sm7uq.fsf@zip.com.au> <87smqf8kcr.fsf@zagadka.ping.de> <87u1at7cgk.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055550709 6212 80.91.224.249 (14 Jun 2003 00:31:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2003 00:31:49 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 14 02:31:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19QyxO-0001bs-00 for ; Sat, 14 Jun 2003 02:31:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QyzV-0004xP-Jp for guile-devel@m.gmane.org; Fri, 13 Jun 2003 20:33:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19QyzC-0004wG-4C for guile-devel@gnu.org; Fri, 13 Jun 2003 20:33:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19QyzA-0004u8-GT for guile-devel@gnu.org; Fri, 13 Jun 2003 20:33:37 -0400 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Qyz9-0004st-SY for guile-devel@gnu.org; Fri, 13 Jun 2003 20:33:36 -0400 Original-Received: from dialin.speedway42.dip217.dokom.de ([195.138.42.217] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 19QyzH-0002wP-00 for guile-devel@gnu.org; Sat, 14 Jun 2003 02:33:43 +0200 Original-Received: (qmail 27839 invoked by uid 1000); 14 Jun 2003 00:32:17 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <87u1at7cgk.fsf@zip.com.au> Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2536 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2536 Kevin Ryde writes: > Marius Vollmer writes: > > > > What does Guile do when FILENAME already exists? We should document > > that. > > I guess on a unix-like system it truncates the file and leaves you > ready to put new contents. Yeah, when FILENAME is a regular file. What about saying that on POSIX systems, you get the behavior of open (FILENAME, O_WRONLY | O_CREAT | O_TRUNC, 0666) which is what the code eventually does. Or we could stay in Scheme and say it is equivalent to (open-file FILENAME "w") and make sure that open-file is documented properly. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel