ObjFW  Check-in [36c2ceaeb0]

Overview
Comment:Fix --disable-files with --enable-sockets
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 36c2ceaeb036094abce00ddf686430af575ea913bda0d2584eb4a4f4a460eafe
User & Date: js on 2016-05-22 12:08:21
Other Links: manifest | tags
Context
2016-05-22
13:45
Build OFZIPArchive even with --disable-files check-in: 080eb2f31b user: js tags: trunk
12:08
Fix --disable-files with --enable-sockets check-in: 36c2ceaeb0 user: js tags: trunk
11:53
lookup-asm-mips64-elf.S: Small optimization check-in: 1a3d3baa33 user: js tags: trunk
Changes

Modified src/OFString.m from [6aa1a96c52] to [b978deee43].

885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
}

- initWithContentsOfURL: (OFURL*)URL
	       encoding: (of_string_encoding_t)encoding
{
	void *pool;
	OFString *scheme;
# ifdef OF_HAVE_FILES
	Class c = [self class];
# endif

	[self release];

	pool = objc_autoreleasePoolPush();








|







885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
}

- initWithContentsOfURL: (OFURL*)URL
	       encoding: (of_string_encoding_t)encoding
{
	void *pool;
	OFString *scheme;
# if defined(OF_HAVE_FILES) || defined(OF_HAVE_SOCKETS)
	Class c = [self class];
# endif

	[self release];

	pool = objc_autoreleasePoolPush();