DrDrake / crunch

Automatically exported from code.google.com/p/crunch
Other
0 stars 0 forks source link

linux build adding incorrect slash to output file string #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run crunch with this syntax:
alejandro@desktop:~/X-Plane/X-Plane_10$ 
/mnt/server/xplane/proyects/pol_editor/src-1.2/crunch -file 
/home/alejandro/t.png -fileformat dds -dxt3 -mipmode Generate -outdir 
/home/alejandro/

What is the expected output? What do you see instead?
expected output: /home/alejandro/t.dds
real output: /home/alejandro/\t.dds

What version of the product are you using? On what operating system?
v1.03 Prerelease - Apr. 26, 2012
OS: Linux debian squeeze amd64

Please provide any additional information below.

Original issue reported on code.google.com by xplane...@gmail.com on 15 Aug 2012 at 12:25

GoogleCodeExporter commented 9 years ago
Whoops, hit this one too.  Windows supports POSIX-compliant file separators in 
XP and later, so this patch should be fine (though I don't have a Windows box 
to test on).

Original comment by wyatt....@gmail.com on 16 Sep 2012 at 1:25

Attachments:

GoogleCodeExporter commented 9 years ago
Can you please provide instructions on how to apply these patches? regards.

Original comment by xplane...@gmail.com on 17 Sep 2012 at 1:53