Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Under Win32, some paths may be reported with wrong "slash" #5

Open
autarch opened this issue Jan 20, 2021 · 1 comment
Open

Under Win32, some paths may be reported with wrong "slash" #5

autarch opened this issue Jan 20, 2021 · 1 comment

Comments

@autarch
Copy link
Member

autarch commented Jan 20, 2021

Migrated from rt.cpan.org #82534 (status was 'open')

Requestors:

Attachments:

From [email protected] (@dakkar) on 2013-01-07 11:17:56
:

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.

@autarch
Copy link
Member Author

autarch commented Jan 20, 2021

From [email protected] on 2013-03-17 14:15:02
:

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:

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:\DOCUME1\Admin\LOCALS1\Temp\1R8WMye9O3_queue_not_subscribed', the
latter is
'C:\DOCUME1\Admin\LOCALS1\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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant