Attachments you submit will be routed for moderation. If you have an account, please log in first.

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

File 0001-fix-error-return-without-exception-set-on-ARM-1404.2.patch, 0.8 KB (added by sascha_silbe, 3 years ago)

backport to 0.84

  • src/carquinyol/metadatareader.c

    From 18cf9ab5ad5fa582b20ab0fd525af229496e33d2 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 08be17e..7412ca9 100644
    a b  
    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");