More standardizing of the copyright stanza.

This commit is contained in:
Ward Fisher 2018-12-06 14:13:56 -07:00
parent e5640d9565
commit 5be0126920
46 changed files with 109 additions and 64 deletions

View File

@ -1,3 +1,10 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.
# See netcdf-c/COPYRIGHT file for more info.
# Copy some test files from current source dir to out-of-tree build dir.
FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.sh ${CMAKE_CURRENT_SOURCE_DIR}/*.hdf4)
FILE(COPY ${COPY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
@ -14,4 +21,3 @@ IF(USE_HDF4_FILE_TESTS AND NOT MSVC)
add_sh_test(hdf4_test run_get_hdf4_files)
add_sh_test(hdf4_test run_formatx_hdf4)
ENDIF()

View File

@ -1,6 +1,9 @@
# This is part of the netCDF package.
# Copyright 2018 University Corporation for Atmospheric Research/Unidata
# See COPYRIGHT file for conditions of use.
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.
# See netcdf-c/COPYRIGHT file for more info.
#
# This directory has tests for the HDF4 code. This directory will be
# skipped if HDF4 is not enabled.
@ -19,7 +22,7 @@ TESTS = tst_chunk_hdf4 tst_h4_lendian tst_hdf4_extra
# This test script depends on ncdump and tst_interops2.c.
if BUILD_UTILITIES
check_PROGRAMS += tst_interops2
check_PROGRAMS += tst_interops2
TESTS += run_formatx_hdf4.sh
endif # BUILD_UTILITIES

View File

@ -1,5 +1,11 @@
/*! Testing for proper read of little-endian variables in an hdf4 file.
*
* Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
* 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
* 2015, 2016, 2017, 2018
* University Corporation for Atmospheric Research/Unidata.
*
* See \ref copyright file for more info.
* Added to debug issue NCF-332. Based on code submitted by
* https://github.com/Unidata/netcdf-c/issues/113.
*/
@ -27,7 +33,7 @@ int read_hdf_file(int dtype)
if (nc_inq_varid(ncid,SDSNAME,&le_int16_varid)) ERR;
if (nc_inq_var_endian(ncid,le_int16_varid,&ed)) ERR;
if (nc_close(ncid)) ERR;
if (ed != NC_ENDIAN_LITTLE)
return -1;

View File

@ -1,3 +1,9 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.
# See netcdf-c/COPYRIGHT file for more info.
#####
# Installation of various netCDF headers.
#####

View File

@ -1,5 +1,5 @@
## This is a automake file, part of Unidata's netCDF package.
# Copyright 2010, see the COPYRIGHT file for more information.
# Copyright 2018, see the COPYRIGHT file for more information.
# This automake file generates the Makefile to build the include
# directory.

View File

@ -1,6 +1,6 @@
/*! \file
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
Copyright 2018, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.

View File

@ -1,5 +1,5 @@
/* This is part of the netCDF package.
Copyright 2005 University Corporation for Atmospheric Research/Unidata
Copyright 2018 University Corporation for Atmospheric Research/Unidata
See COPYRIGHT file for conditions of use.
Common includes, defines, etc., for test code in the libsrc4 and

View File

@ -1,5 +1,5 @@
/*
* Copyright 1995, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See top level COPYRIGHT file for copying and redistribution conditions.
*/
/* $Id: fbits.h,v 1.2 1995/05/26 20:46:46 davis Exp $ */

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file This header file contains macros, types, and prototypes for

View File

