Commit Graph

555 Commits

Author SHA1 Message Date
Quincey Koziol
ab5bf9f979 [svn-r2851] Purpose:
Updated for new array datatypes.
Description:
    I missed these tools earlier when I wasn't compiling with HDF4...
Solution:
    Updated them (correctly, I hope) to use the new array datatype instead of
    compound datatype array fields.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 18:01:29 -05:00
Quincey Koziol
2ce142b6ee [svn-r2846] Purpose:
New Feature
Description:
    Updated DDL files for new array output from h5dump.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:49:01 -05:00
Quincey Koziol
3499de1b53 [svn-r2845] Purpose:
New Feature
Description:
    Added dumping array datatypes to h5dump and the tool library.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:48:33 -05:00
Bill Wendling
796b4daf83 [svn-r2842] Purpose:
Recoding of VL dumping.
Description:
	I'm using hyperslabs to select the variable length data. I don't
	have any tests which I've checked in just yet. I'll create those
	later.
Platforms tested:
	Linux
2000-11-09 13:59:41 -05:00
MuQun Yang
a219b97a88 [svn-r2839]
Purpose:
     check in beta release h4toh5 converter
Description:
     1. add copy right and other comments to all .h and .c files
     2. fix bugs on sds unlimited dimension, hdf5 dimensional scale attribute and vdata translating
         from h4 to h5.

Solution:
     2.
        1) for sds with unlimited dimension to be converted into extensible hdf5 dataset,
        on hdf5 side, has to set a default chunk size even though the corresponding hdf4 file is not
	chunked.
        2) in this version, if sds object doesn't have dimensional scale data, we will not show
           the default hdf4 dimensional name ("fakedim0", etc.) in the new hdf5 dimensional scale
	   name attribute.
        3) fix a bug transferring vdata of which the field includes a character array. Make it correctly transfer into the corresponding hdf5 compound data type.


Platforms tested:

      eirene,arabica,baldric,hawkwind,paz,gondolin on new set of hdf4 test files.
2000-11-08 18:14:41 -05:00
MuQun Yang
b62d0a1366 [svn-r2837]
Purpose:
     Adding more expected files for testing h4toh5 converter
     These test files include hdf5 files that are expected converted from hdf4 files for various vdata
     and vgroup cases.
Description:
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz
2000-11-08 18:01:16 -05:00
MuQun Yang
9486965c4a [svn-r2836]
Purpose:
     Add testing files for h4toh5 converter
     Two more files for testing native float data type sds objects
Description:
Solution:
Platforms tested:
      arabica,eirene,hawkwind,paz
2000-11-08 17:57:35 -05:00
MuQun Yang
c9ec2cdc4d [svn-r2835]
Purpose:
     Adding expected hdf5 files for h4toh5 converter
     Expected files for different testing hdf4 files for sds objects
Description:
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz
2000-11-08 17:53:09 -05:00
MuQun Yang
7fe0f3bb25 [svn-r2833]
Purpose:
    Adding expected testing files for h4toh5 converter
    expected files converted from image object
Description:
Solution:
Platforms tested:
      eirene,arabica,paz,hawkwind,gondolin
2000-11-08 17:37:21 -05:00
MuQun Yang
3846f6a785 [svn-r2831]
Purpose:
    update main test files for h4toh5 converter
Description:
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz,gondolin
2000-11-08 17:34:12 -05:00
MuQun Yang
50333fe515 [svn-r2829]
Purpose:
    Adding expected files for h4toh5 converter
    two test files for annotation
Description:
Solution:
Platforms tested:
    arabica,eirene,paz,gondolin,hawkwind
2000-11-08 17:32:54 -05:00
MuQun Yang
3baf0d41a7 [svn-r2828]
Purpose:
     Adding testing files for h4toh5 converter
     hdf4 test files for various tests on vgroup(including, hardlink,loop,nameclashing etc.)
Description:
Solution:
Platforms tested:
     arabica,eirene,paz,gondolin,hawkwind
2000-11-08 17:30:05 -05:00
MuQun Yang
69ada20b2a [svn-r2827]
Purpose:
     Adding testing files for h4toh5 converter
     testing files for independent vdatas
Description:
Platforms tested:
    eirene,hawkwind,arabica,paz
2000-11-08 17:26:50 -05:00
MuQun Yang
a1980a656a [svn-r2826]
Purpose:
    Adding testfiles for h4toh5 converter
    more testing files for sds objects in various datatypes
Description:
    see above
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz,hawkwind
2000-11-08 17:24:36 -05:00
MuQun Yang
27dd362814 [svn-r2825]
Purpose:
    Adding testing files for h4toh5 converter
    these files are parts of files that test different datatype sds objects.
Description:
    see above
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz,hawkwind
2000-11-08 17:16:57 -05:00
MuQun Yang
1e7480ad63 [svn-r2824]
Purpose:
     Add testing files for h4toh5 converter
     test files for testing dimensional scale dataset and unlimited dimension case
Description:
     see above
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz,gondolin
2000-11-08 17:09:31 -05:00
MuQun Yang
f1fb40c1a1 [svn-r2823]
Purpose:
    add several files to test h4toh5 converter on hdf image with different datatype
Description:
    see above
Solution:
Platforms tested:
    eirene,hawkwind,arabica
2000-11-08 17:02:58 -05:00
MuQun Yang
900701f5ae [svn-r2822]
Purpose:
     Add two test files for testing h4toh5 converter to convert image objects associated with attribute and image.
Description:
    see above
Solution:
Platforms tested:
    arabica,eirene,hawkwind
2000-11-08 16:59:02 -05:00
MuQun Yang
73b643a697 [svn-r2821]
Purpose:
     add a hdf4 file to test converter for converter object annotation into hdf5 attribute
Description:
     see above
Solution:
Platforms tested:
     eirene,hawkwind,arabica
2000-11-08 16:54:14 -05:00
MuQun Yang
771c8b333c [svn-r2820]
Purpose:
    adding an hdf4 testing file for annotation
Description:
    see above
Solution:
Platforms tested:
     eirene,hawkwind,arabica
2000-11-08 16:51:26 -05:00
MuQun Yang
7ae3c459ad [svn-r2819]
Purpose:
    add more hdf4 test files for converter
Description:
    in this script, run CONVERT test files
Solution:
    Add CONVERT h4file h5file in this script
Platforms tested:
     eirene,hawkwind,arabica
2000-11-08 16:42:28 -05:00
Albert Cheng
0556db98e2 [svn-r2794] Purpose:
"bug fix"
Description:
    the h5ls tests sometimes failed because the tool sometimes prints
    the tool name in the help message as "lt-h5ls" while the
    expected result has it as "h5ls".  This was the tools pulled its
    name from argv[0].
Solution:
    Hardcode the progname as "h5ls" and blocked out the code that
    pulls the program name from argv[0].  The better solution is
    to find a way to create the real binary with the orginal tool
    name.
Platforms tested:
    linux
2000-11-03 00:12:47 -05:00
Albert Cheng
48b4b45481 [svn-r2790] Purpose:
new feature
Description:
h5tools.c:
    Created h5tools_init() and h5tools_close() for the initialization
    of the h5tools library and closing of it.  With this, the rawdatastream
    and other internal structures can be initialized properly.
h5tools.h:
    added prototypes for h5tools_init and h5tools_close.
h5dump.c:
h5ls.c:
    Added the calls for h5tools_init() and h5tools_close().
Platforms tested:
    IRIX64 -64 parallel and Linux
2000-11-01 23:59:51 -05:00
Robb Matzke
189ed5eb75 [svn-r2785] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (main)
	Backed out last change -- h5ls is a serial application and is
	never run with mpirun.
2000-10-31 15:51:58 -05:00
Robb Matzke
350fa2af78 [svn-r2781] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (main)
	Added calls to MPI_Init() and MPI_Finalize() for parallel
	versions in order to prevent errors about unrecognized
	command-line options.
2000-10-31 14:40:59 -05:00
Robb Matzke
e6f4a8d4fa [svn-r2779] ./hdf5/tools/testfiles/tnestcomp-1.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:21 -05:00
Robb Matzke
334d130322 [svn-r2778] ./hdf5/tools/testfiles/tcomp-1.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:19 -05:00
Robb Matzke
f5d8780b66 [svn-r2777] ./hdf5/tools/testfiles/tall-2.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:18 -05:00
Robb Matzke
acf6b83365 [svn-r2776] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (dump_dataset_values)
	The `float' and `double'
	values are displayed with the full precision instead of just the
	default `%g'.
2000-10-31 13:10:17 -05:00
Bill Wendling
972b9252b8 [svn-r2771] Purpose:
Reformatting
Platforms tested:
	Linux
2000-10-31 11:32:21 -05:00
Robb Matzke
718b67a143 [svn-r2770]
Purpose:
	Testing
Description:
	The h5ls test script only looked at exit status.
Solution:
	Created expected output files and compare actual output
	with expected output.
Platforms tested:
	i686-pc-linux
2000-10-31 11:29:57 -05:00
Robb Matzke
9a6bb96913 [svn-r2769] ./hdf5/tools/testh5ls.sh
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (verbose)
	Compares output to expected
	files. This should work just fine because we're not using the `-v'
	option which prints datatypes in a machine-dependent way.
