X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FCart.c;h=a84708865fe108aabbad5d62e99999e82bdfaa6e;hb=0af33fe0ef24a3e3b65217ad0d7aa2db03d16fc1;hp=395467082971da0b652e08f8c2f77a2a5873259e;hpb=89fa852dce08d9aab0f19458a4afa246e9839e9e;p=picodrive.git diff --git a/Pico/Cart.c b/Pico/Cart.c index 3954670..a847088 100644 --- a/Pico/Cart.c +++ b/Pico/Cart.c @@ -1,7 +1,7 @@ // This is part of Pico Library // (c) Copyright 2004 Dave, All rights reserved. -// (c) Copyright 2006 notaz, All rights reserved. +// (c) Copyright 2006-2007, Grazvydas "notaz" Ignotas // Free for non-commercial use. // For commercial use, separate licencing terms must be obtained. @@ -79,10 +79,8 @@ zip_failed: f = fopen(path, "rb"); if (f == NULL) return NULL; -#ifndef NO_IONBF /* we use our own buffering */ setvbuf(f, NULL, _IONBF, 0); -#endif file = malloc(sizeof(*file)); if (file == NULL) {