if (ext != NULL) back_ext = (char*)ext; 
if (ext != NULL) { back_ext = (char*)ext; } 
moveFile(const char *oldname,	 const char *newname,	 gboolean backup,	 char *ext){	/* move 'oldname' to 'newname' by creating a hard link to it	 *  and then removing the original hard link	 */	int res = 0;	struct stat tmp;	int s_res = stat(newname, &tmp);			if (s_res >= 0)	{		if (backup == TRUE) {			char backname[1024];			static const char *back_ext = "bak";			if (ext != NULL) back_ext = (char*)ext;	    			snprintf(backname, sizeof(backname)-1,				 "%s.%s", newname, back_ext);			moveFile(newname, backname, FALSE, NULL);		} else {			res = unlink(newname);			if (res < 0) {				perror("Could not remove the current backup of Cib");				return -1;			}		}	}    	s_res = stat(oldname, &tmp);	if (s_res >= 0) {		res = link(oldname, newname);		if (res < 0) {			perror("Could not create backup of current Cib");			return -2;		}		res = unlink(oldname);		if (res < 0) {			perror("Could not unlink the current Cib");			return -3;		}	}    	return 0;    }
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/826f725372d63e37b53292cf952be40a5a017609/io.c/clean/crm/cib/io.c