Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fm_prop.c Log Message: and compile again! =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_prop.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- e_fm_prop.c 10 Jan 2007 16:32:29 -0000 1.7 +++ e_fm_prop.c 10 Jan 2007 16:38:20 -0000 1.8 @@ -149,24 +149,24 @@ char buf[4096]; int fperm = 0; - if (((fi->statinfo.st_mode & S_IRUSR) && (cfdata->owner_read)) || - ((!fi->statinfo.st_mode & S_IRUSR) && (!cfdata->owner_read))) + if (((cfdata->fi->statinfo.st_mode & S_IRUSR) && (cfdata->owner_read)) || + ((!cfdata->fi->statinfo.st_mode & S_IRUSR) && (!cfdata->owner_read))) fperm = 1; - if (((fi->statinfo.st_mode & S_IWUSR) && (cfdata->owner_write)) || - ((!fi->statinfo.st_mode & S_IWUSR) && (!cfdata->owner_write))) + if (((cfdata->fi->statinfo.st_mode & S_IWUSR) && (cfdata->owner_write)) || + ((!cfdata->fi->statinfo.st_mode & S_IWUSR) && (!cfdata->owner_write))) fperm = 1; - if (((fi->statinfo.st_mode & S_IROTH) && (cfdata->others_read)) || - ((!fi->statinfo.st_mode & S_IROTH) && (!cfdata->others_read))) + if (((cfdata->fi->statinfo.st_mode & S_IROTH) && (cfdata->others_read)) || + ((!cfdata->fi->statinfo.st_mode & S_IROTH) && (!cfdata->others_read))) fperm = 1; - if (((fi->statinfo.st_mode & S_IWOTH) && (cfdata->others_write)) || - ((!fi->statinfo.st_mode & S_IWOTH) && (!cfdata->others_write))) + if (((cfdata->fi->statinfo.st_mode & S_IWOTH) && (cfdata->others_write)) || + ((!cfdata->fi->statinfo.st_mode & S_IWOTH) && (!cfdata->others_write))) fperm = 1; snprintf(buf, sizeof(buf), "%s/%s", e_fm2_real_path_get(cfdata->fi->fm), cfdata->fi->file); if (fperm) { /* FIXME: modify st_mode */ - chmod(buf, fi->statinfo.st_mode); + chmod(buf, cfdata->fi->statinfo.st_mode); } return 1; /* Apply was OK */ } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs