bugmonotone - Bugs: bug #16455, On windows, rename_clobberingly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16455: On windows, rename_clobberingly should use strerror() equivalent

Submitted by:  Timothy Brownawell <tbrownaw>
Submitted on:  Thu 27 Apr 2006 08:16:01 PM UTC  
 
Category: error handlingSeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: Matthew Gregan <kinetik>
Open/Closed: Closed
mtn version --full: 

Sat 27 May 2006 11:37:20 PM UTC, comment #1:

Done in 38fb39bec7eef7da06a0dea0fec5e1ad75515e7d.

Matthew Gregan <kinetik>
Project MemberIn charge of this item.
Thu 27 Apr 2006 08:16:01 PM UTC, original submission:

When failing, rename_clobberingly prints the result of GetLastError(), which is an int like errno. It should use FormatMessage ("To obtain an error string for system error codes, use the FormatMessage function.") so the output is readable.

It should especially do this in the E() output when it gives up, as this is visible to end users.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/formatmessage.asp

Timothy Brownawell <tbrownaw>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 27 May 2006 11:37:20 PM UTCkinetikStatusNone=>Fixed
  Assigned toNone=>kinetik
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1