Skip to content

Commit 3ee6027

Browse files
authored
Upgrade external CGNS library to 4.4 release.
1 parent 843606a commit 3ee6027

13 files changed

Lines changed: 5143 additions & 932 deletions

File tree

externals/cgns/adf/ADF_interface.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ else { /** this node is NOT a link **/
12091209
CHECK_ADF_ABORT( *error_return ) ;
12101210

12111211
for( i=0; i<num_ids; i++ ) {
1212-
ADF_Delete( ID, ids[i], error_return ) ; /* resursion */
1212+
ADF_Delete( ID, ids[i], error_return ) ; /* recursion */
12131213
CHECK_ADF_ABORT( *error_return ) ;
12141214
} /* end for */
12151215

@@ -1596,7 +1596,7 @@ if ( lenfilename == 0 ) /** no filename **/
15961596
{
15971597
strcpy( name_in_file, &link_data[1] );
15981598
}
1599-
else if ( lenfilename > 0 && lenfilename == strlen( link_data ) )
1599+
else if ( lenfilename == strlen( link_data ) )
16001600
{
16011601
strcpy( file, link_data) ; /** no link ? **/
16021602
}
@@ -1688,7 +1688,7 @@ if ( lenfilename == 0 ) /** no filename **/
16881688
{
16891689
*len_name = (int)strlen(link_data) - 1;
16901690
}
1691-
else if ( lenfilename > 0 && lenfilename == strlen( link_data ) )
1691+
else if ( lenfilename == strlen( link_data ) )
16921692
{
16931693
*len_file = (int)lenfilename;
16941694
}

externals/cgns/adf/ADF_internals.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bytes start end description range / format
155155
156156
157157
Variable: min 32 Data-chunks
158-
(Minimum is 32 bytes, which cooresponds to the size required for a free-chunk)
158+
(Minimum is 32 bytes, which corresponds to the size required for a free-chunk)
159159
bytes start end description range / format
160160
4 0 3 "DaTa" boundary tag Tag
161161
12 4 15 Pointer to End-of-Data-Tag
@@ -7187,7 +7187,7 @@ NULL_STRING_POINTER
71877187
ADF_FILE_NOT_OPENED
71887188
PRISTK_NOT_FOUND
71897189
Note: errors are only important for GET mode since you must then go ahead
7190-
and read the data fom the file. The stack is only meant to speed things
7190+
and read the data from the file. The stack is only meant to speed things
71917191
up, not stop the process !!!
71927192
***********************************************************************/
71937193
int ADFI_stack_control( const unsigned int file_index,

0 commit comments

Comments
 (0)