This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reading from pipes fails if working directory is on a removable drive


On 29/04/2016 16:44, mihau wrote:
On 29.04.2016 15:23, Marco Atzeri wrote:


In addition you can run

   strace -o pipe.strace cat test.txt |head

on fix and removable drive. May be will give some additional hint.

exact same result as described in the original post

yes but you mentioned that the problem is only on the
removable drive so the two versions should be different
somewhere
;-)


To see if any program is injecting dll's on your system
you can also looks on /proc/self/maps

$ cat /proc/self/maps | awk '{print $6}' |sort -u

/c/WINDOWS/system32/kernel32.dll
/c/WINDOWS/system32/locale.nls
/c/WINDOWS/system32/ntdll.dll
/c/WINDOWS/system32/sortkey.nls
/c/WINDOWS/system32/sorttbls.nls
/c/WINDOWS/system32/unicode.nls
/usr/bin/cat.exe
/usr/bin/cygiconv-2.dll
/usr/bin/cygintl-8.dll
/usr/bin/cygwin1.dll
[cygwin-shared]
[cygwin-user-shared]
[heap]
[procinfo]
[shared-user-data]
[stack
[teb
[win

looks largely like your output, plus the stuff in square brackets at the
end

I skipped them as not relevant.


I forgot one question :
  did your XP system ever worked with a cygwin installation ?

yes, I've been using it (at least) for the past five years largely
without any issues

I doubt latest cygwin changes broke XP, but may be it happens.

at the end of the day I can still work with it, as long as working
directory is on a fixed drive -
it's just a little annoying

anyway, many thanks for your help :)
Michael


you are welcome
Marco


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]