2000-10-31 11:18:49 -05:00
Robb Matzke
18e823ff42 [svn-r2768] ./hdf5/tools/h5tools.h
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Reindented.
2000-10-31 11:18:47 -05:00
Robb Matzke
3c2dfa4bab [svn-r2767] ./hdf5/tools/h5tools.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (h5dump_sprint)
	The whitespace added for
	indentation after the line-feed kludge is performed only if a
	line-feed was actually inserted.  This fixes funny-looking h5ls
	output that had `    %s' sequences appearing in nested compound
	datatypes.
	Also added a prominent warning in the code to indicate that when a
	line-feed is inserted into the string that column number
	calculations will be incorrect and object indices will be missing.
2000-10-31 11:18:45 -05:00
Bill Wendling
bf78260a06 [svn-r2738] Purpose:
Bug Fix
Description:
	People need to type in the full-path to the
	attribute/dataset/etc. and weren't being told to do so by the
	"usage" statement.
Solution:
	Added an example and changed <names> to <path> to be more
	explicit...
2000-10-25 14:25:55 -05:00
Bill Wendling
47c0884e1f [svn-r2737] Purpose:
Feature
Description:
	Allow dumping of variable length records. This is a first-time
	stab at this. It doesn't break any tests on my Linux box and it
	does output the variable length data, but it might look ugly (it
	doesn't handle new-lines as of yet)...I'm open to suggestions on
	what should be done next, what new features to add/remove...
Platforms tested:
	Linux
2000-10-25 14:07:05 -05:00
Albert Cheng
136fbe5335 [svn-r2733] Purpose:
New tests
Description:
    Added a new test file (tsaf.h5) for h5dump and h5ls.  The test file was
    created by lib SAF team.  This file used to cause previous version
    of hdf5 tools to core dump.
    tsaf.ddl is the expected output from h5dump.
Platforms tested:
    IRIX64 -64, linux
2000-10-24 17:07:09 -05:00
Albert Cheng
2f3e8498cb [svn-r2732] Purpose:
New tests
Description:
    Added a new test file (tsaf.h5) for h5dump and h5ls.  The test file was
    created by lib SAF team.  This file used to cause previous version
    of hdf5 tools to core dump.
Platforms tested:
    IRIX64 -64, linux
2000-10-24 17:06:39 -05:00
Albert Cheng
810d2979cc [svn-r2724] Purpose:
new feature
Description:
    h5ls was not tested
Solution:
    Added a test script, testh5ls.sh, to give h5ls some tests.
    Since the output from h5ls is sometime machine dependent (e.g.,
    Datatypes), can not compare them with expected output.  For now,
    run it against various hdf5 binary files.  If it exits with 0,
    consider it passes.
Platforms tested:
    IRIX64, eirene, arabica.
2000-10-24 13:31:49 -05:00
Albert Cheng
7b7a34b33d [svn-r2723] Purpose:
tidy it up
Description:
    Change the variable names so that it looks more generic.  Plan to
    make it a generic script test template.
Platforms tested:
    IRIX64-64, linux, solaris 2.7
2000-10-24 13:28:54 -05:00
Quincey Koziol
6aa0dd1620 [svn-r2722] Purpose:
Feature symmetry
Description:
    A while ago I needed to get the 'type' of data being accessed during writes
    to the VFL driver, so I put in code to get the information down there.
    Albert asked for the same information during reads, so I've added that in.
Tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-24 13:18:09 -05:00
MuQun Yang
3cea3093c8 [svn-r2691]
Purpose:
    1. fix multiple defination warnings at sgi platform
    2. adding chunking information from hdf4 to hdf5 property list.
Description:
    1. Orginally global varibles were defined at one header file and this
       header file were included by other .c file and .h file so multiple warnings are
       generated.
    2. Chunking information was not included in the previous version.
Solution:
    1. use "extern" to define global variables at h4toh5util.h file and define global variables
       at h4toh5main.c
    2. retrieve the chunking info from sdgetchunkinfo and GRgetchunkinfo and store these information
	into hdf5 property list.
Platforms tested:
      eirene,arabica,paz,gondolin
2000-10-17 22:48:10 -05:00
Albert Cheng
3609fc24e7 [svn-r2682] Purpose:
Bug fix
Description:
    gmake check had been failing because of errors in the Makefile.
Solution:
    Fixed it so that libtools.a got build first.
Platforms tested:
    Eirene (Linux)
2000-10-13 00:09:30 -05:00
Albert Cheng
fcfecf9ff2 [svn-r2680] Purpose:
Bug fix (ID 419)
Description:
    Converted strings class types (in dataset and attributes) to
    HDF4 type of DFNT_INT8.  Should have been DFNT_CHAR type.
Solution:
h5toh4.c:
    Changed the HDF4 type from DFNT_INT8 to DFNT_CHAR type.
    Converted all hdf5 strings (be it NULLTERM, NULLPAD, SPACEPAD)
    all to fixed width space padded HDF4 DFNT_CHAR.
testh5toh4:
    Added the testing of $HDF_NOCLEANUP before cleaning away the result files.
testfiles/Expected/tattr.hdf:
testfiles/Expected/tstr.hdf:
testfiles/Expected/tstr2.hdf:
    Updated with the corrected DFNT_CHAR type.
Platforms tested:
    Solaris 2.7, Linux, Irix 6.5.
2000-10-12 21:32:25 -05:00
MuQun Yang
0c70d84368 [svn-r2678]
Purpose:
    fixing output format of character array converted from hdf4 vdata.
Description:
    Now one dimensional chactacter array can be outputed as one H5 string instead of string of array before.
Solution:
   modify gen_h5comtype() so that when we detect the datatype is hdf5 string, we will merge hdf4 fieldorder into H5T string size and output the whole character array into  hdf5 string(with string size = size of the array length).
Platforms tested:
    eirene(LINUX), arabica(sun 5.6)
2000-10-12 18:33:22 -05:00
MuQun Yang
13bd74e122 [svn-r2676]
Purpose:
   Update the test file vg.h5
Description:
Solution:
Platforms tested:

eirene(LINUX),arabica,baldric(SUN 5.6),paz(IRIX6.5),gondolin(DEC),opus(HP-UX11)
2000-10-12 17:54:31 -05:00
MuQun Yang
bddc59c0ea [svn-r2675]
Purpose:
    fix "zero memory" routine  and change dimensional scale name size to MAX_DIM_NAME
Description:
    change bzero into h4toh5_ZeroMemory
    change dimensional scale name size(orginally MAX_NC_NAME) to MAX_DIM_NAME at converter.
Solution:
    see description
Platforms tested:
arabica,baldric,gondolin(DEC),opus(HP 11),eirene(Linux),paz(IRIX6.5)
2000-10-12 17:52:28 -05:00
MuQun Yang
8abdfea352 [svn-r2674]
Purpose:
    1. fix size of dimensional name list so that the size of dimensional name in dumper output
will not change because of different versions of hdf library(h4toh5util.h and h4toh5sds.c).
    2. fix bzero routine for windows platform(h4toh5util.h,h4toh5util.c,h4toh5anno.c,h4toh5main.c,
	h4toh5sds.c)
Description:
    1. change the MAX_DIM_NAME into 276(MAX_NC_NAME +dimension group name) and hopefully we will
    not expand the size of MAX_NC_NAME(currently 256) for a long time.
    2. create a new routine(h4toh5_ZeroMemory) to zero out memory. Use ZeroMemory in windows and
	bzero at UNIX.
Solution:
    see Description.
Platforms tested:
    LINUX(eirene),WINDOWS 2000, sun 5.6(baldric and arabica),HP-UX11(opus),DEC(gondolin),IRIX 6.5(paz).
2000-10-12 17:47:38 -05:00
Quincey Koziol
123072a922 [svn-r2653] Purpose:
No change.
Description:
    Must've added some debuging printf's and then took them out in a way which
    triggered CVS.
Platforms tested:
    Solaris 2.6 (baldric) & FreeBSD 4.1.1 (hawkwind)
2000-10-10 02:44:33 -05:00
Bill Wendling
452ee91027 [svn-r2643] Purpose:
Adding Testing
Description:
	Alignment when putting elements in a compound datatype can be
	off.
Solution:
	This was a bug which I'd fixed. Here's a program to exercise the
	bug.
Platforms tested:
	Linux
2000-10-09 15:41:03 -05:00
Bill Wendling
ff7a1a267d [svn-r2637] Purpose:
Format changes
2000-10-06 15:30:13 -05:00
Quincey Koziol
06d7d3b5ad [svn-r2636] Purpose:
Bug Fix
Description:
    Test was not detecting hdp tool from HDF 4.1r4 correctly.
Solution:
    Modified test to detect HDF4.1r[3-9] correctly.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-05 13:03:26 -05:00
Bill Wendling
ea7f4421f9 [svn-r2634] Purpose:
Bug fix
Description:
	In the h5dump_fixtype function, when users created a COMPOUND
	datatype, the alignment would be off somewhat.
Solution:
	The alignment was being set after insertion. I changed this code:

	for (i = 0, offset = 0; i < nmembs; i++) {
	    H5Tinsert_array(m_type, name[i], offset, ndims[i], dims + i * 4,
			    NULL, memb[i]);

	    for (j = 0, nelmts = 1; j < ndims[i]; j++)
		    nelmts *= dims[i * 4 + j];

            offset = ALIGN(offset, H5Tget_size(memb[i])) +
	    			nelmts * H5Tget_size(memb[i]);
	}

	to:

	for (i = 0, offset = 0; i < nmembs; i++) {
            if (offset)
                offset = ALIGN(offset, H5Tget_size(memb[i]));

	    H5Tinsert_array(m_type, name[i], offset, ndims[i], dims + i * 4,
			    NULL, memb[i]);

	    for (j = 0, nelmts = 1; j < ndims[i]; j++)
		    nelmts *= dims[i * 4 + j];

	    offset += nelmts * H5Tget_size(memb[i]);
	}

	The alignment is now calculated before the insertion.
Platforms tested:
	Solaris, Linux
2000-10-05 11:56:30 -05:00
Bill Wendling
c59d21041d [svn-r2632] Purpose:
Bug
Description:
	The testh5toh4 was removing all .h5 files from the testfiles
	directory, however, with the addition of testh4toh5, we need some
	.h5 files in there.
Solution:
	Changed the scripts so that an output directory is created for
	all of the processed files. This is removed after the test is
	finished.
Platforms tested:
	Linux
2000-10-04 11:57:04 -05:00
Albert Cheng
9413c52951 [svn-r2627] Purpose:
Bug fix
Description:
    Attempted to close rawdatastream even if it has not been
    used to open a new file.  Many systems tolerated the NULL
    value but not FreeBSD.
Solution:
    Check for the NULL value too.
Platforms tested:
    hawkwind (freeBSD) and modi4 parallel.
2000-10-02 13:06:20 -05:00
Albert Cheng
375e1d4d77 [svn-r2626] Purpose:
New Feature
Description:
    Add -o option to h5dumper. It displays the raw data of datasets to a
    separate output file.
    Add a feature to h5tools library that it uses the FILE *rawdatastream
    as the stream for the display of datasets raw data.
Solution:
    Define an "extern FILE *rawdatastream" in h5tools.h
    and declare it in h5tools.c.  This way, it would work
    even if an application does not explicitely declare it.
    Tried to initialized it to stdout as
	FILE *rawdatastream = stdout;
    but Linux gcc rejected it though all other platforms+compilers
    accepted it fine.  For now, put in a kludge to set it right
    before it is used.  Need a safer way to initialize it.
Platforms tested:
    arabica, eirene, modi4 -64.
2000-09-30 12:27:18 -05:00
Albert Cheng
5e8a177dd8 [svn-r2625] Purpose:
Bug fix and feature
Description:
    It could not find a working h5dump to process the hdf5 files.
    This could be because h5dump is not installed in $PATH or
    a disfunctional one is found. (E.g. arabica:/usr/sdt/bin/h5dump
    does not work.)
    Setting it to ./h5dump or $PWD/h5dump does not work because
    when h5dump is used, it has "cd testfiles", a different place.
Solution:
    Set H5DUMP with the current absolute path (used `pwd` instead
    of $PWD which is sometimes not set for whatever reason.)
    Also add a feature to allow H5DUMP to be set to a different
    value by hand.  For example, if the h5dump just built is not
    working correctly, one can do "H5DUMP=/usr/local/bin/h5dump make check"
    to bypass the broken h5dump.
Platforms tested:
    arabica
2000-09-30 11:16:47 -05:00
Albert Cheng
9bde1f17f8 [svn-r2623] Purpose:
Reformat the source
Description:
    The tabstop seems to defined different from 8-stops.  The
    source files looked very confusing.  Just reformate the
    files.  Not change to source code at all.
Platforms tested:
    modi4 -64.
2000-09-29 22:31:08 -05:00
MuQun Yang
ef190ad4fc [svn-r2619]
Purpose:
    update testh4toh5
Description:
    change h5dump path at testh4toh5
Solution:
Platforms tested:
    arabica, baldric, eirene
2000-09-29 15:38:39 -05:00
MuQun Yang
b2016500e5 [svn-r2616]
Purpose:
    add h4toh5 converter source codes under tools directory.
Description:
    this is the expected hdf5 result for h4toh5 converter.
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2000-09-28 15:53:04 -05:00
MuQun Yang
5a1ad31626 [svn-r2615]
Purpose:
    add h4toh5 converter source codes under tools directory.
Description:
    this is the test file for h4toh5 converter.
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2000-09-28 15:52:26 -05:00
MuQun Yang
9918e0e06e [svn-r2614]
Purpose:
    add h4toh5 converter source codes under tools directory.
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2000-09-28 15:51:45 -05:00
MuQun Yang
da81e18888 [svn-r2613]
Purpose:
     add h4toh5 converter tool
Description:
     add flag h4toh5 and testh4toh5 in the Makefile.
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    test on eirene and arabica.
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2000-09-28 15:46:31 -05:00
Quincey Koziol
22867dca0e [svn-r2579] Purpose:
Clean up small compiler warnings and add missing function prototypes.
Platforms tested:
    FreeBSD 4.1
2000-09-19 16:08:15 -05:00
Robb Matzke
f2caef690b [svn-r2573] Purpose:
Fix Irix pmake bugs
Description:
	Build fails on Irix when builddir != srcdir
Solution:
	* acconfig.h
	* src/H5config.h.in			[REGENERATED]
		Added definition for HAVE_STREAM

	* config/conclude.in
	* config/depend1.in
	* config/depend2.in
	* config/depend3.in
	* config/depend4.in
		The `Dependencies' file is located in the source
		tree. This fixes bugs for Irix pmake when compiling
		outside the source tree.  Hopefully it still preserves
		Albert's changes which allow concurrent compilations
		to not stomp on each other's Dependencies files.


	* examples/Dependencies			[REGENERATED]
	* src/Dependencies			[REGENERATED]
	* test/Dependencies			[REGENERATED]
	* tools/Dependencies			[REGENERATED]
		Regenerated for testing purposes.
Platforms:
	i686-pc-linux
	mips-sgi-irix6.5
	sparc-sun-solaris2.6
2000-09-19 12:04:46 -05:00
Thomas Radke
b374a9c504 [svn-r2563] Purpose:
Added the Stream Virtual File Driver to the list of drivers
     used for trying to open a file via h5dump_fopen().

Description:
     The Stream VFD was added at bottom of the driver list for h5dump_fopen().
     If no driver succeeded to open a file given by its filename
     the Stream VFD would try to do so by parsing the filename as an
     'hostname:port' argument, open a socket to that address and read
     read the file.

     This feature can be used to h5ls/h5dump streamed files.

Platforms:
     All platforms (also between heterogenous).
2000-09-15 07:05:41 -05:00
Bill Wendling
1a50cbd737 [svn-r2549] Added usage message if the user doesn't specify a filename (i.e., no
command line arguments are given).
2000-09-14 12:26:37 -05:00
Bill Wendling
52857497ee [svn-r2467] Changed type so that compiler warnings about implicit conversion were
removed.
2000-08-04 17:17:23 -05:00
Bill Wendling
3750200354 [svn-r2462] Fixed some small compiler warnings. 2000-08-04 15:47:22 -05:00
Bill Wendling
a01ff43d8d [svn-r2461] Made some of the functions prototypes so that the compiler wouldn't
complain.
2000-08-04 15:41:57 -05:00
Bill Wendling
facbe5ba38 [svn-r2460] Fixed some comparisons between signed and unsigned values. Made some of
the functions prototypes so that the compiler wouldn't complain about
them.
2000-08-04 15:41:26 -05:00
Albert Cheng
d69ff2516a [svn-r2419] Setup PUB_PROGS so that all tools but h5dumptst will be installed.
h5dumptst generates the test suits files.  It is not a user tool.
2000-06-27 14:02:20 -05:00
Albert Cheng
3c69d8be86 [svn-r2417] Include sys/stat.h in case it is not included in some platforms
like Cray T90.  Tested on linux.
2000-06-27 12:57:00 -05:00
Robb Matzke
96f9f1859b [svn-r2412] Fixed a variety of problems with the new H5ToolsFopen() function.
1. The `driver' table is initialized only once, making it faster and
     leaking less memory.
  2. The returned driver name is set to the empty string on failure.
  3. Added an argument so the function cannot overwrite the end of the
     drivername return value.
  4. Avoids core dump when assigning driver name to return value if the
     file could not be opened by any driver.
  5. Changed name of function to h5dump_fopen() to follow the naming
     scheme for this source file.
  6. Reindented according to hdf5 code standard.
  7. Added `const' qualifiers to read-only formals.
  8. Removed duplicate forward declaration.

Reindented some parts of these source files that had very odd indentation
(some lines had no indentation while others had 3x what they should).

