mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
Commit 3434d35a64736f0b77a12f61784c2caa33ac44cf fixed a problem when accessing block devices via their /proc/sys/Device entries. This changed the way stat info is generated for these devices, resulting in identical inode numbers for all block devices under /proc/sys/Device. This patch fixes that by faking a device number for these devices, just as before. Fixes: 3434d35a6473 ("Cygwin: Fix access to block devices below /proc/sys.") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at https://cygwin.com You might especially be interested in https://cygwin.com/faq/faq.html#faq.programming.building-cygwin