[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] Re: ifconfig: Clean up. [PATCH]
From: Rob Landley <rob () landley ! net>
Date: 2005-07-28 17:56:32
Message-ID: 200507281256.32621.rob () landley ! net
[Download RAW message or body]
On Thursday 28 July 2005 12:04, Bernd Petrovitsch wrote:
> I'm in now way advocating or even proposing that close(2) shouldn't
> close the fd (even if it reports an error).
> But IMHO a lot of people will think that way.
Basically, close doesn't fail often enough for anybody to have developed much
interest in this issue. And if close _does_ fail, it's not clear what you'd
want to do about it.
The only special case I can think of is "mv", where you'd want to avoid
deleting the original file if the destination file isn't right. I can also
see things like mailservers not wanting to tell the sending mailserver they
got the message until they're sure it's on disk (although with the spam
problem as bad as it is and spam filters getting heuristic with the potential
for false positives, email can no longer really be considered a reliable
medium no matter how much effort you go to...) but these days they use
fsync() anyway.
> Bernd
Rob
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic