hal ChangeLog,1.847,1.848 configure.in,1.122,1.123

Artem Kachitchkine artem at kemper.freedesktop.org
Sat Mar 4 16:41:52 PST 2006


Update of /cvs/hal/hal
In directory kemper:/tmp/cvs-serv7678

Modified Files:
	ChangeLog configure.in 
Log Message:
2006-03-04  Artem Kachitchkine  <artem.kachitchkin at sun.com>

	* configure.in: check for getgrouplist() and use the local version
	if not provided by the system.

	* hald/hald_dbus.c: (hald_exec_method_free_mi),
	(hald_exec_method_do_invocation), (hald_exec_method): stdin is
	a macro in Solaris, can't use to name struct members.

	* hald/logger.h: if using Sun compiler, define __FUNCTION__
	through __func__.

	* libhal-policy/Makefile.am: posix thread flags required on Solaris
	for getgrgid_r() to have 5 arguments (otherwise it has 4).

	* libhal-policy/libhal-policy.c: (afp_process_elem),
	(libhal_policy_util_uid_to_name), (libhal_policy_element_set_uid),
	(libhal_policy_element_set_gid), (libhal_policy_element_get_uid),
	(libhal_policy_element_get_gid), (libhal_policy_element_dump):
	anonymous unions are not supported in C99, fixed LibHalPolicyElement.
	(getgrouplist): check for getgrouplist() and use the local version
	if not provided by the system.

	* tools/lshal.c: if using Sun compiler, define __FUNCTION__
	through __func__.



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.847
retrieving revision 1.848
diff -u -d -r1.847 -r1.848
--- ChangeLog	3 Mar 2006 19:19:53 -0000	1.847
+++ ChangeLog	5 Mar 2006 00:41:50 -0000	1.848
@@ -1,3 +1,29 @@
+2006-03-04  Artem Kachitchkine  <artem.kachitchkin at sun.com>
+
+	* configure.in: check for getgrouplist() and use the local version
+	if not provided by the system.
+
+	* hald/hald_dbus.c: (hald_exec_method_free_mi),
+	(hald_exec_method_do_invocation), (hald_exec_method): stdin is
+	a macro in Solaris, can't use to name struct members.
+
+	* hald/logger.h: if using Sun compiler, define __FUNCTION__
+	through __func__.
+
+	* libhal-policy/Makefile.am: posix thread flags required on Solaris
+	for getgrgid_r() to have 5 arguments (otherwise it has 4).
+
+	* libhal-policy/libhal-policy.c: (afp_process_elem),
+	(libhal_policy_util_uid_to_name), (libhal_policy_element_set_uid),
+	(libhal_policy_element_set_gid), (libhal_policy_element_get_uid),
+	(libhal_policy_element_get_gid), (libhal_policy_element_dump):
+	anonymous unions are not supported in C99, fixed LibHalPolicyElement.
+	(getgrouplist): check for getgrouplist() and use the local version
+	if not provided by the system.
+
+	* tools/lshal.c: if using Sun compiler, define __FUNCTION__
+	through __func__.
+
 2006-03-03  Danny Kukawka  <danny.kukawka at web.de>
 
 	* hald/linux2/classdev.c: (serial_get_prober): fixed to be sure that 

Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- configure.in	26 Feb 2006 23:32:49 -0000	1.122
+++ configure.in	5 Mar 2006 00:41:50 -0000	1.123
@@ -271,6 +271,8 @@
   esac
 fi
 
+AC_CHECK_FUNCS(getgrouplist)
+
 # DocBook Documentation
 
 AC_PATH_PROG(DOCBOOK, docbook2html, no)




More information about the hal-commit mailing list