ObjFW  Check-in [c32b3419c2]

Overview
Comment:Fix missing import and typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c32b3419c28c7106c1bedeceb74ecad18f5ba6734abb4e2ed34ba8068426d6d0
User & Date: js on 2018-03-18 01:05:56
Other Links: manifest | tags
Context
2018-03-18
03:01
Implement +[operatingSystemVersion] for Windows check-in: 4707e80cdb user: js tags: trunk
01:05
Fix missing import and typo check-in: c32b3419c2 user: js tags: trunk
01:01
socket.m: Minor cleanup check-in: 885d84a1a7 user: js tags: trunk
Changes

Modified src/OFString+PropertyListValue.m from [c15d2666c9] to [35856e3175].

19
20
21
22
23
24
25

26
27
28
29
30
31
32

#import "OFString+PropertyListValue.h"
#import "OFArray.h"
#import "OFData.h"
#import "OFDate.h"
#import "OFDictionary.h"
#import "OFNumber.h"

#import "OFXMLElement.h"

#import "OFInvalidFormatException.h"
#import "OFUnsupportedVersionException.h"

int _OFString_PropertyListValue_reference;








>







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

#import "OFString+PropertyListValue.h"
#import "OFArray.h"
#import "OFData.h"
#import "OFDate.h"
#import "OFDictionary.h"
#import "OFNumber.h"
#import "OFXMLAttribute.h"
#import "OFXMLElement.h"

#import "OFInvalidFormatException.h"
#import "OFUnsupportedVersionException.h"

int _OFString_PropertyListValue_reference;

Modified src/OFSystemInfo.m from [d2ab194f29] to [2bd7016700].

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#elif defined(OF_MORPHOS)
	/* TODO */
#elif defined(OF_AMIGAOS4)
	/* TODO */
#elif defined(OF_WII) || defined(NINTENDO_3DS) || defined(OF_NINTENDO_DS) || \
    defined(OF_PSP) || defined(OF_MSDOS)
#elif defined(HAVE_SYS_UTSNAME_H) && defined(HAVE_UNAME)
	struct utsname u;

	if (uname(&utsname) != 0)
		return nil;

	operatingSystemVersion = [[OFString alloc]
	    initWithCString: utsname.release
		   encoding: [OFLocalization encoding]];







|







163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#elif defined(OF_MORPHOS)
	/* TODO */
#elif defined(OF_AMIGAOS4)
	/* TODO */
#elif defined(OF_WII) || defined(NINTENDO_3DS) || defined(OF_NINTENDO_DS) || \
    defined(OF_PSP) || defined(OF_MSDOS)
#elif defined(HAVE_SYS_UTSNAME_H) && defined(HAVE_UNAME)
	struct utsname utsname;

	if (uname(&utsname) != 0)
		return nil;

	operatingSystemVersion = [[OFString alloc]
	    initWithCString: utsname.release
		   encoding: [OFLocalization encoding]];