home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / hdf / unix / hdf3_2r2 / codchngs next >
Encoding:
Text File  |  1992-10-29  |  2.6 KB  |  94 lines

  1. Code changes after HDF3.2r1 was released on Sept.1,1992 
  2.  
  3. 1. A bug was fixed in dsipdat() of dfsdf.c. It did not 
  4. handle multidimentional data correctly.
  5.  
  6. 2. A mistake in util/Makefile was corrected. 
  7.  
  8. .c.o: he.h he_proto.h
  9.         $(CC) -c $(CFLAGS) -I(HDFINC) -I(HDFLIB)/libdf.a $(GLLIB) $< 
  10.  
  11. 3. In subdirectory test/, tr8.c, t24.c and tp.c were replaced by 
  12. a new program trig.c.
  13.  
  14. 4. In hdfi.h, the following code fragment was added for HP9000 and 
  15. MIPSEL: 
  16.  
  17. #ifdef _STDC_
  18. #define const
  19. #endif /* _STDC_ */
  20.  
  21. 5. Added support for NeXT machines.
  22.  
  23. 6. A BinHexed version of the Makefile for Macintoch Mac-Makefile.hqx is 
  24. added.
  25.  
  26. 7. Mac-Makefile.test.hqx is added for the Mac to make the tests and some 
  27. of the utilities. The utilities and tests should be built in the same 
  28. folder when on the Mac.
  29.  
  30. 8. A bug is fixed in vio.c solving the problem happened when the HDF3.2 
  31. library read old Vdatas containing integer data. The following code 
  32. fragment in the function map_from_old_types() in vio.c 
  33.  
  34.  
  35. case LOCAL_SHORTTYPE:
  36. return DFNT_INT16;
  37. case LOCAL_INTTYPE:
  38. case LOCAL_LONGTYPE:
  39. return DFNT_INT32;
  40.  
  41.  
  42. was changed to:
  43.  
  44.  
  45. case LOCAL_SHORTTYPE:
  46. case LOCAL_INTTYPE:
  47. return DFNT_INT16;
  48. case LOCAL_LONGTYPE:
  49. return DFNT_INT32;
  50.  
  51. 9. Added machine type CONVEXNATIVE to support CONVEX native format. 
  52. The code is a contribution from Jan-Willem De Bruijn, University of 
  53. Delft, Netherland.
  54.  
  55. 10. Cosmetic fixes to hfile.c to compile clean on the Mac. 
  56.  
  57. 11. Assorted fixes to hdfed to get it to work on the Mac. 
  58.  
  59. 12. Added the function DF24lastref().
  60.  
  61. 13. DFACC_ALL is changed back to have the same meaning that it had in 
  62. pre-HDF 3.2 versions. Here is a list of all "DFACC" codes and their 
  63. meanings. It is important to note that these constants are NOT bit-flags 
  64. and should NOT be or'd together to combine access modes. Doing so may 
  65. cause odd behavior and, in some cases, loss of data.
  66.  
  67. Recommended:
  68. DFACC_READ:    Open for read only. If file does not exist, error.
  69. DFACC_RDWR:    Open for read/write. If file does not exist, create it.
  70. DFACC_CREATE:  Force creation. If file exists, delete it, then 
  71.                open a new file for read/write. (in the spirit of 
  72.                UNIX "clobber")
  73.  
  74. Others:
  75. DFACC_ALL:     Same as DFACC_RDWR.
  76. DFACC_WRITE:   Same as DFACC_RDWR.
  77.  
  78. 14. Tests added in dfriginfo() and DFR8Iriginfo() to prevent endless 
  79. loop when there is no more RIG in the file. 
  80.  
  81. 15. The definition of DFdi is moved to hdf.h from df.h, dfsd.h, dfgr.h 
  82. and dfrig.h.
  83.  
  84. 16. Added the function DFSDpre32(). 
  85.  
  86. 17. Typos fixed in constant.f.
  87.  
  88. 18. Minor tweaks and twiddles for reduced warnings on various platforms. 
  89.  
  90.  
  91.  
  92.  
  93.  
  94.