[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doco ports verbiage

From: Kevin Ryde
Subject: Re: doco ports verbiage
Date: Sat, 14 Jun 2003 10:02:51 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

Marius Vollmer <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]