ObjFW  Check-in [c96f67f694]

Overview
Comment:OFPlugin: Fix accidentally removed =
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c96f67f6945d33f06cdfd47606b373682f7e3402c2ee88084c9a637224aa9137
User & Date: js on 2022-06-18 01:07:58
Other Links: manifest | tags
Context
2022-06-18
17:30
Make OFOnce() public check-in: 28230080b3 user: js tags: trunk
01:07
OFPlugin: Fix accidentally removed = check-in: c96f67f694 user: js tags: trunk
2022-06-17
20:04
Make GCC happy again check-in: b29bfe6485 user: js tags: trunk
Changes

Modified src/OFPlugin.m from [8ad69b7ef8] to [dfbf2c9e77].

63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#ifndef OF_WINDOWS
		_handle = dlopen(
		    [path cStringWithEncoding: [OFLocale encoding]], RTLD_LAZY);
#else
		if ([OFSystemInfo isWindowsNT])
			_handle = LoadLibraryW(path.UTF16String);
		else
			_handle LoadLibraryA(
			    [path cStringWithEncoding: [OFLocale encoding]]);
#endif

		if (_handle == NULL) {
#ifndef OF_WINDOWS
			OFString *error = [OFString
			    stringWithCString: dlerror()







|







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#ifndef OF_WINDOWS
		_handle = dlopen(
		    [path cStringWithEncoding: [OFLocale encoding]], RTLD_LAZY);
#else
		if ([OFSystemInfo isWindowsNT])
			_handle = LoadLibraryW(path.UTF16String);
		else
			_handle = LoadLibraryA(
			    [path cStringWithEncoding: [OFLocale encoding]]);
#endif

		if (_handle == NULL) {
#ifndef OF_WINDOWS
			OFString *error = [OFString
			    stringWithCString: dlerror()