Commit 8e659dac authored by Havoc Pennington's avatar Havoc Pennington

2006-09-10 Havoc Pennington <hp@redhat.com>

       patch mostly by Peter Kümmel, bug #8211

	* dbus/dbus-sysdeps-unix.c: new file, which splits out
	unix-specific stuff in dbus-sysdeps.c

	* dbus/dbus-sysdeps.c: don't include any UNIX-only headers,
	and move unix-specific stuff to dbus-sysdeps-unix.c

	* configure.in: check HAVE_ERRNO_H
parent f61a63ce
2006-09-10 Havoc Pennington <hp@redhat.com>
patch mostly by Peter Kümmel, bug #8211
* dbus/dbus-sysdeps-unix.c: new file, which splits out
unix-specific stuff in dbus-sysdeps.c
* dbus/dbus-sysdeps.c: don't include any UNIX-only headers,
and move unix-specific stuff to dbus-sysdeps-unix.c
* configure.in: check HAVE_ERRNO_H
2006-09-08 John (J5) Palmieri <johnp@redhat.com>
* bus/test-main.c (main): Initialize threading during tests
......
......@@ -493,6 +493,8 @@ AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep poll setenv unsetenv socketp
AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
AC_CHECK_HEADERS(errno.h)
AC_CACHE_CHECK([for posix getpwnam_r],
ac_cv_func_posix_getpwnam_r,
[AC_TRY_RUN([
......
......@@ -104,6 +104,7 @@ DBUS_SHARED_SOURCES= \
dbus-string.h \
dbus-string-private.h \
dbus-sysdeps.c \
dbus-sysdeps-unix.c \
dbus-sysdeps.h \
dbus-userdb.c \
dbus-userdb.h
......
This diff is collapsed.
This diff is collapsed.
......@@ -258,6 +258,8 @@ void _dbus_directory_close (DBusDirIter *iter);
dbus_bool_t _dbus_check_dir_is_private_to_user (DBusString *dir,
DBusError *error);
void _dbus_generate_pseudorandom_bytes_buffer (char *buffer,
int n_bytes);
void _dbus_generate_random_bytes_buffer (char *buffer,
int n_bytes);
dbus_bool_t _dbus_generate_random_bytes (DBusString *str,
......
......@@ -75,7 +75,7 @@ _dbus_group_info_free_allocated (DBusGroupInfo *info)
*/
dbus_bool_t
_dbus_is_a_number (const DBusString *str,
unsigned long *num)
unsigned long *num)
{
int end;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment