xulunfan / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Crashes on Unix line endings #665

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
Sony Ericsson Xperia ray

What firmware version are you running on the device?
Android 4.0.4

What steps will reproduce the problem?
1. Create script file in SL4A.
2. Mount phone and edit script file with gedit and save. (line endings now 
change from CR+LF of DOS/Windows to LF of Unix)
3. Unmount phone and try to open the (edited) script with SL4A.

What is the expected output? What do you see instead?
SL4A opens the file for editing.
SL4A crashed.

What version of the product are you using? On what operating system?
SL4A r6, Android
gedit on Ubuntu

Please provide any additional information below.
Windows use CR+LF as line ending and SL4A works fine with that.
Unix however use LF as line ending and SL4A crashes with that.

Original issue reported on code.google.com by eldman...@gmail.com on 3 Oct 2012 at 7:23