1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Brian Harring wrote: |
5 |
> the atomic writing of data in writedict could be gutted out to a |
6 |
> derivative of the file class; via that, same underlying atomic update |
7 |
> code for writedict and wordfile updates... |
8 |
|
9 |
Hmm, override the constructor and close methods to handle the temp file creation and rename, respectively. That seems like a very elegant approach. I'll try that and update the patch. |
10 |
|
11 |
Zac |
12 |
-----BEGIN PGP SIGNATURE----- |
13 |
Version: GnuPG v1.4.2 (GNU/Linux) |
14 |
|
15 |
iD8DBQFD1nHS/ejvha5XGaMRAhcCAJ4v2ZoUux1lqDpq8z9URZfybZg2IgCfVwDK |
16 |
XPPGuL0jiv3RgO1xPCsGFt0= |
17 |
=E4NK |
18 |
-----END PGP SIGNATURE----- |
19 |
-- |
20 |
gentoo-portage-dev@g.o mailing list |