Could the following signal a possible string buffering problem?

Both:
cygcheck /bin/sh.exe
and
echo "$(cygcheck /bin/sh.exe)"
yield the same output:

E:\cygwin\bin\sh.exe
  E:\cygwin\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
        C:\WINDOWS\system32\Secur32.dll
  E:\cygwin\bin\cygintl-8.dll
    E:\cygwin\bin\cygiconv-2.dll
      E:\cygwin\bin\cyggcc_s-1.dll
  E:\cygwin\bin\cygreadline7.dll
    E:\cygwin\bin\cygncursesw-10.dll
    C:\WINDOWS\system32\USER32.dll
      C:\WINDOWS\system32\GDI32.dll

However,when I do

echo $(cygcheck /bin/sh.exe)       I get:
 C:\WINDOWS\system32\GDI32.dlllll
                              ^^^
                              ^^^
which clearly is unexpected.


LA






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to