Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/PC/generrmap.c

    r2 r388  
    66int main()
    77{
    8         int i;
    9         printf("/* Generated file. Do not edit. */\n");
    10         printf("int winerror_to_errno(int winerror)\n");
    11         printf("{\n\tswitch(winerror) {\n");
    12         for(i=1; i < 65000; i++) {
    13                 _dosmaperr(i);
    14                 if (errno == EINVAL)
    15                         continue;
    16                 printf("\t\tcase %d: return %d;\n", i, errno);
    17         }
    18         printf("\t\tdefault: return EINVAL;\n");
    19         printf("\t}\n}\n");
     8    int i;
     9    printf("/* Generated file. Do not edit. */\n");
     10    printf("int winerror_to_errno(int winerror)\n");
     11    printf("{\n\tswitch(winerror) {\n");
     12    for(i=1; i < 65000; i++) {
     13        _dosmaperr(i);
     14        if (errno == EINVAL)
     15            continue;
     16        printf("\t\tcase %d: return %d;\n", i, errno);
     17    }
     18    printf("\t\tdefault: return EINVAL;\n");
     19    printf("\t}\n}\n");
    2020}
Note: See TracChangeset for help on using the changeset viewer.