Fixed calls to H5ToolsFopen() function.
2000-06-23 12:52:21 -05:00
Patrick Lu
6e7c3212d3 [svn-r2359] added the comments back to the part of the code that is setting up the file
drivers array.
2000-06-07 12:39:57 -05:00
Patrick Lu
4d16bcfecb [svn-r2341] took the code out of h5ls to open files using different drivers and created a function in the tools
library for it(H5ToolsFopen-takes a filename and a char ptr if you want the name of the driver)

added the function to h5tools.c, a header to h5tools.h and changed h5ls.c and h5dump.c to use the new
functions
2000-06-06 13:07:20 -05:00
Patrick Lu
0264342a3e [svn-r2308] added a funtion to create a bitfields test file. just used the code from the dataset
test file
2000-05-31 11:22:38 -05:00
Patrick Lu
cee9fa8a0e [svn-r2307] test file for the bitfields test. i used the bitfield parts of the dataset test file 2000-05-31 11:21:36 -05:00
Patrick Lu
8750cf4c3a [svn-r2306] ddl for the bitfields test file 2000-05-31 11:20:56 -05:00
Patrick Lu
7f5c264ce4 [svn-r2305] took out the line that said the bitfields are not supported in the dumper.
now it will dump bitfields using the the tools lib like h5ls does.
2000-05-31 11:08:10 -05:00
Patrick Lu
2d7cee1e9f [svn-r2304] *** empty log message *** 2000-05-30 11:54:44 -05:00
Patrick Lu
a0e559aee5 [svn-r2294] fixed the output of the options list so that the xml options text is aligned 2000-05-26 13:58:27 -05:00
Patrick Lu
e27ec06855 [svn-r2291] update the ddl to match the output the dumper is generating now for the
compound types.  (the indentation for the curly brace at the end of the
compound type is aligned with the top brace)
2000-05-25 12:13:20 -05:00
Patrick Lu
69ca8832e6 [svn-r2290] fixed the indenting error related to compound types. 2000-05-25 12:08:45 -05:00
Patrick Lu
f782d80d00 [svn-r2280] more complicated test file for nested compounds. copied from Elena's test file 2000-05-19 10:52:59 -05:00
Patrick Lu
2b4672286c [svn-r2279] copied Elena's code for a more complicated testfile for the nested compound types 2000-05-19 10:52:10 -05:00
Patrick Lu
853923360d [svn-r2278] changed the nested compound test. copied Elena's code from her test file for nested comp types.
more complicated test case
2000-05-19 10:50:46 -05:00
Robb Matzke
bc520e88b4 [svn-r2262] * 2000-05-18
** src/H5Tconv.c
** src/H5Tpkg.h
** src/H5Tpublic.h
	The H5T_conv_struct_opt() function had a design flaw -- it
	didn't keep information about the stride to use to step
	through the temporary/background-value buffer and thus nested
	invocations would clobber each other's temp buffers.  This was
	fixed by splitting the `stride' argument into `buf_stride' and
	`bkg_stride' arguments for all the conversion functions. THIS
	IS AN API CHANGE, but users will get a compiler warning when
	they pass their conversion function pointer to H5Tregister().

** src/H5T.c
** src/H5Tprivate.h
	Added a bkg_stride argument to the H5T_convert() definition in
	order to fix a bug related to the optimized compound datatype
	conversion function.

** src/H5T.c
** src/H5A.c
** src/H5D.c
** src/H5Ofill.c
** src/H5P.c
	Added bkg_stride=0 argument to the H5T_convert() calls.

** test/dtypes.c
	Added a test for the H5T_conv_struct_opt() bug fixed above.

** src/H5FL.c
	The H5FL_term() function should return non-zero even when it
	couldn't free all the free lists do to their being used by
	some other package.  When that other package terminates it
	will return non-zero, causing H5FL_term() to be called
	again. This fixes some of the `infinite loop closing library'
	messages.

** tools/pdb2hdf
	Uses print_version() instead of doing that itself.

** src/H5Ppublic.h
	Renamed H5Pget_gc_reference() declaration to make it match the
	definition.

** src/H5FDlog.c
	Added API tracing macros.

	Removed `const' qualifier from a `char*' member of a struct
	which was allocated on the heap.

** src/H5TB.c
	Added curly braces to a couple deeply-nested `if' statements
	to make them clearer and to shut up the increadibly stupid and
	just plain incorrect gcc warning about ambiguous `else'.

** test/titerate.c
	Removed incomplete initialization in favor of memset() for one
	auto variable to stop compiler warnings.

** tools/Depencencies
	Regenerated to remove references to h5dumputil.c
2000-05-18 11:40:20 -05:00
Patrick Lu
1f6bb057e0 [svn-r2256] same changes i did for the release version. (fixed bug in dangermouse... added
an extra conditional)
2000-05-16 11:57:46 -05:00
Albert Cheng
0662396e13 [svn-r2243] h5dump.c: Removed some Carriage-return's
h5tools.c h5tools.h:
    Modified print_version() to use const char * argument instead.
2000-05-11 17:18:44 -05:00
Albert Cheng
e02e441734 [svn-r2242] Removed h5dumputil.c. Its functions have been migrated to h5tools.c. 2000-05-11 17:15:12 -05:00
Patrick Lu
6f5d6505a1 [svn-r2232] removed the conditional compile statements that we were going to use
for the merged tools lib since these files do not require the tools lib
2000-05-09 13:14:33 -05:00
Patrick Lu
23f2575276 [svn-r2229] added semicolons after the opaque info 2000-05-09 12:01:24 -05:00
Patrick Lu
f474a09365 [svn-r2228] added a semicolon after the opaque info is printed 2000-05-09 12:00:38 -05:00
Patrick Lu
dca5c02b31 [svn-r2218] forgot the header to the ddl. just tells what hte command to generate the file was 2000-05-05 11:27:40 -05:00
Patrick Lu
019f267759 [svn-r2216] the ddl file for the topaque.h5 file 2000-05-04 12:09:36 -05:00
Patrick Lu
6473bd2a11 [svn-r2215] the new opaque file. has a 2d array. the first array is from 0-99 and the
is from 99-0.
2000-05-04 12:07:20 -05:00
Patrick Lu
295fbf3b82 [svn-r2214] added support for the opaque type.
prints out the data section in hexidecimal format.
in the h5dumptst.c i added a function to create an opaque test file.
2000-05-04 12:05:09 -05:00
Patrick Lu
ae5c998516 [svn-r2211] took the development branch code and moved it into the release. had to add some
conditional compile statements in the code to compile for the release.
defined a VERSION12 and VERSION13 macro.  all changes were surrounded by these statements
2000-05-03 10:48:20 -05:00
Quincey Koziol
75574e92e1 [svn-r2189] Fixed some compiler warnings 2000-04-22 15:45:29 -05:00
Robb Matzke
7a52d6ce9b [svn-r2180] ./src/tools/h5tools.c
Added hyphen to version printf format.

	./src/tools/h5ls.c
		Calls print_version() instead of doing it by hand.
2000-04-21 14:28:09 -05:00
Patrick Lu
8a006fd0ca [svn-r2167] i removed unneeded code from the tool lib.
from h5tools.h just got rid of a prototype for copy_atmoic_char which was never used

in the h5tools.c i removed the copy_atomic_char, all the display_*_data, where the * is numeric, string
or compound, the print_data, h5dump_attr. also removed a block of codfe that was surrounded by #if 0
2000-04-20 11:53:57 -05:00
Quincey Koziol
7438609ee2 [svn-r2162] Various small fixes to address SGI compiler warnings. 2000-04-19 18:11:06 -05:00
Patrick Lu
395326672c [svn-r2156] changed a comment that is no longer relevant and moved some code around in the dump_simple_prefix
funtion.  all i did was take some code that was common to both the if and then conditions out.
2000-04-19 13:14:36 -05:00
Patrick Lu
173260ac41 [svn-r2155] fixed the error in the h5ls output. it is now printing like it did before the tools lib merge.
prints the index numbers.  moved the lines that were doing indenting into the conditionals.
2000-04-19 13:08:11 -05:00
Raymond Lu
f087c55d10 [svn-r2139] Change the global static variable 'status' to 'd_status' in this file. Same name appears as an external variable in SRB library, causing conflict. 2000-04-13 10:19:12 -05:00
Robb Matzke
d9b36b8a7f [svn-r2089] ** tools/h5ls.c
Prints the subrelease name also.

