--- Bonsoir 1.0.1/BonsoirController.m 2006-09-09 23:32:18.000000000 -0500 +++ Patched Projects/Bonsoir/BonsoirController.m 2006-09-27 02:44:09.000000000 -0500 @@ -92,7 +92,15 @@ if ([proxyObject respondsToSelector:@selector(name)]) { NSData *theirVCardData = [proxyObject vCard]; - NSString *tempFilePath = [NSString stringWithFormat:@"/tmp/%@.vcf", [proxyObject name]]; + + // patch the file write to be less-bad + // NSString *tempFilePath = [NSString stringWithFormat:@"/tmp/%@.vcf", [proxyObject name]]; + srandom(time(NULL)); + long randomLongInt=random(); + NSString *tempFilePath = [NSString stringWithFormat:@"/tmp/lastImportedCard.%d.vcf", randomLongInt]; + + + [theirVCardData writeToFile:tempFilePath atomically:FALSE]; NSLog(@"Writing the vCard out to: %@", tempFilePath);