ObjFW  Check-in [cd62cbdac5]

Overview
Comment:Minor cosmetic changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cd62cbdac580d80f75c9d6849bd9ea668926ae171b2f744196d81daa468eeffc
User & Date: js on 2015-10-01 20:45:02
Other Links: manifest | tags
Context
2015-10-03
14:12
Don't check for -pedantic for Nintendo DS check-in: 1bc4d664a2 user: js tags: trunk
2015-10-01
20:45
Minor cosmetic changes check-in: cd62cbdac5 user: js tags: trunk
20:34
Use _Nullable instead of __nullable check-in: 2fb22c605b user: js tags: trunk
Changes

Modified configure.ac from [ccc1539768] to [f4e4dd70ba].

1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16
17
AC_INIT(ObjFW, 0.9-dev, js@webkeks.org)
BUILDSYS_INIT

AS_IF([test configure.ac -nt configure], [
	AC_MSG_ERROR([configure.ac is newer than configure! Run autoreconf!])
])

AC_CONFIG_SRCDIR(src)
AC_CONFIG_AUX_DIR(build-aux)
AC_CONFIG_MACRO_DIR(m4)


AC_CANONICAL_HOST

case "$host" in
	*-msdosdjgpp*)
		enable_shared="no"
		enable_threads="no"








<

>







1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16
17
AC_INIT(ObjFW, 0.9-dev, js@webkeks.org)
BUILDSYS_INIT

AS_IF([test configure.ac -nt configure], [
	AC_MSG_ERROR([configure.ac is newer than configure! Run autoreconf!])
])

AC_CONFIG_SRCDIR(src)

AC_CONFIG_MACRO_DIR(m4)
AC_CONFIG_AUX_DIR(build-aux)

AC_CANONICAL_HOST

case "$host" in
	*-msdosdjgpp*)
		enable_shared="no"
		enable_threads="no"

Modified src/resolver.m from [32d271bf6a] to [995660e003].

135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# endif
		in_addr_t s_addr;
		struct hostent *he;
		char **ip;
		struct sockaddr_in *addrs, *addrsIter;

		/*
		 * If the host is an IP address, don't try resolving it.  On
		 * the Wii for example, the resolver will return an error if
		 * you specify an IP address.
		 */
		if ((s_addr = inet_addr([host UTF8String])) != INADDR_NONE) {
			of_resolver_result_t *tmp;
			struct sockaddr_in *addr;

			if ((ret = calloc(2, sizeof(*ret))) == NULL)
				@throw [OFOutOfMemoryException







|
|
|







135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# endif
		in_addr_t s_addr;
		struct hostent *he;
		char **ip;
		struct sockaddr_in *addrs, *addrsIter;

		/*
		 * If the host is an IP address, don't try resolving it. On the
		 * Wii for example, the resolver will return an error if you
		 * specify an IP address.
		 */
		if ((s_addr = inet_addr([host UTF8String])) != INADDR_NONE) {
			of_resolver_result_t *tmp;
			struct sockaddr_in *addr;

			if ((ret = calloc(2, sizeof(*ret))) == NULL)
				@throw [OFOutOfMemoryException