@ -1,5 +1,5 @@
/*
* Copyright 1996, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
#ifndef _NC_H_

View File

@ -1,5 +1,5 @@
/*
* Copyright 1993-1996 University Corporation for Atmospheric Research/Unidata
* Copyright 2018-1996 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1996, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
#ifndef _NC3INTERNAL_

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file

View File

@ -1,3 +1,14 @@
/*! \file
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.
See \ref copyright file for more info.
*/
#ifndef HASHMAP_H_INCLUDED
#define HASHMAP_H_INCLUDED
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
/* Copyright 2010, University Corporation for Atmospheric Research. See
/* Copyright 2018, University Corporation for Atmospheric Research. See
COPYRIGHT file for copying and redistribution conditions. */
/**
* @file @internal This file is part of netcdf-4, a netCDF-like

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
/**

View File

@ -1,4 +1,4 @@
/* This is part of the netCDF package. Copyright 2005 University
/* This is part of the netCDF package. Copyright 2018 University
* Corporation for Atmospheric Research/Unidata. See \ref copyright
* file for conditions of use. */
/** @internal @file

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 1998-2017 University Corporation for Atmospheric Research/Unidata
See LICENSE.txt for license information.
Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata
See COPYRIGHT for license information.
*/
/*

View File

@ -1,4 +1,4 @@
/* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc.
/* Copyright 2018, UCAR/Unidata and OPeNDAP, Inc.
See the COPYRIGHT file for more information. */
#ifndef NCBYTES_H

View File

@ -1,5 +1,5 @@
/*
* Copyright 2010 University Corporation for Atmospheric
* Copyright 2018 University Corporation for Atmospheric
* Research/Unidata. See COPYRIGHT file for more info.
*
* This header file is for the parallel I/O functions of netCDF.

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 1993, UCAR/Unidata
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*********************************************************************/

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file

View File

@ -1,4 +1,4 @@
/* Copyright 2005-2018 University Corporation for Atmospheric
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 2010, UCAR/Unidata
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Header$
*********************************************************************/

View File

@ -1,4 +1,4 @@
/* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc.
/* Copyright 2018, UCAR/Unidata and OPeNDAP, Inc.
See the COPYRIGHT file for more information. */
#ifndef NCFILTER_H

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 1993, UCAR/Unidata
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Header$
*********************************************************************/

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 1998-2017 University Corporation for Atmospheric Research/Unidata
See LICENSE.txt for license information.
Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata
See COPYRIGHT for license information.
*/
#ifndef NCINDEX_H
@ -100,7 +100,7 @@ static int ncindexsize(NCindex* index)
{
int i;
if(index == NULL) return 0;
i = nclistlength(index->list);
i = nclistlength(index->list);
return i;
}
#else

View File

