:: Re: [DNG] amixer-gtk (was: Re: mixe…
Top Page
Delete this message
Reply to this message
Author: aitor
Date:  
To: dng
Subject: Re: [DNG] amixer-gtk (was: Re: mixer for alsa)
Hi,

On 26/2/23 9:59, aitor wrote:
>
> Looking at the code of eudev, I've found a way to request TERM signal
> if parent exits:
>
> prctl(PR_SET_PDEATHSIG, SIGTERM);
>

Btw, I think there is a mistake in the code of libudev-device.c (line 536):
         ...
    } else if (startswith ( property, "USEC_INITIALIZED=" ) ) {

udev_device_set_usec_initialized(udev_device, strtoull ( &property[19],
NULL, 10 ) );

    } else if ( startswith(property, "DRIVER=" ) ) {
        ...

It should be:

udev_device_set_usec_initialized(udev_device, strtoull ( &property[17],
NULL, 10 ) );

because the strlen of "USEC_INITIALIZED=" is equal to 17.

Which is the right place to report this?

Cheers,

Aitor.