ObjFW  Diff

Differences From Artifact [9618c37951]:

To Artifact [35204f8874]:


112
113
114
115
116
117
118


119
120
121
122
123
124
125

- initWithFileName: (OFString *)fileName
{
	self = [super init];

	@try {
		_fileName = [fileName copy];


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

	return self;
}







>
>







112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

- initWithFileName: (OFString *)fileName
{
	self = [super init];

	@try {
		_fileName = [fileName copy];
		_type = OF_TAR_ARCHIVE_ENTRY_TYPE_FILE;
		_mode = 0644;
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}