https://sourceware.org/bugzilla/show_bug.cgi?id=27252
Bug ID: 27252 Summary: nm doesn't recognize null device on MS-Windows Product: binutils Version: 2.36 Status: NEW Severity: minor Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: eliz at gnu dot org Target Milestone: --- Created attachment 13161 --> https://sourceware.org/bugzilla/attachment.cgi?id=13161&action=edit Patch to recognize the null device on MS-Windows On Unix, if you type "nm -B /dev/null", you get a nice warning: nm: Warning: '/dev/null' is not an ordinary file But on Windows no such warning happens, and 'nm' behaves as if the null device were a regular file of zero size. This is because the MS-Windows implementation of 'stat' doesn't report the null device as a character-special file, it reports it as a regular file. The attached file fixes this problem, and a similar problem in 'elfedit'. -- You are receiving this mail because: You are on the CC list for the bug.