632ba5b sd-event: make sd_event_prepare() return positive when buffered inotify data exists

1 file Authored by Yu Watanabe 2 years ago, Committed by zbyszek 2 years ago,
    sd-event: make sd_event_prepare() return positive when buffered inotify data exists
    
    Previously, even if there is buffered inotify data, sd_event_prepare()
    did not process the data when there is no pending event source.
    
    Fixes #23826.
    
    (cherry picked from commit 067fc917026fd1fe601de0198c5ea7b3ba782d1e)