** tools/h5tools.c
	Fixed indentation problems in the first half of the file.

	Changed conditional compilation style from `/*...*/' to use
	#if 0/#endif in the first half of this file.

	Removed some extra parentheses to make expressions more readable.
2000-04-07 10:27:48 -05:00
Patrick Lu
64abaedc8b [svn-r2054] update the files since i hanged the hdf 5 versions of them.
the h5toh4 tests were not passing.
2000-03-23 12:13:34 -05:00
Patrick Lu
1ee399e491 [svn-r2052] the new ddls for the new versions of the testfiles just created(tall.h5, tcompounnd.h5, tnestedcomp.h5)
the data is not as simple as before. rows are not repeated and rows are not just 1 number repeated
2000-03-23 10:38:14 -05:00
Patrick Lu
1bb9912f80 [svn-r2051] update the test files so that their data is a little more vaired.
the elements in the rows are different values and rows are not repeated.
2000-03-23 10:31:21 -05:00
Patrick Lu
a997660b18 [svn-r2050] changed the data for the tall.h5, tcompound.h5 and tnestedcomp.h5 test files.
the data is not as simple as it was before. all elements in a row are different
values now and rows are no longer repeated.
2000-03-23 10:27:34 -05:00
Patrick Lu
35b8c2baf0 [svn-r2046] added a test for the tnestedcomp.h5 test. 2000-03-21 12:59:28 -05:00
Patrick Lu
50500e3672 [svn-r2045] fixed a type that had the endian to be little. I created the file on my NT machine but
the testfile on baldirc.
2000-03-21 12:58:18 -05:00
Patrick Lu
f8fc02abce [svn-r2043] testfile for the nested compound types 2000-03-21 12:48:08 -05:00
Patrick Lu
861af95729 [svn-r2042] ddl for the testfile tnestedcomp.h5 2000-03-21 12:47:40 -05:00
Patrick Lu
5536ff167e [svn-r2041] added a new test file creation function. test_nsetcomp. creates a file
that has nested compound types in it.
2000-03-21 12:44:01 -05:00
Albert Cheng
615522147b [svn-r2020] Fine tuned the declaration of dump_header_format to be "const" consistent. 2000-03-09 19:41:10 -05:00
Patrick Lu
c9e88b0516 [svn-r2017] added a new data structure for the dump header format for customized output 2000-03-09 14:34:39 -05:00
Patrick Lu
8ff4e26ee7 [svn-r2016] fixed the problem with the -xml option that prevented it from working
unless it was the last argument in the run time options.
just added another && condition.
2000-03-09 14:16:19 -05:00
Patrick Lu
01d728817b [svn-r2015] changed the dataspacedescrition begin and end for the xml struct 2000-03-09 13:42:53 -05:00
Patrick Lu
3bec438149 [svn-r2014] fixed a typo 2000-03-09 13:38:09 -05:00
Patrick Lu
4328e85e8e [svn-r2013] added comments to the large structure definition 2000-03-09 13:10:52 -05:00
Patrick Lu
03d34c41a1 [svn-r2012] updated the ddls to support the changes that were made to the begin_obj and end_obj
macros in the dumper.  this was basically adding a space after most of the '}'.
there are some places that don't have the space because those '}' were not printed
by the end_obj macro
2000-03-09 12:56:30 -05:00
Patrick Lu
fb53598b36 [svn-r2011] added new structure to h5tools.h that is used to customize the output for
the header information in the dumper. the header is the part before the data
block.

in h5dump.c there is support for the new -xml option.  prints the output in xml
using the structure we just defined in h5tools.h.

h5dump.h- changed the begin_obj and end_obj macros. take an extra parameter now
2000-03-09 12:53:48 -05:00
Albert Cheng
c0e855bc88 [svn-r2001] Purpose:
Bug fix.
Description:
    Failed on T3E in which int32 is typedef to a short (4 bytes)
    but the converter just used H5T_NATIVE_INT for conversion of
    a STD_INT32.  Int in a T3E is actually 64bit big.
Solution:
    Recoded the h5type to h4type matching algorithm by making sure
    the size of the H4 type used is equal to the size of the
    H5 native type.
    Remark: current implementation is not efficient--it does all
    the sizes checking repeatedly.  Should have done the type mapping
    once at the beginning as initialization.
    Old code are still retain via the macro NEWWAY.  Need to verify
    the correctness of the converter in more platforms before
    finalized on the code.
Platforms tested:
    Baldric (Solaris 2.6), arabica (Solaris 2.7)
    T3E
2000-03-06 18:02:40 -05:00
Patrick Lu
e364b30371 [svn-r1992] added a few definitions for formats in the dump structure
fixed the bug that was crashing for the development version of the dumper
2000-02-28 13:58:16 -05:00
Patrick Lu
459550ed9c [svn-r1989] removed the variable for the attribute that I didn't need. 2000-02-24 12:01:50 -05:00
Patrick Lu
c96d841efa [svn-r1988] fixed the crashing bug on sangamon with the shared libs. I had a line thet closed the
attribute that wasn't ever opened.  deleted the line and it was all ok.
2000-02-24 11:52:12 -05:00
Patrick Lu
b9bd7a9d64 [svn-r1986] entered a value for the info.line_indent value and moved some of the other definitions out of the
conditionals.  fixed the bug for the SDScompound.h5
2000-02-23 12:58:43 -05:00
Patrick Lu
4972a63a8e [svn-r1985] fixed the bug with the memory alignment error 2000-02-22 14:32:48 -05:00
Albert Cheng
1fdf079abc [svn-r1974] Added const to the h5dump_region third argument to quite a compiler
complain and it is more correct this way too.
2000-02-18 07:26:59 -05:00
Patrick Lu
6a2bc2f4aa [svn-r1973] fixed the dataset regions problem with the dumper.
now the dump structure contains 2 extra members that tell how to format the
data for the dataset regions(blocks and pts).
had to give h5ls values for these
2000-02-17 13:35:30 -05:00
Patrick Lu
82cd7cca30 [svn-r1972] updated it for the removal of the newline from the dumper code 2000-02-17 11:13:41 -05:00
Patrick Lu
669f39344f [svn-r1971] removed a newline from a string after the enum type is printed 2000-02-17 11:12:22 -05:00
Patrick Lu
3780223f33 [svn-r1970] updated the ddl.
removed a bug that was there before
2000-02-17 10:31:41 -05:00
Patrick Lu
232a032d54 [svn-r1969] fixed a bug with the objrefs. added a format string to the dump struct to
display the format for the obj refs.
2000-02-17 10:28:55 -05:00
Patrick Lu
3c0df63acd [svn-r1968] removed the directory name from the name 2000-02-16 12:57:58 -05:00
Patrick Lu
31f5fc67fd [svn-r1967] changed the name of the file and added the text at the beginning that tells
what command we used to generate the ddl file
2000-02-16 12:55:10 -05:00
Patrick Lu
9f06c8ee5a [svn-r1966]
removed some commented code.
2000-02-16 12:50:11 -05:00
Patrick Lu
29af1961ac [svn-r1962] update the name of the file 2000-02-15 13:25:40 -05:00
Patrick Lu
e6a75db5e6 [svn-r1961] update the names of the files 2000-02-15 13:21:22 -05:00
Patrick Lu
c6df9ddcea [svn-r1960] updated again 2000-02-15 13:19:53 -05:00
Patrick Lu
8188ff065d [svn-r1959] updated to remove an error in the name 2000-02-15 13:18:33 -05:00
Patrick Lu
f6d7c68b75 [svn-r1958] updated the ddls for the changes that were made to the dumper 2000-02-15 10:58:44 -05:00
Patrick Lu
dda956608e [svn-r1957] removed the program type variable from the file 2000-02-15 10:46:26 -05:00
Patrick Lu
5a91414d6e [svn-r1956] in h5tools.h I added a fwe new members to the struct for the formatting.
in h5dump.c just initialized the values for the formatting struct.
in h5tools.c made some changes in the printing area to get the dump output to
look closer to what we wanted.  the strings are currently not printing correctly.
also removed the program type variable from here.
2000-02-15 10:45:35 -05:00
Albert Cheng
d5e1f8ff03 [svn-r1936] Removed h5findshd.c. Its routines have been moved to libh5tools.c. 2000-01-07 18:17:08 -05:00
Albert Cheng
5651d417de [svn-r1934] Removed the entry of h5findshd.c. Its routines have been moved to
libh5tools.c.
2000-01-07 14:17:13 -05:00
Patrick Lu
84d1dd0f92 [svn-r1933] took the functions out of the h5findshd.c and put them into this file 2000-01-06 12:32:16 -05:00
Patrick Lu
26f8ffe9d9 [svn-r1900] temporary fix for the committed type problem that Elena reported. 1999-12-17 14:06:39 -05:00
Patrick Lu
bb92bb9712 [svn-r1898] backed out the changes that were breaking the test cases until i can
figure a way to fix the problem.  decided to back it out since i will
be leaving for christmas in a few days and won't be back until jan.
1999-12-17 11:56:10 -05:00
Albert Cheng
f30439d592 [svn-r1870] h5dump.c:
Added -V option for displaying version information.
h5tools.c:
    Added print_version routine to display version information.
h5tools.h:
    Added print_version prototype.
1999-12-10 15:44:04 -05:00
Patrick Lu
0a3b102ae8 [svn-r1864] fixed the committed type error. 1999-12-10 09:38:40 -05:00
Albert Cheng
fdf2c445ad [svn-r1863] The old way of testing **argv against NULL would cause coredump in
some machines.  Changed it to use argc to control the looping.
Still need to clean some more.
1999-12-09 18:53:25 -05:00
Patrick Lu
015079ab20 [svn-r1854] fixed a bug 1999-12-03 15:09:20 -05:00
Patrick Lu
6660a174c2 [svn-r1853] updated these files to reflect the changes in the format for the dump output 1999-12-03 14:48:34 -05:00
Patrick Lu
4ed4c8fb47 [svn-r1852] fixed a bug that i introduced with the last change to this file. 1999-12-03 14:43:56 -05:00
Patrick Lu
78cd5541bf [svn-r1851] updated the output for the dumper so that it prints out compound types
with out the square braces.  also the formatting for the compound types
in the dataset part section has been corrected.

still need to update the expected outputs so there will be some errors until
I get that all checked in...
1999-12-03 14:26:25 -05:00
Robb Matzke
9c40226b31 [svn-r1848] *** empty log message *** 1999-11-23 14:37:53 -05:00
Patrick Lu
c865c80878 [svn-r1839] added support for displaying nested compound data. 1999-11-18 10:17:37 -05:00
Quincey Koziol
9648d22f5f [svn-r1837] Cleaned up a few warnings from the SGI compiler. 1999-11-17 17:00:15 -05:00
Robb Matzke
4b2dbd5651 [svn-r1832] * 1999-11-16
** configure.in
** configure				[REGENERATED]
** src/H5private.h
** src/H5public.h
** src/Makefile.in
	Generates an H5pubconf.h file which is just like H5config.h except all
	the preprocessor symbols have `H5_' prepended. This was done so that
	the configuration results can be used in public header files without
	polluting the namespace.

** src/H5.c
	Added H5I_REFERENCE and H5I_VFL to the API tracing code so their names
	are printed instead of just numbers.

** src/H5FDstdio.c
** tools/h5import.c
** tools/h5repart.c
** tools/pdb2hdf.c
	Changed to use the `H5_' versions of configure results since these
	files include only the public API.

** test/big.c
	Removed a compiler warning.

** test/h5test.c
	Removed unused code.
1999-11-16 14:08:14 -05:00
Patrick Lu
135198d9dd [svn-r1815] added a definition for the S_ISDIR macro and a typedef for mode_t 1999-11-03 15:17:45 -05:00
Patrick Lu
c13e76ffee [svn-r1813] moved the globals out of the tools lib(h5findshd.c) into the h5toh4 tool.
had to change some of the functions in the h5findshd.c file since we didn't
have the globals anymore.  these changes also affected the h5toh5.c file.

passes all tests on unix
1999-11-03 11:46:09 -05:00
Robb Matzke
ae62eb223c [svn-r1806] * 1999-11-02
** bin/rpmsync
** config/depend1.in
	Tweaks for versions of `make' that can't search directories.

** examples/Dependencies
** src/Dependencies
** test/Dependencies
** testpar/Dependencies
** tools/Dependencies
	Regenerated all these with more complete path names.
1999-11-02 12:29:33 -05:00
Patrick Lu
cf31634884 [svn-r1805] more changes. I found some duplicate functions in the library and the dumper.
so i moved the dumper stuff out to the libary.  Had to change some functions
in h5findshd so they would stop using globals that shouldn't be defined in the
lib.  I will remove the globals next.  also the h5findshd.c has an extra member
to the struct for that objects in the table so i added that into the appropriate place.

the dumper is working ok now but the h5toh4 is still broken.
1999-11-02 12:11:37 -05:00
Robb Matzke
eb8747499d [svn-r1802] Changes since 19991019
----------------------

./MANIFEST
./configure.in
./configure			[REGENERATED]
	Added more checking for `make' features.

./Makefile.in
./doc/Makefile.in
./doc/html/Makefile.in
./doc/html/Tutor/Makefile.in
./examples/Makefile.in
./pablo/Makefile.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
./config/commence.in
./config/conclude.in
./config/depend.in		[REMOVED]
./config/depend1.in		[NEW]
./config/depend2.in		[NEW]
./config/depend3.in		[NEW]
./config/depend4.in		[NEW]
./config/dependN.in		[NEW]
	The directory search stuff was moved into commence.in, thereby
	shortening the Makefile.in prologues.

./doc/html/Dependencies		[NEW]
./doc/html/Tutor/Dependencies	[NEW]
./examples/Dependencies		[NEW]
./src/Dependencies		[NEW]
./test/Dependencies		[NEW]
./testpar/Dependencies		[NEW]
./tools/Dependencies		[NEW]
	The `.distdep' files were all renamed to `Dependencies' to make them
	more obvious. They are required (but may be empty) in every directory
	that has a Makefile.in that ends with @CONCLUDE@ (you'll get an
	obvious error from make if you forgot to create one).

./bin/trace
./src/H5.c
	Added H5E_major_t and H5E_minor_t although tracing only prints the
	integer value.

./src/H5E.c
./src/H5Epublic.h
	Added tracing information.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDgass.c
./src/H5FDmpio.c
./src/H5FDsec2.c
./src/H5FDstdio.c
	Fixed places where FUNC_LEAVE() evaluated it's argument more than
	once.

	Added tracing information.

	Wrapped long lines.

./config/gnu-flags
	Fixed a syntax error when we don't have a gnu compiler.
1999-11-01 10:21:16 -05:00
Albert Cheng
7dec251c1a [svn-r1801] Purpose:
Bug fix.
Description:
    If the H4DUMP (hdp) is not executable for some reasons (e.g., not
    in $PATH), it produced zero sized files.  The test script did not
    detect the abnormality but compared the zero sized files the same
    and concluded the test passed.
Solution:
    Test if H4DUMP can produce valid output.  If not, print warning
    messages.  Also check the size of output files to make sure they
    are reasonably valid.
Platform tested:
    Linux.
1999-10-29 21:30:42 -05:00
Patrick Lu
23ab35a5a7 [svn-r1800] moved the code from the dumper that iterates thru the files and stores the info
into the tables into the tools lib.

h5findshd-had some of the same functions so i removed them for now
1999-10-29 14:50:25 -05:00
Quincey Koziol
85f55c4c95 [svn-r1759] Corrected a few more compiler warnings. 1999-10-15 14:04:01 -05:00
Robb Matzke
687b25d15c [svn-r1754] Fixed file prologue. 1999-10-15 09:56:28 -05:00
Robb Matzke
34e44e399e [svn-r1753] Changes since 19991007
----------------------

./configure.in
./src/H5config.h.in	[REGENERATED]
	The /usr/ncsa/{include,lib} directories are only added if they
	actually exist. This fixes a warning on some systems.

	Checks for the <pdb.h> header file and also for either the PDB or Silo
	library, and if found prepares to compile the pdb2hdf program.

./config/distdep
	Relative path names for include files are changed to base names since
	the makefile contains the logic for searching and since it's likely
	that building the .distdep files happed from a location other than
	where they would be used in the file system.

./config/conclude.in
	Fixed shell errors when `for' loops iterate over nothing for the
	`uninstall' target.

./src/H5D.c
./src/H5Oefl.c
	File names for the external files are added to the heap when the
	dataset is created instead of when the object header is written. This
	fixes a rare infinite recursion bug.

./src/H5FD.c
./src/H5FDpublic.h
	Optimization to the free list causes H5FD_alloc() usage to go from >10
	seconds to <0.4 second for one example (converting a 30MB equation of
	state file from PDB to HDF5 format). The optimization is to simply
	keep track of the largest item in the free list and not search the
	free list when the largest item is not big enough to satisfy the
	request.

./src/H5FDcore.c
./src/H5FDcore.h
./test/h5test.c
	If the `backing_store' property is true then a flush causes the entire
	contents of memory to be written to the specified file. This is  in
	preparation for the ASCI/red optimizations and is currently tested by
	the pdb2hdf `--cached' switch.

./src/H5Odtypes.c
	Wrapped three long lines.

./tools/Makefile.in
./tools/pdb2hdf.c		[NEW]
	A PDB-to-HDF5 translator. It only translates meta data -- the
	resulting HDF5 points into the PDB file for the raw data.
1999-10-15 09:53:57 -05:00
Patrick Lu
5246411f70 [svn-r1744] i removed an extra function that wasn't being used 1999-10-13 11:08:26 -05:00
Patrick Lu
aa88b36b52 [svn-r1742] changed the name of the objectid macro to objid. conflicted with a windows
define
1999-10-13 10:11:02 -05:00
Robb Matzke
20e748496e [svn-r1732] Changes since 19991007
----------------------

./src/H5FDcore.c
	Includes private headers instead of public in order to use the
	`UNUSED' macro.

./src/H5FDpublic.h
	Includes H5public.h just in case.

./src/H5P.c
	Removed two unused variables in H5P_copy()

./src/H5FDgass.h
	Fixed a C++ comment after a `#endif'

./src/Makefile.in
	The H5FDgass.h file is public and must be installed in order for
	applications to be able to use HDF5.

./tools/h5tools.c
	Removed an unused variable.
