Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: [gentoo-dev-portage] [PATCH] prevent world file corruption by writing atomically
Date: Mon, 30 Jan 2006 18:16:56
Message-Id: 43DE5922.5050606@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [gentoo-dev-portage] [PATCH] prevent world file corruption by writing atomically by Zac Medico
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Zac Medico wrote:
5 > Okay, I've created a file-like class called atomic_ostream and it is now used for both write_atomic() and writedict().
6
7 I've been using this patch locally with no problems. Do we have any more feedback or are people satisfied with it? IMO we need something like this, if not for (unsupported) parallel merges, at least to prevent loss of an important file when it is being overwritten and an IO error occurs (see bug 114133).
8
9 Zac
10 -----BEGIN PGP SIGNATURE-----
11 Version: GnuPG v1.4.2 (GNU/Linux)
12
13 iD8DBQFD3lki/ejvha5XGaMRAvL1AJ94sMDwNa+kwz2R4Y9kPpA2IPHvGwCaA7NJ
14 4y4N+AKzHASnqhIQV+A11p8=
15 =ajvT
16 -----END PGP SIGNATURE-----
17 --
18 gentoo-portage-dev@g.o mailing list

Replies