[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSFileWrapper bug
From: |
Nicola Pero |
Subject: |
Re: NSFileWrapper bug |
Date: |
Wed, 26 Sep 2001 12:08:07 +0100 (BST) |
Thanks - applied
Ludovic> Hi, In NSFileWrapper, the method:
Ludovic> - (BOOL) writeToFile: (NSString*)path atomically:
Ludovic> (BOOL)atomicFlag updateFilenames:
Ludovic> (BOOL)updateFilenamesFlag
Ludovic> contains a small bug.
Ludovic> At the end of the method we have:
Ludovic> if (success && updateFilenamesFlag) [self setFilename:
Ludovic> path];
Ludovic> and I think we should have:
Ludovic> if (success && updateFilenamesFlag) [self setFilename:
Ludovic> [path lastPathComponent]];
- NSFileWrapper bug, Ludovic Marcotte, 2001/09/18
- Re: NSFileWrapper bug,
Nicola Pero <=