[Bug 38107] New: Cygwin and MSYS2 needes NULL Device for /dev/zero, /dev/null, /dev/full and so on
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Feb 17 19:26:12 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=38107
Bug ID: 38107
Summary: Cygwin and MSYS2 needes NULL Device for /dev/zero,
/dev/null, /dev/full and so on
Product: Wine
Version: 1.7.36
Hardware: x86
URL: http://sourceforge.net/projects/msys2/files/Base/i686/
msys2-i686-20150202.exe
OS: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: fracting at gmail.com
Distribution: ---
Steps to reproduce:
1. Install Cygwin or MSYS2
2. Start bash.exe from wineconsole
3. run `/usr/bin/ls /dev` inside bash.exe
Expected result:
/dev/null, /dev/zero, /dev/full and so on should be listed in result
Actual result:
Missing /dev/null device and so on.
Trace log:
0031:Call ntdll.RtlInitUnicodeString(0062c538,0062c558 L"\\Device\\Null")
ret=610089cb
0031:Ret ntdll.RtlInitUnicodeString() retval=0000001a ret=610089cb
0031:Call ntdll.NtOpenSymbolicLinkObject(0062c534,00000001,0062c540)
ret=61008a16
0031:trace:ntdll:NtOpenSymbolicLinkObject
(0x62c534,0x00000001,{name=L"\\Device\\Null", attr=0x00000040, hRoot=(nil),
sd=(nil)}
)
0031:Ret ntdll.NtOpenSymbolicLinkObject() retval=c0000034 ret=61008a16
Source code:
msys2-code/winsup/cygwin/device.in:
150 "/dev/windows", BRACK(FH_WINDOWS), "\\Device\\Null", exists_ntdev, S_IFCHR
151 "/dev/dsp", BRACK(FH_OSS_DSP), "\\Device\\Null", exists_ntdev, S_IFCHR
152 "/dev/conin", BRACK(FH_CONIN), "/dev/conin", exists_console, S_IFCHR
153 "/dev/conout", BRACK(FH_CONOUT), "/dev/conout", exists_console, S_IFCHR
154 "/dev/null", BRACK(FH_NULL), "\\Device\\Null", exists_ntdev, S_IFCHR
155 "/dev/zero", BRACK(FH_ZERO), "\\Device\\Null", exists_ntdev, S_IFCHR
156 "/dev/full", BRACK(FH_FULL), "\\Device\\Null", exists_ntdev, S_IFCHR
157 "/dev/random", BRACK(FH_RANDOM), "\\Device\\Null", exists_ntdev, S_IFCHR
158 "/dev/urandom", BRACK(FH_URANDOM), "\\Device\\Null", exists_ntdev, S_IFCHR,
=urandom_dev
159 "/dev/clipboard", BRACK(FH_CLIPBOARD), "\\Device\\Null", exists_ntdev,
S_IFCHR
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list