]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs/common.c
Borro parte redundante.
[z.facultad/75.06/emufs.git] / emufs / common.c
index 3906e057b8eed03db48c42001b3de1cd7e4131f3..1182c2921deb4b098977886561eadaf46ae2c237 100644 (file)
@@ -46,7 +46,6 @@ long emufs_common_get_file_size(const char* filename, int* err)
                *err = EMUFS_ERROR_CANT_OPEN_FILE;
                return 0;
        }
                *err = EMUFS_ERROR_CANT_OPEN_FILE;
                return 0;
        }
-       fseek(file, 0, SEEK_END);
        file_size = ftell(file);
        fclose(file);
        if (file_size < 0) {
        file_size = ftell(file);
        fclose(file);
        if (file_size < 0) {