[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] keyring integration from a user POV
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] keyring integration from a user POV |
Date: |
Wed, 11 Apr 2007 23:48:40 -0700 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, Apr 11, 2007 at 10:48:17PM -0700, Zack Weinberg wrote:
> If you do instead
>
> ofstream fout(system_path(idx(args, 0)).as_external().c_str(),
> ofstream::out);
>
> then the system_path constructor will adjust the path so the file
> lands where the user expects. [Really you should use write_data() as
> well, but I am not sure how to construct the "temporary directory"
> argument it wants.]
Yeah, and it'll even work in non-utf8 locales! For people who put
accents in their keyfile names, you know.
The docs at the top of paths.hh are good reading. (Or if they aren't,
it'd be good to hear why not ;-).)
-- Nathaniel
--
Eternity is very long, especially towards the end.
-- Woody Allen
- Re: [Monotone-devel] keyring integration from a user POV, (continued)
- Re: [Monotone-devel] keyring integration from a user POV, Benoît Dejean, 2007/04/09
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/09
- Re: [Monotone-devel] keyring integration from a user POV, Benoît Dejean, 2007/04/09
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/10
- Re: [Monotone-devel] keyring integration from a user POV, Derek Scherger, 2007/04/11
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/12
- Re: [Monotone-devel] keyring integration from a user POV, Zack Weinberg, 2007/04/12
- Re: [Monotone-devel] keyring integration from a user POV,
Nathaniel Smith <=
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/12
- Re: [Monotone-devel] keyring integration from a user POV, Benoît Dejean, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Benoît Dejean, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Nathaniel Smith, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Jack Lloyd, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/13
- Re: [Monotone-devel] keyring integration from a user POV, Justin Patrin, 2007/04/13