ObjFW  Check-in [5ce2b70164]

Overview
Comment:OFURLHandler_file: Fix accidental autorelease
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5ce2b701648f32ac3870d86c60b8f4467d9212e5415a5a3a964b99269ae7b651
User & Date: js on 2019-03-13 21:46:07
Other Links: manifest | tags
Context
2019-03-16
14:32
Naming consistency for 2 forgotten structs check-in: a2d31cca3d user: js tags: trunk
2019-03-13
21:46
OFURLHandler_file: Fix accidental autorelease check-in: 5ce2b70164 user: js tags: trunk
2019-03-12
23:48
Update to Unicode 12.0 check-in: cd9c14c7c1 user: js tags: trunk
Changes

Modified src/OFURLHandler_file.m from [701f79185c] to [9e11b1d009].

821
822
823
824
825
826
827

828

829
830
831
832
833
834
835
821
822
823
824
825
826
827
828

829
830
831
832
833
834
835
836







+
-
+







		do {
			OFString *file;

			if (!wcscmp(fd.cFileName, L".") ||
			    !wcscmp(fd.cFileName, L".."))
				continue;

			file = [[OFString alloc]
			file = [OFString stringWithUTF16String: fd.cFileName];
			    initWithUTF16String: fd.cFileName];
			@try {
				[files addObject: file];
			} @finally {
				[file release];
			}
		} while (FindNextFileW(handle, &fd));