-
-
Notifications
You must be signed in to change notification settings - Fork 42
Labels
area: ttyInteraction with the terminal, screen librariesInteraction with the terminal, screen librariesprio: mediumHas the potential to affect progressHas the potential to affect progress
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Midnight Commander version and build configuration
4.8.33, gitOperating system
LinuxIs this issue reproducible using the latest version of Midnight Commander?
- I confirm the issue is still reproducible with the latest version of Midnight Commander
How to reproduce
In setgid cons.saver, if ! HAVE_STRUCT_STAT_ST_RDEV then we blindly assume minor number 1 with a "FIXME" in the source.
This code is Linux-specific, and Linux does have st_rdev.
In the unlikely case that it's not available, let's fail (either buildtime or runtime) instead of making faulty assumptions.
Expected behavior
.
Actual behavior
.
Additional context
No response
Metadata
Metadata
Assignees
Labels
area: ttyInteraction with the terminal, screen librariesInteraction with the terminal, screen librariesprio: mediumHas the potential to affect progressHas the potential to affect progress