ObjFW  Check-in [ca40722732]

Overview
Comment:OFTarArchiveEntry: Add default modification date
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 1.0
Files: files | file ages | folders
SHA3-256: ca40722732593bdde6d4df37bb7f73be0678bcbcc7e461cd3f14dd9097d77732
User & Date: js on 2024-03-09 22:06:55
Other Links: branch diff | manifest | tags
Context
2024-03-10
21:30
OFZIPArchive: More fixes for disk number 0 vs 1 check-in: 2214e91661 user: js tags: 1.0
2024-03-09
22:06
OFTarArchiveEntry: Add default modification date check-in: ca40722732 user: js tags: 1.0
22:06
OFTarArchiveEntry: Add default modification date check-in: 55149a21bb user: js tags: trunk
20:46
Set version to 1.0.11 check-in: d8a15cef5d user: js tags: 1.0, 1.0.11-release
Changes

Modified src/OFTarArchiveEntry.m from [799d611075] to [0fb5ccb31f].

90
91
92
93
94
95
96

97
98
99
100
101
102
103
{
	self = [super init];

	@try {
		_type = OFTarArchiveEntryTypeFile;
		_POSIXPermissions =
		    [[OFNumber alloc] initWithUnsignedShort: 0644];

	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}







>







90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
	self = [super init];

	@try {
		_type = OFTarArchiveEntryTypeFile;
		_POSIXPermissions =
		    [[OFNumber alloc] initWithUnsignedShort: 0644];
		_modificationDate = [[OFDate alloc] init];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}