:: Re: [DNG] amixer-gtk (was: Re: mixe…
Top Pagina
Delete this message
Reply to this message
Auteur: aitor
Datum:  
Aan: dng
Onderwerp: 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.