ObjFW  Check-in [5a0049ac30]

Overview
Comment:Fix two unimportant typos.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5a0049ac3010092084451a92a06a77640cb3989985d9f9e2a889bbe682e7d0f9
User & Date: js on 2011-02-10 18:40:42
Other Links: manifest | tags
Context
2011-02-10
20:41
More work on the PSP port.
Outputting text now works - with colours!
check-in: 3273f141b3 user: js tags: trunk
18:40
Fix two unimportant typos. check-in: 5a0049ac30 user: js tags: trunk
17:19
Use ports instead of services in OFTCPSocket. check-in: a3e03981ea user: js tags: trunk
Changes

Modified src/objfw-defs.h.in from [5535a2e37e] to [72f743ebcf].

1
2
3
4
5
6
7
8
9
#undef OF_APPLE_RUNTIME
#undef OF_HAVE_ASPRINTF
#undef OF_ATOMIC_OPS
#undef OF_BIG_ENDIAN
#undef OF_GNU_RUNTIME
#undef OF_HAVE_ASPRINTF
#undef OF_HAVE_BLOCKS
#undef OF_HAVE_FAST_ENUMERATION
#undef OF_HAVE_GCC_ATOMIC_OPS

<







1

2
3
4
5
6
7
8
#undef OF_APPLE_RUNTIME

#undef OF_ATOMIC_OPS
#undef OF_BIG_ENDIAN
#undef OF_GNU_RUNTIME
#undef OF_HAVE_ASPRINTF
#undef OF_HAVE_BLOCKS
#undef OF_HAVE_FAST_ENUMERATION
#undef OF_HAVE_GCC_ATOMIC_OPS

Modified tests/OFDateTests.m from [b1d4a1021f] to [24a93fc13e].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFDate *d1, *d2;

	TEST(@"+[dateWithTimeIntervalSince1970:]",
	    (d1 = [OFDate dateWithTimeIntervalSince1970: 0]))

	TEST(@"+[dateWithTimeIntervalSince1970:microseconds:",
	    (d2 = [OFDate dateWithTimeIntervalSince1970: 3600 * 25 + 5
					   microseconds: 1]))

	TEST(@"-[description]",
	    [[d1 description] isEqual: @"1970-01-01T00:00:00Z"] &&
	    [[d2 description] isEqual: @"1970-01-02T01:00:05Z"])








|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFDate *d1, *d2;

	TEST(@"+[dateWithTimeIntervalSince1970:]",
	    (d1 = [OFDate dateWithTimeIntervalSince1970: 0]))

	TEST(@"+[dateWithTimeIntervalSince1970:microseconds:]",
	    (d2 = [OFDate dateWithTimeIntervalSince1970: 3600 * 25 + 5
					   microseconds: 1]))

	TEST(@"-[description]",
	    [[d1 description] isEqual: @"1970-01-01T00:00:00Z"] &&
	    [[d2 description] isEqual: @"1970-01-02T01:00:05Z"])