Differences From Artifact [521d39c7c0]:
- File src/OFFile.m — part of check-in [e76a7f52c1] at 2011-04-22 20:19:54 on branch trunk — More style improvements. (user: js, size: 15978) [annotate] [blame] [check-ins using]
To Artifact [45991e6e84]:
- File src/OFFile.m — part of check-in [07b3d0e8de] at 2011-04-24 21:50:04 on branch trunk — Add -[finalize] to all classes which would require it once we have GC. (user: js, size: 16084) [annotate] [blame] [check-ins using]
︙ | |||
682 683 684 685 686 687 688 689 690 691 692 693 694 695 | 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 | + + + + + + + + | - (void)dealloc { if (closable && fileDescriptor != -1) close(fileDescriptor); [super dealloc]; } - (void)finalize { if (closable && fileDescriptor != -1) close(fileDescriptor); [super finalize]; } @end @implementation OFFileSingleton - initWithPath: (OFString*)path mode: (OFString*)mode { Class c = isa; |
︙ |