Date: Thu, 8 Feb 2001 08:15:42 +0000 From: Tony Finch <dot@dotat.at> To: Greg Black <gjb@gbch.net> Cc: Andre Oppermann <oppermann@monzoon.net>, Matt Dillon <dillon@earth.backplane.com>, Rik van Riel <riel@conectiva.com.br>, Mike Silbersack <silby@silby.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Charles Randall <crandall@matchlogic.com>, Dan Phoenix <dphoenix@bravenet.com>, Alfred Perlstein <bright@wintelcom.net>, Jos Backus <josb@cncdsl.com>, freebsd-hackers@FreeBSD.ORG, Tony Finch <dot@dotat.at> Subject: Re: soft updates and qmail (RE: qmail IO problems) Message-ID: <20010208081542.M74296@hand.dotat.at> In-Reply-To: <nospam-3a813095860ab65@maxim.gbch.net> References: <Pine.LNX.4.21.0102061555550.1535-100000@duckman.distro.conectiva> <3A805035.C71AAD5E@monzoon.net> <200102061943.f16Jhp365113@earth.backplane.com> <3A805938.96ED890D@monzoon.net> <20010207110208.G74296@hand.dotat.at> <nospam-3a813095860ab65@maxim.gbch.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Black <gjb@gbch.net> wrote: >Tony Finch wrote: > >> Why not just use rename(2)? To protect against the new filename >> already existing? > >Why not just read the man page for rename(2) before making >suggestions? I did. I'm glad I was right that it's deleting the destination that is the problem. I would have thought it would be easy to be sure that spool filenames are unique, but OTOH I guess that's not completely robust. Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at GERMAN BIGHT: SOUTHERLY BECOMING CYCLONIC THEN MAINLY NORTHERLY 5 TO 7, PERHAPS GALE 8 LATER. RAIN. MAINLY MODERATE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010208081542.M74296>