Re: [PATCH] FileInfo misuse

2002-01-07 Thread Angus Leeming
On Monday 07 January 2002 5:36 pm, John Levon wrote: > On Mon, Jan 07, 2002 at 03:28:09PM +, Angus Leeming wrote: > > > FileInfo d(name); > > > > // FIXME: what is this supposed to do ? > > // .newFile doesn't do what you think it does ... > > if (!d.isOK() || !d.isDir()) {

Re: [PATCH] FileInfo misuse

2002-01-07 Thread John Levon
On Mon, Jan 07, 2002 at 03:28:09PM +, Angus Leeming wrote: > FileInfo d(name); > > // FIXME: what is this supposed to do ? > // .newFile doesn't do what you think it does ... > if (!d.isOK() || !d.isDir()) { > d.newFile(dir); > } > > if (!d

Re: [PATCH] FileInfo misuse

2002-01-07 Thread Angus Leeming
On Monday 07 January 2002 3:59 pm, you wrote: > When I wrote the newFile it did excatly what I wanted it do. -> run > the stat on the new file. > nice for loops etc. I think it still does, which just leaves John's comment to understand! Angus FileInfo & FileInfo::newFile(string const & path,

Re: [PATCH] FileInfo misuse

2002-01-07 Thread Angus Leeming
On Saturday 05 January 2002 10:15 pm, you wrote: > > this fixes most of the cases, and asserts on the others > > please apply > > john John, I've just been perusing the FileInfo patch that you posted and that Jean-Marc applied. The patched code results in: Index: src/frontends/xforms/xform

Re: [PATCH] FileInfo misuse

2002-01-07 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> this fixes most of the cases, and asserts on the others John> please apply Applied locally. JMarc

[PATCH] FileInfo misuse

2002-01-05 Thread John Levon
this fixes most of the cases, and asserts on the others please apply john -- "Unless everyone else on earth is attending meetings I haven't been told about." - /. paranoia at its finest Index: src/ChangeLog === RCS fil