udev - exec status fix for klibc
PATCH 1/1 udev - exec status fix for klibc
Here is a patch to remove the ifdef's and fix klibc instead.
thanks,
Kay
klibc_fixups.h +5 -0
@@ -4,6 +4,11 @@#define KLIBC_FIXUPS_H +#define WTERMSIG(status) ((status) & 0x7f) +#define WEXITSTATUS (status) (((status) & 0xff00) >> 8) +#define WIFEXITED (status) (WTERMSIG(status) == 0) + +struct group {char *gr_name;/* group name */ char *gr_passwd;/* group password */
namedev.c +0 -2
@@ -380,12 +380,10 @@ retval =-1 ; } -#ifndef __KLIBC__if (!WIFEXITED (status) || (WEXITSTATUS (status) !=0 )) {dbg ("callout program status 0x%x" , status); retval =-1 ; } -#endif }return retval; }
Greg KH
AppliedQuoted 1 line · Kay Sievers
Here is a patch to remove the ifdef's and fix klibc instead.
Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel