Commit Graph

14 Commits

Author SHA1 Message Date
MuQun Yang
d80639dda8 [svn-r12140] Purpose:
portable issue on windows

Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.



Solution:

1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.

Platforms tested:
h5committest( shanti refuses to be connected)
windows 6.0 at XP
visual 2005 at XP-64bit
Misc. update:
2006-03-22 21:25:10 -05:00
Quincey Koziol
56e3f667d6 [svn-r11886] Purpose:
Code cleanup

Description:
    Check in some of the code cleanups from working on the external link
support.  (This doesn't include any of the external link features)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX.4 (amazon)
    Linux 2.4
2006-01-23 15:46:34 -05:00
Quincey Koziol
6b45f5172c [svn-r11245] Purpose:
Code cleanup

Description:
    Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.

Solution:
    Ran this script in each directory:

foreach f (*.[ch] *.cpp)
    sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 15:53:35 -05:00
Robert E. McGrath
c4bf7bf62a [svn-r9934] Purpose:
Bug

Description:
Refinement to bug fix #282

Solution:
Altered argument handling to do a better default.

Platforms tested:
verbena, shanti

Misc. update:
2005-02-04 08:46:54 -05:00
Robert E. McGrath
3bf1bfa4ec [svn-r9927] Purpose:
Bug fix #282

Description:
Problem with byte order

Solution:
Do it right.  See 1.6 checkin

Platforms tested:
verbena, shanti

Misc. update:
2005-02-03 11:46:15 -05:00
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -05:00
Bill Wendling
25fe6cbafa [svn-r7574] Purpose:
Code Improvement

Description:
    Changed from passing a structure into a function by value into
    passing it in by pointer. Noticed this while compiling with a highly
    optimizing compiler which took >30 minutes to analyze the program
    (granted, this is the compiler's fault, but in general, it's better
    to pass large structures in by pointer and not by value).

Platforms tested:
    Linux (specific to h5import, so only needed to test on one platform)

Misc. update:
2003-10-08 13:11:50 -05:00
Quincey Koziol
8c77305a07 [svn-r7312] Purpose:
Code cleanup

Description:
    Use H5E_BEGIN_TRY/H5E_END_TRY macros around code which shouldn't display
the error stack on failure, instead of setting and resetting the automatic
error printing routines.

Platforms tested:
    h5committested
2003-08-08 14:08:54 -05:00
Raymond Lu
0d22a663df [svn-r7265] *** empty log message *** 2003-07-25 21:55:47 -05:00
Quincey Koziol
df5ca0fa1d [svn-r7002] Purpose:
Code cleanup

Description:
    Clean up warnings about unused stuff...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:18:47 -05:00
Robert E. McGrath
112aff61ca [svn-r6949] Purpose:
Minor corrections to match the man pages. Code provided by Pankaj.

Description:
  * do not accept more than 30 file names
  * corrected error messages.

Solution:

Platforms tested:
Tested on verbena.
Already tested on several platforms before integration.

Misc. update:
2003-06-03 15:12:30 -05:00
Bill Wendling
bb0df72af6 [svn-r6621] Purpose:
Update

Description:
    Updated the copyright statements that I forgot...

Platforms tested:
    Modi4 (Fortran & Parallel)
    Arabica (Fortran)
    Burrwhite (Fortran & C++)

Misc. update:
2003-04-09 19:34:15 -05:00
Elena Pourmal
79890b5022 [svn-r6618]
Purpose: Bug fix

Description: On HP11.00 and True64 systems strtoll function that is used
             to read text to long integers is not available. Compilation
             fails for h5import.c

Solution: Replace strtoll with HDstrtoll. HDstrtoll is a private HDF5 function
          defined in H5private.h file, but this include file was already used
          by h5import for some other reasons. It would be probably better
          to choose strtol or strtoll functions at the configuration
          time, but HDstrtoll provided really simple solution for now.

Platforms tested: arabica (to test that where it was working, it is still working),
                  kelgia (HP11.00) and PSC True64 machine.

Misc. update:
2003-04-09 17:15:15 -05:00
Elena Pourmal
1d76391f63 [svn-r6583]
Purpose: New tool

Description: Pankaj created h5import tool long time ago. I am finally checking
             the source code in for the 1.6 release.
             Known problems: h5import test will crash if srcdir option
                             is used; will be fixed before the release.

Solution:

Platforms tested: vebena, arabica, modi4 were tested. h5import tests passed
                  I also tested on arabica with srcdir option to make sure that
                  there is a problem when srcdir is used. After that I disabled
                  h5import tests. Daily tests will build h5import, but will not run
                  h5import tests.

Misc. update:
2003-04-03 15:00:42 -05:00