bugranger - Bugs: bug #34315, fix hardcoded errno value

 
 

bug #34315: fix hardcoded errno value

Submitted by:  Pino Toscano <pinotree>
Submitted on:  Sat 17 Sep 2011 01:12:59 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 17 Sep 2011 07:55:59 PM UTC, comment #1:

Patch applied, thank you.

Roman Z. <hut>
Project Administrator
Sat 17 Sep 2011 01:12:59 PM UTC, original submission:

Currently ranger compares one 'errno' values with hardcoded numeric value, instead of using the constants of the 'errno' Python module.
This can lead to bugs due to E* values being potentially different per-OS, and even per-arch for the same OS.

The attached git-format'ed patch fixes the issue.

Pino Toscano <pinotree>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hut (Posted a comment)
  • -unavailable- added by pinotree (Submitted the item)
  •  

    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 17 Sep 2011 07:55:59 PM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 17 Sep 2011 01:12:59 PM UTCpinotreeAttached File-=>Added 0001-use-errno.EEXIST.patch, #23983

    Back to the top


    Powered by Savane 3.1-cleanup1