ObjFW  Diff

Differences From Artifact [d2ed7eeb87]:

To Artifact [27c449dbd8]:


101
102
103
104
105
106
107
108
109

110
111
112
113
114
115
116
101
102
103
104
105
106
107


108
109
110
111
112
113
114
115







-
-
+







{
	/*
	 * AmigaOS needs the full parsing to determine the last path component.
	 * This could be optimized by not creating the temporary objects,
	 * though.
	 */
	void *pool = objc_autoreleasePoolPush();
	OFArray OF_GENERIC(OFString *) *components = [self pathComponents];
	OFString *ret = [components lastObject];
	OFString *ret = [[self pathComponents] lastObject];

	[ret retain];
	objc_autoreleasePoolPop(pool);
	return [ret autorelease];
}

- (OFString *)pathExtension