From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: doco ports verbiage Date: Sat, 14 Jun 2003 10:02:51 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87u1at7cgk.fsf@zip.com.au> References: <877k7sm7uq.fsf@zip.com.au> <87smqf8kcr.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055549009 31323 80.91.224.249 (14 Jun 2003 00:03:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2003 00:03:29 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 14 02:03:25 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 19QyTJ-00080l-00 for ; Sat, 14 Jun 2003 02:00:41 +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 19QyVj-0000cv-5w for guile-devel@m.gmane.org; Fri, 13 Jun 2003 20:03:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19QyVY-0000Yw-NF for guile-devel@gnu.org; Fri, 13 Jun 2003 20:03:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19QyVX-0000YR-EH for guile-devel@gnu.org; Fri, 13 Jun 2003 20:02:59 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QyVW-0000Xu-Lv for guile-devel@gnu.org; Fri, 13 Jun 2003 20:02:58 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h5E02vYd013962 for ; Sat, 14 Jun 2003 10:02:57 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h5E02uQg000913 for ; Sat, 14 Jun 2003 10:02:57 +1000 (EST) Original-Received: from localhost (ppp109.dyn228.pacific.net.au [203.143.228.109]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h5E02tYZ000054 for ; Sat, 14 Jun 2003 10:02:56 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19QyVP-0003Kb-00; Sat, 14 Jun 2003 10:02:51 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never In-Reply-To: <87smqf8kcr.fsf@zagadka.ping.de> (Marius Vollmer's message of "12 Jun 2003 16:02:28 +0200") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) 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:2535 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2535 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. > We can defer to "what the OS usually does when opening an > existing file for writing." or more specifically "equivalent to > fopen(FILENAME, "w")". I could imagine fopen "w" on any system truncating, for general C/Unix compatibility, though I don't know for sure. Do you want to say fopen "w", or just a general "OS convention"? > I think we need to add that the respective current port is restored. Yep, beaut. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel