Frederic,
Thanks for letting me know about this, I was not aware of it. I am using the Win32 Backup APIs, and this could be the reason, although I can't find that documented (not unusual). I will investigate this as soon as I can (work permitting) and get back to you. I agree that all stream names should be returned, regardless of their size.
Thanks again,
Clive
Show quoted text----- Original Message ----
From: Frederic Medico via RT <bug-Win32-StreamNames@rt.cpan.org>
Sent: Tuesday, 6 May, 2008 10:24:15 AM
Subject: [rt.cpan.org #35655] Win32-StreamNames-1.01
Tue May 06 05:24:11 2008: Request 35655 was acted upon.
Transaction: Ticket created by fmedico@gmail.com
Queue: Win32-StreamNames
Subject: Win32-StreamNames-1.01
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: fmedico@gmail.com
Status: new
Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=35655 >
Hi,
While I am not sure if this is a bug or a missing feature but here is the
question:
It seems that StreamNames() does not return the streams which are empty (0
byte size).
Could you please confirm this ?
Ps: if it is the case it would be nice that the module would list all the
streams.
Thanks very much
Example:
sysinternals\streams.exe *
Streams v1.56 - Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
C:\temp\streams\2008\box1:
:stream1:$DATA 8
:stream2:$DATA 8
:stream3:$DATA 13
:streamvide:$DATA 0
------------------
My Perl script
C:/temp/streams/2008/box1
-D- :stream1:$DATA
-D- :stream1:$DATA Line number 1 is : 12345
-D- :stream2:$DATA
-D- :stream2:$DATA Line number 1 is : 12345
-D- :stream3:$DATA
-D- :stream3:$DATA Line number 1 is : ECHO is on.
Win32-StreamNames-1.01 ( I know there is 1.02, but I could not find yet
compiled)
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 50 registered patches, see perl -V for more detail)
Binary build 820 [274739] provided by ActiveState
http://www.ActiveState.com
Built Jan 23 2007 15:57:46
Frederic Medico
-----Inline Attachment Follows-----
Hi,
While I am not sure if this is a bug or a missing feature but here is the question:
It seems that StreamNames() does not return the streams which are empty (0 byte size).
Could you please confirm this ?
Ps: if it is the case it would be nice that the module would list all the streams.
Thanks very much
Example:
sysinternals\streams.exe *
Streams v1.56 - Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
C:\temp\streams\2008\box1:
:stream1:$DATA 8
:stream2:$DATA 8
:stream3:$DATA 13
:streamvide:$DATA 0
------------------
My Perl script
C:/temp/streams/2008/box1
-D- :stream1:$DATA
-D- :stream1:$DATA Line number 1 is : 12345
-D- :stream2:$DATA
-D- :stream2:$DATA Line number 1 is : 12345
-D- :stream3:$DATA
-D- :stream3:$DATA Line number 1 is : ECHO is on.
Win32-StreamNames-1.01 ( I know there is 1.02, but I could not find yet compiled)
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 50 registered patches, see perl -V for more detail)
Binary build 820 [274739] provided by ActiveState
http://www.ActiveState.com
Built Jan 23 2007 15:57:46
Frederic Medico