1999-10-07 11:51:49 -05:00
Patrick Lu
cc0d72bfe7 [svn-r1709] *** empty log message *** 1999-10-01 16:56:00 -05:00
Robb Matzke
bdf0dbf7ed [svn-r1697] Changes since 19990915
----------------------

./src/H5public.h
	We undefine a bunch of things that could get redefined in the config
	file because some customers have applications that include headers
	from multiple packages, all of which might be using autoconf.

	Include <stdint.h> for the C9x types.

./test/h5test.h
	More flushing of stdout for when testing is redirected down a pipe.

./tools/h5ls.c
	Added a `-S' or `--simple' switch which causes the output to be
	simplified somewhat for easier parsing by other scripts. For instance,
	characters are escaped using a very simple mechanism instead of C's
	more complicated backslash notation, data doesn't have `{}' or `[]'
	characters interspersed for compound and array types, and data is
	printed with exactly one element per line.  This switch is now used by
	an HDF5-to-HTML CGI script being developed for the DMF people.

./tools/h5tools.c
./tools/h5tools.h
	The repeat threshold which controls how strings are printed when a
	character repeats a bunch of times is now settable at runtime instead
	of compile time. The default is to show all characters, like

	   "abceeeeeeeeeeeeeeeeeeeeeeeeeeeeeefgh"

	But if you set it to something like 5 then any sequence of 5 or more
	characters is replaced by something shorter, like:

	   "abc" 'e'x30 "fgh"	  or

	Added an `str_locale' property which describes how to escape special
	characters in strings. The default is C-like escapes but an
	alternative is ESCAPE_HTML which replaces all non-alphanumeric
	characters with a 3-character HTML escape of the form `%XX'

	Fixed a bug where empty strings didn't even have the quote characters
	printed. Now empty strings show up as `""' instead of absolutely
	nothing.

	Added a `per_line' property which controls the maximum number of
	elements which will appear per line of output. The default is infinity
	but in practice the right margin causes line breaks. By setting the
	`per_line' value to one and the right margin to a very large value one
	can achieve output with exactly one element per line.
1999-09-30 11:14:14 -05:00
Patrick Lu
f1917f0754 [svn-r1693] removed the last warnings from here 1999-09-29 11:54:00 -05:00
Quincey Koziol
21b0e20bf7 [svn-r1691] Portability tweaks and warnings fixed 1999-09-28 19:31:07 -05:00
Albert Cheng
95c384b425 [svn-r1683] Did some cleanup. 1999-09-28 13:20:40 -05:00
Patrick Lu
60f3f5e5c0 [svn-r1670] same changes as ont he release side 1999-09-27 11:45:10 -05:00
Patrick Lu
3ddb0009bc [svn-r1668] same fixes that were done on the release branch.
just casted the isdigit and isprintf parameter
1999-09-27 11:11:15 -05:00
Patrick Lu
eaaa292603 [svn-r1667] same fixes from the release branch were done here.
just casts with the parameters for the isdigit and isprint functions
1999-09-27 11:09:41 -05:00
Patrick Lu
b4dbf55fbe [svn-r1665] same changes i just made to the release version
changed sdims to int
1999-09-25 14:32:42 -05:00
Patrick Lu
72661ffc07 [svn-r1664] still getting some warnings. changed the sdims variable to int 1999-09-25 14:30:07 -05:00
Patrick Lu
3662fe727e [svn-r1663] added the include for fcntl.h here too 1999-09-25 13:59:55 -05:00
Patrick Lu
291c1af9c3 [svn-r1661] removed some of the warnings 1999-09-25 11:00:29 -05:00
Patrick Lu
46ed41925d [svn-r1659] brought changes from the release branch over to the developement
removed some of the warnings.
1999-09-25 10:32:04 -05:00
Quincey Koziol
90fde6d638 [svn-r1653] Removed unneeded sys/fcntl.h include line, which was causing J90 problems. 1999-09-24 18:07:17 -05:00
Patrick Lu
e2233b3c84 [svn-r1638] forgot to print the oid for the groups. 1999-09-17 12:20:13 -05:00
Patrick Lu
b6903e910b [svn-r1636]
h5tools.h- added a define for OBJECTID-->"OBJECTID"
h5dump.c - added an option in there to print object id's

still needs some testing but I just wanted the changes to be put up there before i
forget
1999-09-15 15:12:50 -05:00
Robb Matzke
833839621a [svn-r1602] Changes since 19990825
----------------------

./src/H5O.c				[1.2, 1.3]
	Initialzed the padding area between the end of a message and
	the end of the space allocated for that message. This
	hopefully fixes an UMR error found by Quincey and prevents the
	file from containing unwanted data.

./tools/h5ls.c				[1.2, 1.3]
	Fixed a bug where the `Data:' tag didn't get printed for
	attributes that have more than five values.
1999-08-26 09:21:45 -05:00
Robb Matzke
296d9cf766 [svn-r1585] Changes since 19990820
----------------------

./src/H5D.c
	Added additional elements to a variable initializer in
	H5Dvlen_get_buf_size() to shut up a warning message. Also
	added the API tracing call.

./src/H5F.c
	Added file opening optimizations. If the driver doesn't
	support the ability to determine when two file handles refer
	to the same file (like MPIO and GASS) then H5F_open() makes
	fewer calls to the driver's open callback.  Also, if the
	tentative file access flags are the same as the original flags
	then H5F_open() makes fewer calls to the file device.

./src/H5FD.c
./src/H5FDprivate.h
./src/H5FDpublic.h
	Added H5FD_get_class() so the library can get information
	about what file driver callbacks are defined. This will be
	useful when more optimization functions are added to the VFL,
	such as for MPIO derived datatype I/O.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDmpio.c
./src/H5FDmulti.c
./src/H5FDsec2.c
	The driver symbols (like H5FD_CORE, etc) are actually function
	calls. The functions were fixed to return correct values even
	after calling H5close().

./src/H5FDmulti.c
./src/H5FDmulti.h
	Added support for opening a file when parts are missing (only
	if the caller explicitly allows that in the file access
	property list).

	Moved some common code sequences into macros or functions.

	Added better support for reopening files.  All the application
	has to know is that the file is a multi file and the base name
	from which all the member names are created.

	More debugging output when the file is opened with the
	H5F_ACC_DEBUG flag.

	Fixed various bugs.

./src/H5Fistore.c
	Chunked raw data was accidently allocated as meta data instead
	of raw data.

./src/H5I.c
	The H5Iget_type() function fails when invoked with an old
	object ID (an ID which has been closed down).

./test/h5test.c
	Added an extra argument when setting the multi file access
	property lists so the test fails if it can't open one of the
	sub-files.

./tools/h5ls.c
	Improved the algorithm for deciding what file driver to
	use. It basically tries all of the predefined drivers and is
	now able to open family, split, and multi files without
	looking for special characters in the file name.

	Added `-e' and `--errors' switches which cause errors from
	libhdf5 to be reported on stderr in addition to the simple
	error message displayed by h5ls.
1999-08-24 07:52:10 -05:00
Robb Matzke
cbf68fc824 [svn-r1568] Changes since 19990730
----------------------

This extensive change is the virtual file layer implementation. I've
ported and tested the sec2, family, and core drivers and only ported
the mpio driver (Albert will test it).  So if you need MPIO I would
recommend sticking with the previous version for a while.

You will get a few compile warnings about split and stdio drivers not
being implemented and possibly tracing information not inserted in
some of the drivers. You can safely ignore them but I plan to fix
them.

I'm still working on the split driver because I just realized that it
needs a part of the VFL that isn't written yet.

Documentation is being updated also because there were some minor
changes (mostly just name changes). It should be available on my web
site later this week.

./MANIFEST
./src/Makefile.in
./src/hdf5.h
./src/H5Flow.c			[REMOVED]
./src/H5Fstdio.c		[REMOVED]
./src/H5Fsec2.c			[REMOVED]
./src/H5Fsplit.c		[REMOVED]
./src/H5Fmpio.c			[REMOVED]
./src/H5Ffamily.c		[REMOVED]
./src/H5Fcore.c			[REMOVED]
./src/H5MFpublic.h		[REMOVED]
./src/H5FD.c			[NEW]
./src/H5FDcore.c		[NEW]
./src/H5FDcore.h		[NEW]
./src/H5FDfamily.c		[NEW]
./src/H5FDfamily.h		[NEW]
./src/H5FDmpio.c		[NEW]
./src/H5FDmpio.h		[NEW]
./src/H5FDprivate.h		[NEW]
./src/H5FDpublic.h		[NEW]
./src/H5FDsec2.c		[NEW]
./src/H5FDsec2.h		[NEW]
	Removed/added files for virtual file layer.

./bin/trace
./src/H5.c
	Removed unused public datatypes and added new VFL public
	datatypes.

	Changed an error message.

./config/BlankForm
./config/dec-flags
./config/gnu-flags
./config/hpux10.20
./config/hpux9.03
./config/irix5.x
./config/irix6.x
./config/solaris2.x
./config/unicosmk
	Removed the H5F_OPT_SEEK and H5F_LOW_DFLT constants from the
	configuration since they're no longer applicable. The default
	file driver is always the sec2 driver and it always optimizes
	calls to lseek() or lseek64().

./config/depend.in
	C preprocessor errors generated during automatic dependency
	building are sent to /dev/null to prevent them from appearing
	twice in the make output.

./src/H5AC.c
./src/H5B.c
./src/H5D.c
./src/H5F.c
./src/H5G.c
./src/H5Gent.c
./src/H5Gnode.c
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
./src/H5Oattr.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Oshared.c
./src/H5T.c
./src/H5detect.c
./test/ohdr.c
	Changed H5F_ADDR_UNDEF to HADDR_UNDEF to be more consistent
	with the `haddr_t' datatype which is now a public type.

./src/H5D.c
./src/H5P.c
./src/H5Ppublic.h
./src/H5Tconv.c
./test/cmpd_dset.c
./test/dsets.c
./test/overhead.c
./test/tselect.c
./test/tvltypes.c
	The H5P_DATASET_XFER constant was changed to H5P_DATA_XFER
	because the properties apply to all types of I/O operations,
	not just datasets.

./src/H5B.c
./src/H5Bprivate.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Farray.c
./src/H5Fistore.c
./src/H5Fprivate.h
./src/H5Fpublic.h
./src/H5Gnode.c
./src/H5Gpkg.h
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
./src/H5R.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Smpio.c
./src/H5Spoint.c
./src/H5Sprivate.h
./test/big.c
./test/h5test.c
./test/istore.c
./testpar/t_dset.c
./testpar/t_file.c
./tools/h5debug.c
./tools/h5ls.c
	Modified to work with the virtual file layer by calling H5FD_*
	functions instead of H5F_low_* functions and by passing file
	access and data transfer properties by object ID instead of
	pointer.

	Changed H5D_transfer_t to H5FD_mpio_xfer_t since the
	COLLECTIVE vs. INDEPENDENT transfer mode is specific to the
	MPIO file driver.

	Moved MPIO-specific stuff into the MPIO driver.

./src/H5B.c
./src/H5D.c
./src/H5Fprivate.h
	The H5F_mpio_* private functions were renamed and placed in
	the H5FDmpio driver except those which appeared in H5Smpio.c.

./src/H5E.c
./src/H5Epublic.h
	Added major error number H5E_VFL for virtual file layer
	related errors.

./src/H5F.c
./src/H5Fprivate.h
	Changed the logic that controls whether the boot block is
	written. Instead of assuming that the first call to write the
	boot block is only to allocate space, I've added a function
	argument which makes this explicit.

	Changed the way files are compared so that a driver-defined
	comparison function can be called.  Files which belong to
	different drivers are always considered different.

	Removed H5F_driver_t since file drivers are now identified by
	object ID instead of a special non-user-extendible datatype.

	Removed all the hard-coded low-level file properties which
	have been replaced by the various file drivers.

./src/H5I.c
./src/H5Iprivate.h
	Added the H5I_inc_ref() which was removed a few months ago
	since we finally have a use for it.

./src/H5Ipublic.h
	Added the H5I_VFL object ID type to identify file drivers in
	the virtual file layer.

./src/H5MF.c
./src/H5MFprivate.h
	Moved all the allocation/deallocation code into the virtual
	file layer which allows file drivers to override much of it.

./src/H5P.c
./src/H5Ppublic.h
	Moved file driver-specific code into the various file driver
	files.

	The H5Pcopy() and H5Pclose() functions make calls into the
	virtual file driver to manage the memory for driver-specific
	file access and data transfer properties.

./src/H5private.h
./src/H5public.h
	The `haddr_t' type is now public.

./test/tfile.c
	Added a few more comments.
1999-08-10 15:21:32 -05:00
Robb Matzke
2681ce4a86 [svn-r1549] Changes since 19990728
----------------------

./src/H5B.c		[1.3]
./src/H5D.c		[1.3]
./src/H5F.c		[1.3]
./src/H5Farray.c	[1.3]
./src/H5Fcore.c		[1.3]
./src/H5Ffamily.c	[1.3]
./src/H5Fistore.c	[1.3]
./src/H5Flow.c		[1.3]
./src/H5Fmpio.c		[1.3]
./src/H5Fprivate.h	[1.3]
./src/H5Fsplit.c	[1.3]
./src/H5Fstdio.c	[1.3]
./src/H5G.c		[1.3]
./src/H5HG.c		[1.3]
./src/H5HL.c		[1.3]
./src/H5MF.c		[1.3]
./src/H5O.c		[1.3]
./src/H5Odtype.c	[1.3]
./src/H5Oefl.c		[1.3]
./src/H5P.c		[1.3]
./src/H5Smpio.c		[1.3]
./src/H5T.c		[1.3]
./src/H5detect.c	[1.3]
./tools/h5debug.c	[1.3]
	Some of the H5F_addr_* functions were optimized away.

./src/H5D.c		[1.3]
	Fixed the return values from NULL to FAIL on one MPI-IO
	function.
1999-07-28 14:37:35 -05:00
Robb Matzke
e4834c43ce [svn-r1548] Changes since 19990727
----------------------

./src/H5.c		[1.3]
./src/H5AC.c		[1.3]
./src/H5ACprivate.h	[1.3]
./src/H5B.c		[1.3]
./src/H5Bprivate.h	[1.3]
./src/H5D.c		[1.3]
./src/H5F.c		[1.3]
./src/H5Farray.c	[1.3]
./src/H5Fcore.c		[1.3]
./src/H5Ffamily.c	[1.3]
./src/H5Fistore.c	[1.3]
./src/H5Flow.c		[1.3]
./src/H5Fmpio.c		[1.3]
./src/H5Fprivate.h	[1.3]
./src/H5Fsec2.c		[1.3]
./src/H5Fsplit.c	[1.3]
./src/H5Fstdio.c	[1.3]
./src/H5G.c		[1.3]
./src/H5Gent.c		[1.3]
./src/H5Gnode.c		[1.3]
./src/H5Gprivate.h	[1.3]
./src/H5Gstab.c		[1.3]
./src/H5HG.c		[1.3]
./src/H5HGprivate.h	[1.3]
./src/H5HL.c		[1.3]
./src/H5HLprivate.h	[1.3]
./src/H5MF.c		[1.3]
./src/H5MFprivate.h	[1.3]
./src/H5O.c		[1.3]
./src/H5Oattr.c		[1.3]
./src/H5Ocont.c		[1.3]
./src/H5Odtype.c	[1.3]
./src/H5Oefl.c		[1.3]
./src/H5Olayout.c	[1.3]
./src/H5Oprivate.h	[1.3]
./src/H5Oshared.c	[1.3]
./src/H5Ostab.c		[1.3]
./src/H5P.c		[1.3]
./src/H5R.c		[1.3]
./src/H5Smpio.c		[1.3]
./src/H5T.c		[1.3]
./src/H5Tvlen.c		[1.3]
./src/H5private.h	[1.3]
./test/dtypes.c		[1.3]
./test/gheap.c		[1.3]
./test/istore.c		[1.3]
./test/lheap.c		[1.3]
./test/ohdr.c		[1.3]
./tools/h5debug.c	[1.3]
	File addresses (the `haddr_t' type) are passed by value
	instead of by reference. The type is no longer a struct. This
	is one of the preliminary changes needed for the Virtual File
	Layer stuff.

./src/H5Fprivate.h	[1.3]
./src/H5Flow.c		[1.3]
	Some address functions were rewritten as macros.
1999-07-28 13:25:43 -05:00
Albert Cheng
946083cb9b [svn-r1521] Forgot to change the arguments for the $diff command when I changed
them for $cmp the last time.  Updated it.  now it works for --srcdir
option too.
1999-07-20 17:09:49 -05:00
Albert Cheng
072143ba88 [svn-r1519] Updated the expected output according to the changes Patrick just
made.
1999-07-20 16:43:16 -05:00
Robb Matzke
6470e417e8 [svn-r1515] Changes since 19990715
----------------------

./Makefile.in		[1.3]
./examples/Makefile.in	[1.3]
./pablo/Makefile.in	[1.3]
./src/Makefile.in	[1.3]
./test/Makefile.in	[1.3]
./testpar/Makefile.in	[1.3]
./tools/Makefile.in	[1.3]
./config/commence.in	[1.3]
./config/conclude.in	[1.3]
./config/depend.in	[1.3]
	Added a `.PATH' target for Irix pmake which is identical to
	the VPATH used by most other `make' programs. Irix 6.5 (or
	6.4?) and later `make' ignores VPATH.

	Started all beginning-of-line comments with `##' instead of
	just `#' because Irix `pmake' barfs on things like the
	following because it sees the `# if' as a directive:

		# make will barf on the following line
		# if running Irix pmake


./config/commence.in	[1.3]
	Added empty definitions for optional `make' macros because
	Irix pmake complains if it sees a macro which has never been
	defined. The main body of the Makefiles can redefine these
	macros to whatever they need.
1999-07-19 14:56:57 -05:00
Patrick Lu
1285b17e96 [svn-r1513] moved the string after the array 1999-07-19 13:05:41 -05:00