[patch] SSAR application - add capability to read little-endian files on big-endian systems

Don McCoy don at codesourcery.com
Thu Jul 17 23:22:17 UTC 2008


The default behavior with this patch is to keep the present behavior and
assume that no byte swapping should take place when reading files from
disk on little-endian systems (the files in the apps/ssar/set1 are in
little-endian format). 

On big-endian systems, the bytes will be swapped into the correct order
by default.  In either case, the user can override this behavior by
using the new switches "-swap" and "-noswap".

It also fixes a minor error in header file location and a path error in
the makefile that occurs only when 'prefix' is /not/ used (hence the
reason we didn't notice it).

Ok to apply?

-- 
Don McCoy
don (at) CodeSourcery
(888) 776-0262 / (650) 331-3385, x712

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: be.changes
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20080717/6848bb8f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: be.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20080717/6848bb8f/attachment-0001.ksh>


More information about the vsipl++ mailing list