[syslinux] Disk error 01: AX=4200, drive 82

Josko Plazonic plazonic at Math.Princeton.EDU
Sat May 31 16:01:58 PDT 2003


Neah, doesn't help, all this is with 2.04 version:
# grep "use bytes" /usr/bin/ppmtolss16
eval { use bytes; };
# echo $LANG
en_US.UTF-8
# pngtopnm /usr/share/anaconda/pixmaps/syslinux-splash.png 
|/usr/bin/ppmtolss16 >/dev/null
/usr/bin/ppmtolss16: Premature EOF at (319,212) of (640,256)
# export LANG=en_US
# pngtopnm /usr/share/anaconda/pixmaps/syslinux-splash.png 
|/usr/bin/ppmtolss16 >/dev/null
163840 pixels, 5364 bytes, (93.45% compression)

It's probably just a redhat 9 perl problem, some other programs are also 
seeing weird bugs related to language settings and in some of those 
cases redhat has issued rawhide perl revisions to try to fix them.

Josko

H. Peter Anvin wrote:

> Patrick J. LoPresti wrote:
>
>> Josko Plazonic <plazonic at math.princeton.edu> writes:
>>
>>
>>> Now, the reason why the picture length was 0 is again the same old
>>> perl UTF-8 problems in RedHat 9.  The ppmtolss16 tool is perl and
>>> when ran with LANG=en_US.UTF-8 this is what will output:
>>> /usr/bin/ppmtolss16: Premature EOF at (319,212) of (640,256) and the
>>> output is empty. After switching LANG to en_US it will be just fine.
>>
>>
>>
>> Perhaps ppmtolss16 should "use bytes;" ?
>>
>
> It does (in 2.04):
>
> eval { use bytes; };
>
> ... the eval { } is to prevent it from tossing cookies on older Perl 
> versions.
>
>     -hpa
>
>
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.






More information about the Syslinux mailing list