|
From: | Jeremy Bettis |
Subject: | [patch #4228] base: NSDate-writeToFile:atomically:YES doesn't work in win9x |
Date: | Mon, 25 Jul 2005 15:20:45 +0000 |
User-agent: | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) |
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=4228> Summary: base: NSDate-writeToFile:atomically:YES doesn't work in win9x Project: GNUstep Submitted by: jeremybettis Submitted on: Mon 07/25/2005 at 15:20 Category: Foundation Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open _______________________________________________________ Details: The implementation of NSDate-writeToFile:atomically: uses MoveFileEx which doesn't exist on win9x. So I have implemented this not terribly atomic delete-move-move-delete logic to do something close for those handful of poor souls who are still on Windows 9x/ME. This is complicated by the recent change to unicode paths on windows. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 07/25/2005 at 15:20 Name: base-diff-nsdata.txt Size: 1.11KB By: jeremybettis diff of Source/NSData.m CVS <http://savannah.gnu.org/patch/download.php?item_id=4228&item_file_id=4909> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?func=detailitem&item_id=4228> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |