Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/RISCOS/Python/dynload_riscos.c

    r2 r391  
    4040
    4141const struct filedescr _PyImport_DynLoadFiletab[] = {
    42         {"/pyd", "rb", C_EXTENSION},
    43         {0, 0}
     42    {"/pyd", "rb", C_EXTENSION},
     43    {0, 0}
    4444};
    4545
     
    4949
    5050dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
    51                                     char *pathname, FILE *fp)
     51                                    char *pathname, FILE *fp)
    5252{
    53         int err;
    54         char errstr[256];
    55         void (*init_function)(void);
     53    int err;
     54    char errstr[256];
     55    void (*init_function)(void);
    5656
    57         err = dlk_load_no_init(pathname, &init_function);
    58         if (err) {
    59             PyOS_snprintf(errstr, sizeof(errstr), "dlk failure %d", err);
    60             PyErr_SetString(PyExc_ImportError, errstr);
    61         }
    62         return init_function;
     57    err = dlk_load_no_init(pathname, &init_function);
     58    if (err) {
     59        PyOS_snprintf(errstr, sizeof(errstr), "dlk failure %d", err);
     60        PyErr_SetString(PyExc_ImportError, errstr);
     61    }
     62    return init_function;
    6363}
Note: See TracChangeset for help on using the changeset viewer.