bug-gnustep
[Top][All Lists]
Advanced

[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]];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]