Ticket #1404: 0001-fix-error-return-without-exception-set-on-ARM-1404.patch

File 0001-fix-error-return-without-exception-set-on-ARM-1404.patch, 790 bytes (added by sascha_silbe, 15 years ago)

fix 'error return without exception set' on ARM

  • src/carquinyol/metadatareader.c

    From 86d82edafcf7346169c0a0e3d429e89050f35540 Mon Sep 17 00:00:00 2001
    From: Sascha Silbe <sascha@silbe.org>
    Date: Sun, 20 Sep 2009 22:21:22 +0200
    Subject: [PATCH] fix 'error return without exception set' on ARM (#1404)
    
    ---
     src/carquinyol/metadatareader.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/carquinyol/metadatareader.c b/src/carquinyol/metadatareader.c
    index a357ca6..454c8c3 100644
    a b add_property(const char *metadata_path, char *property_name, PyObject *dict, 
    3030
    3131    if ((!must_exist) && (stat(file_path, &file_stat) != 0)) {
    3232        PyMem_Free(file_path);
    33         return;
     33        return 1;
    3434    }
    3535
    3636    file = fopen(file_path, "r");