[bug #18121] calculation of major and minor device numbers is not portable
Martin Koeppe
INVALID.NOREPLY at gnu.org
Thu Oct 26 13:19:20 UTC 2006
URL:
<http://savannah.gnu.org/bugs/?18121>
Summary: calculation of major and minor device numbers is
not portable
Project: GNU Midnight Commander
Submitted by: m_koeppe
Submitted on: Donnerstag 26.10.2006 um 13:19
Category: Screen output
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: 4.6.1
Operating System: Other
_______________________________________________________
Details:
On Interix aka Services for Unix the calculation of major and minor device
numbers doesn't work. major is (dev>>24)&&0xff there, not (dev>>8)&&0xff. I
have attached a patch which makes use of the system major()/minor() macros if
available.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Donnerstag 26.10.2006 um 13:19 Name: 70_dev-major-minor.patch Size:
919B By: m_koeppe
patch for screen.c
<http://savannah.gnu.org/bugs/download.php?file_id=11077>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18121>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
More information about the mc-devel
mailing list