if (stat(logo_name,&st) == 0) { logo_size=st.st_size; logo=malloc(logo_size); if(logo) { fd = fopen(logo_name, "rb");
Success, i added the call of this function:
struct stat { unsigned long st_dev; //? unsigned long st_ino; //? unsigned long st_size; // <--- New location unsigned short st_mode; //? short st_nlink; //? short st_uid; //? short st_gid; //? unsigned long st_atime; //? unsigned long st_mtime; //? unsigned long st_ctime; //? // unsigned long st_size; <--- Old location long st_blksize; //? long st_blocks; //? unsigned char st_attrib; int reserved1; // int reserved2; // int reserved3; // int reserved4; // int reserved5; // int reserved6; //};
Started by oversky Feature Requests
Started by Fairbanks CHDK Releases
Started by jackpot General Help and Assistance on using CHDK stable releases
Started by stealthmktg « 1 2 » Script Writing
Started by bobgoldstein RAW Shooting and Processing