Skip Menu |
 

This queue is for tickets about the File-ChangeNotify CPAN distribution.

Report information
The Basics
Id: 82534
Status: open
Priority: 0/
Queue: File-ChangeNotify

People
Owner: Nobody in particular
Requestors: DAKKAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.22
Fixed in: (no value)



Subject: Under Win32, some paths may be reported with wrong "slash"
Download (untitled) / with headers
text/plain 585b
http://cpantesters.org/cpan/report/4bec28d4-6bf7-1014-8bfa-8166d1d52598 makes me suspect that, under Win32, an event path may be reported with a forward slash instead of a back-slash. The test is comparing a path created via Path::Class (which uses File::Spec internally) with a path returned from ChangeNotify. The former is 'C:\DOCUME~1\Admin\LOCALS~1\Temp\1R8WMye9O3\_queue_not_subscribed', the latter is 'C:\DOCUME~1\Admin\LOCALS~1\Temp\1R8WMye9O3/_queue_not_subscribed' If I get access to a Windows machine, I'll write a minimal test case, but getting access may take some time.
Download (untitled) / with headers
text/plain 1020b
Hello DAKKAR I suspect the same thing as you. I work on Windows Laptop and i encountered an error when i tried to install Plack::Handler::Stomp By controling log i finally found there is a problem with results returned by $watcher->wait_for_events I will try to write some patch. If you want i test some code from you on my laptop ask to me. regards SDESEILLE On Mon Jan 07 06:17:56 2013, DAKKAR wrote: Show quoted text
> http://cpantesters.org/cpan/report/4bec28d4-6bf7-1014-8bfa-8166d1d52598 > makes me suspect that, under Win32, an event path may be reported with a > forward slash instead of a back-slash. > > The test is comparing a path created via Path::Class (which uses > File::Spec internally) with a path returned from ChangeNotify. The > former is > 'C:\DOCUME~1\Admin\LOCALS~1\Temp\1R8WMye9O3\_queue_not_subscribed', the > latter is
'C:\DOCUME~1\Admin\LOCALS~1\Temp\1R8WMye9O3/_queue_not_subscribed' Show quoted text
> > If I get access to a Windows machine, I'll write a minimal test case, > but getting access may take some time.
Subject: build.log
Download build.log
application/octet-stream 323b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.