New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 774 for trunk/AGRIF/LIB/WorkWithAllocatelist.c – NEMO

Ignore:
Timestamp:
2007-12-18T17:45:53+01:00 (17 years ago)
Author:
rblod
Message:

Update Agrif, see ticket:#39

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AGRIF/LIB/WorkWithAllocatelist.c

    r663 r774  
    3131/* knowledge of the CeCILL-C license and that you accept its terms.           */ 
    3232/******************************************************************************/ 
    33 /* version 1.6                                                                */ 
     33/* version 1.7                                                                */ 
    3434/******************************************************************************/ 
    3535#include <stdio.h> 
     
    5757         newvar = (listallocate *)malloc(sizeof(listallocate)); 
    5858         strcpy(newvar->a_nomvar,nom); 
     59         Save_Length(nom,25); 
    5960         strcpy(newvar->a_subroutine,subroutinename); 
     61         Save_Length(subroutinename,26); 
    6062         strcpy(newvar->a_module,nommodule); 
     63         Save_Length(nommodule,27); 
    6164         newvar->suiv = NULL; 
    6265         List_Allocate_Var = newvar; 
     
    8487              newvar = (listallocate *)malloc(sizeof(listallocate)); 
    8588              strcpy(newvar->a_nomvar,nom); 
     89              Save_Length(nom,25); 
    8690              strcpy(newvar->a_subroutine,subroutinename); 
     91              Save_Length(subroutinename,26); 
    8792              strcpy(newvar->a_module,nommodule); 
     93              Save_Length(nommodule,27); 
    8894              newvar->suiv = NULL; 
    8995              parcours->suiv = newvar; 
Note: See TracChangeset for help on using the changeset viewer.