@ -1,4 +1,4 @@
/* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc.
/* Copyright 2018, UCAR/Unidata and OPeNDAP, Inc.
See the COPYRIGHT file for more information. */
#ifndef NCLIST_H
#define NCLIST_H 1

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 2010, UCAR/Unidata
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Header$
*********************************************************************/

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 2009, UCAR/Unidata
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*********************************************************************/

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 1998-2017 University Corporation for Atmospheric Research/Unidata
See LICENSE.txt for license information.
Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata
See COPYRIGHT for license information.
*/
/*

View File

@ -1,3 +1,14 @@
/*! \file
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.
See \ref copyright file for more info.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
@ -26,7 +37,7 @@ parseServers(const char* remotetestservers)
char* p;
char* svc;
char** l;
list = (char**)malloc(sizeof(char*) * (int)(strlen(remotetestservers)/2));
if(list == NULL) return NULL;
rts = strdup(remotetestservers);
@ -71,7 +82,7 @@ nc_findtestserver(const char* path, int isdap4, const char* serverlist)
return NULL;
}
for(svc=svclist;*svc;svc++) {
if(strlen(*svc) == 0)
if(strlen(*svc) == 0)
goto done;
if(path == NULL) path = "";
if(strlen(path) > 0 && path[0] == '/')
@ -87,7 +98,7 @@ nc_findtestserver(const char* path, int isdap4, const char* serverlist)
}
done:
/* Free up the envv list of servers */
if(svclist != NULL) {
if(svclist != NULL) {
char** p;
for(p=svclist;*p;p++)
free(*p);

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 2008, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Id: nctime.h,v 1.6 2010/03/18 19:24:26 russ Exp $
*********************************************************************/

View File

@ -1,5 +1,5 @@
/*
* Copyright 1996, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright 2017, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright 1996, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
#ifndef _NCWINIO_H_

View File

@ -2,7 +2,7 @@
Main header file for the C API.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
Copyright 2018, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright 2010, UCAR/Unidata
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Id$
* $Header$

View File

@ -1,6 +1,6 @@
/*
* Copyright 1993-2011 University Corporation for Atmospheric Research/Unidata
*
* Copyright 2018-2018 University Corporation for Atmospheric Research/Unidata
*
* This header contains prototypes for functions only called by fortran 77.
*/
#ifndef _NETCDF_F_
@ -19,11 +19,11 @@ EXTERNL int
nc_def_var_chunking_ints(int ncid, int varid, int contiguous, int *chunksizesp);
EXTERNL int
nc_open_par_fortran(const char *path, int mode, int comm,
nc_open_par_fortran(const char *path, int mode, int comm,
int info, int *ncidp);
EXTERNL int
nc_create_par_fortran(const char *path, int cmode, int comm,
nc_create_par_fortran(const char *path, int cmode, int comm,
int info, int *ncidp);
EXTERNL int
@ -33,27 +33,27 @@ EXTERNL int
nc_get_chunk_cache_ints(int *sizep, int *nelemsp, int *preemptionp);
EXTERNL int
nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems,
nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems,
int preemption);
EXTERNL int
nc_get_var_chunk_cache_ints(int ncid, int varid, int *sizep,
nc_get_var_chunk_cache_ints(int ncid, int varid, int *sizep,
int *nelemsp, int *preemptionp);
/* Prototypes for some extra functions in fort-lib.c. */
EXTERNL int
EXTERNL int
nc_inq_varids_f(int ncid, int *nvars, int *fvarids);
EXTERNL int
EXTERNL int
nc_inq_dimids_f(int ncid, int *ndims, int *fdimids, int parent);
EXTERNL int
nc_insert_array_compound_f(int ncid, int typeid1, char *name,
EXTERNL int
nc_insert_array_compound_f(int ncid, int typeid1, char *name,
size_t offset, nc_type field_typeid,
int ndims, int *dim_sizesp);
EXTERNL int
nc_inq_compound_field_f(int ncid, nc_type xtype, int fieldid, char *name,
size_t *offsetp, nc_type *field_typeidp, int *ndimsp,
EXTERNL int
nc_inq_compound_field_f(int ncid, nc_type xtype, int fieldid, char *name,
size_t *offsetp, nc_type *field_typeidp, int *ndimsp,
int *dim_sizesp);
#if defined(__cplusplus)

View File

@ -2,7 +2,7 @@
*
* Main header file for in-memory (diskless) functionality.
*
* Copyright 2010 University Corporation for Atmospheric
* Copyright 2018 University Corporation for Atmospheric
* Research/Unidata. See COPYRIGHT file for more info.
*
* See \ref copyright file for more info.

View File

@ -13,8 +13,10 @@
* in conditionals.
*
* Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
* 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
* 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
* 2015, 2016, 2017, 2018
* University Corporation for Atmospheric Research/Unidata.
*
* See \ref copyright file for more info.
*/

View File

@ -2,7 +2,7 @@
*
* Main header file for the Parallel C API.
*
* Copyright 2010 University Corporation for Atmospheric
* Copyright 2018 University Corporation for Atmospheric
* Research/Unidata. See COPYRIGHT file for more info.
*
* This header file is for the parallel I/O functions of netCDF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 1997, University Corporation for Atmospheric Research
* Copyright 2018, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
/* $Id: onstack.h,v 2.7 2006/09/15 20:40:39 ed Exp $ */

View File

@ -1,4 +1,4 @@
/* Copyright 1996-2018, University Corporation for Atmospheric
/* Copyright 2018-2018, University Corporation for Atmospheric
* Research See netcdf/COPYRIGHT file for copying and redistribution
* conditions.
*