| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | Vishwanath_Karthik AT emc DOT com |
| MIME-Version: | 1.0 |
| Subject: | Data streams being treated as files in Cygwin |
| Date: | Thu, 11 May 2006 10:17:29 -0400 |
| Message-ID: | <721B8481D73DE047B62D7AB3750F656006B5A8@CORPUSMX30A.corp.emc.com> |
| To: | <cygwin AT cygwin DOT com> |
| Cc: | <Copet_Eric AT emc DOT com>, <cormier_annette AT emc DOT com>, <barbini AT emc DOT com>, |
| <Ladouce_Frederic AT emc DOT com>, <grenier_bob AT emc DOT com>, <li_amy AT emc DOT com> | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k4BEKYJe017863 |
Hi,
There seems to a problem on how the data streams are handled in Cygwin.
Cygwin is treating a data stream as a file which should not be the case.
Following are the steps followed to create and access a data stream using cygwin shell in Windows environment.
Sh-3.1$ echo "data1" > test00
Sh-3.1$ echo "data1" > test00:stream
Now test00 is a file and test00:stream is a data stream associated with the file test00
When we do an "ls" at this path we are able to see only test00 file and not the stream test00:stream -> this functionality is OK as streams cannot be locked and also it is not a file
In one of the perl scripts when we did a file test for both "test00" and "test00:stream" ,both succeeded even though "test00:stream" is not a file
The network traces of the shell command "test -f test00:stream" showed that Cygwin opens the file "test00:stream" instead of sending a server reply "NO file found"
So a patch has to be applied to resolve this issue. Can you please provide us with a patch so that the data streams are handled as expected .
Thanks and Regards,
Karthik
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |