thanhminhmr/srx-rust

The CLI can not handle relative path on Windows

Closed this issue · 5 comments

To quote joerg from encode.su:
the commandline can not handle relative pathnames like "..\BACKUP_TEMP\BACKUP.DAT"
https://encode.su/threads/4038-SRX-fast-multi-threaded-SR-compressor?p=78974&viewfull=1#post78974

Have you tested it on Linux?
I checked and I'm using PathBuf in my compressor, could be the issue.

Just ran a quick test on my Linux machine, it can handle srx c ../a/b.dat b.dat.srx just fine. I'll test it on Windows, maybe it is OS specific.

I cannot reproduce this bug on my Windows machine.
@mitiko Can you reproduce the bug?

I also cannot. Tested it on a 64-bit Windows 10 machine in Azure:

screenshot-srx-test-vm

Closed as "Cannot reproduce"