rem: FilePath += "/tempIcal.ics"; 
add: var aFile = Components.classes["@mozilla.org/file/local;1"].createInstance(); var aLocalFile = aFile.QueryInterface(Components.interfaces.nsILocalFile); if (!aLocalFile) return false;  aLocalFile.initWithPath(FilePath); aLocalFile.append( "tempIcal.ics" );  FilePath = aLocalFile.path; 
context: function getCalendarDataFilePath(){	var FilePath;	var DirUtilsComponent;	var DirUtilsInstance;	var nsIFile;		try	{		DirUtilsComponent = Components.classes["@mozilla.org/file/directory_service;1"];		DirUtilsInstance = DirUtilsComponent.createInstance(Components.interfaces.nsIProperties);		nsIFile = Components.interfaces.nsIFile;		FilePath = DirUtilsInstance.get("ProfD", nsIFile).path; 		FilePath += "/tempIcal.ics";	}	catch(ex)	{		mdebug("No filepath has been found, ex:\n" + ex);		FilePath = null;	}	return(FilePath);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/020280ec812fcb10dcae69ce76921d61bbf8688a/calendarMail.js/buggy/calendar/resources/content/calendarMail.js