bugFonty Python - Bugs: bug #34293, fix hardcoded errno values

 
 

bug #34293: fix hardcoded errno values

Submitter:  Pino Toscano <pinotree>
Submitted:  Wed 14 Sep 2011 05:56:05 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  donningle
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 Apr 2012 12:51:20 PM UTC, comment #1: 

Applied your patch. Many thanks. Sorry it took so long.

Donn Ingle <donningle>
Group administrator
Wed 14 Sep 2011 05:56:05 PM UTC, original submission:  

Currently fontypython compares some 'errno' values with hardcoded numeric values, 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 patch (made against current SVN trunk r167) fixes the issues (adjusting slightly the comments too).

Pino Toscano <pinotree>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23976:  errno.diff added by pinotree (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-25 donningle Open/ClosedOpen Closed
    2012-04-14 donningle StatusNone Fixed
        Assigned toNone donningle
    2011-09-14 pinotree Attached File- Added errno.diff, #23976

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code