diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-06-28 07:32:20 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-06-28 07:32:20 +0000 |
commit | c30e8f50a4b32c390ea23d6e46932d97762f3a43 (patch) | |
tree | f9eea8523b784312618fd4b7c21f2f3d9dbe6ded | |
parent | d7c5ff20216b247f1d46a045d9027d38cfd4c73e (diff) | |
download | netpbm-mirror-c30e8f50a4b32c390ea23d6e46932d97762f3a43.tar.gz netpbm-mirror-c30e8f50a4b32c390ea23d6e46932d97762f3a43.tar.xz netpbm-mirror-c30e8f50a4b32c390ea23d6e46932d97762f3a43.zip |
Fix wrong determination of machine endianness
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@339 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/pamtopfm.c | 4 | ||||
-rw-r--r-- | doc/HISTORY | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/converter/other/pamtopfm.c b/converter/other/pamtopfm.c index f8fdc96b..44a8ab08 100644 --- a/converter/other/pamtopfm.c +++ b/converter/other/pamtopfm.c @@ -273,10 +273,10 @@ main(int argc, char **argv ) { pnm_init(&argc, argv); - parseCommandLine(argc, argv, &cmdline); - machineEndianness = thisMachineEndianness(); + parseCommandLine(argc, argv, &cmdline); + ifP = pm_openr(cmdline.inputFilespec); tuplenArray = pnm_readpamn(ifP, &pam, sizeof(pam)); diff --git a/doc/HISTORY b/doc/HISTORY index 21cf249c..cf9bd4c9 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -6,6 +6,8 @@ CHANGE HISTORY not yet BJH Release 10.40.00 + pamtopfm: Fix wrong determination of machine endianness. + Fix uninitialized variable in pnm_allocpamrown(). Rename pamtooctave to pamtooctaveimg. |