bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xorriso] About run xorriso under Win32


From: Thomas Schmitt
Subject: Re: [Bug-xorriso] About run xorriso under Win32
Date: Thu, 20 Nov 2014 13:46:38 +0100

Hi,

i have uploaded a new development snapshot:

  http://www.gnu.org/software/xorriso/xorriso-1.3.9.tar.gz

MD5 is b0aaf0312f8f07f4311cc67a764a3450.
After building xorriso, the command
  xorriso/xorriso -version
should tell
  xorriso version   :  1.3.9
  Version timestamp :  2014.11.20.115650
(or higher)

Improvements (hopefully):

If read(2) does not return the requested number of bytes,
the function lfs_read() will try to read the missing ones
by subsequend read(2) calls.

If End-Of-File occurs before the requested number of bytes
is read, then a clearer message is issued:
  libisofs: FAILURE : Cannot read all bytes from El Torito boot image for boot 
info table
  libisofs: FAILURE : Read error
  xorriso : FAILURE : Failed to prepare session write run

---------------------------------------------------------

In the latter case we will have to investigate the reason
why isolinux/isolinux.bin is registered in the filesystem
with 24576 but delivers less bytes on read(2).

Dim idea:

For some reason the reading could be done in text mode.
This would eat CR characters from text ends and thus could
explain the lack of 35 characters.
(Although my isolinux.bin examples lose only 15 bytes
 if i convert all CRLF to LF.)

  https://cygwin.com/cygwin-ug-net/using-textbinary.html
suggests to link with -lbinmode.
This could be done by editing Makefile and adding it to the
line which begins by "LIBS = ". Its actual content depends on
what ./configure detected. E.g. 
  - LIBS = -lbz2 -lz -lacl  -lreadline
  + LIBS = -lbz2 -lz -lacl  -lreadline -lbinmode
The run
  make clean && make
and try whether the change did help.


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]