Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff vutilities.c @ 178:c1784868dcea
testing hgeol -- see if it fixes line-ending issues -- commit line endings
| author | Me@portablequad |
|---|---|
| date | Wed, 04 Jan 2012 16:10:11 -0800 |
| parents | 13b22ffb8a2f |
| children | 6db9e4898978 |
line diff
1.1 --- a/vutilities.c Thu Oct 06 16:24:17 2011 +0200 1.2 +++ b/vutilities.c Wed Jan 04 16:10:11 2012 -0800 1.3 @@ -1,25 +1,25 @@ 1.4 -/* 1.5 - * Copyright 2009 OpenSourceCodeStewardshipFoundation.org 1.6 - * Licensed under GNU General Public License version 2 1.7 - * 1.8 - * Author: seanhalle@yahoo.com 1.9 - * 1.10 - * Created on November 14, 2009, 9:07 PM 1.11 - */ 1.12 - 1.13 -#include <malloc.h> 1.14 -#include <stdlib.h> 1.15 - 1.16 -#include "VMS.h" 1.17 - 1.18 - 1.19 -inline char * 1.20 -VMS__strDup( char *str ) 1.21 - { char *retStr; 1.22 - 1.23 - retStr = VMS__malloc( strlen(str) + 1 ); 1.24 - if( str == NULL ) return str; 1.25 - strcpy( retStr, str ); 1.26 - 1.27 - return retStr; 1.28 - } 1.29 +/* 1.30 + * Copyright 2009 OpenSourceCodeStewardshipFoundation.org 1.31 + * Licensed under GNU General Public License version 2 1.32 + * 1.33 + * Author: seanhalle@yahoo.com 1.34 + * 1.35 + * Created on November 14, 2009, 9:07 PM 1.36 + */ 1.37 + 1.38 +#include <malloc.h> 1.39 +#include <stdlib.h> 1.40 + 1.41 +#include "VMS.h" 1.42 + 1.43 + 1.44 +inline char * 1.45 +VMS__strDup( char *str ) 1.46 + { char *retStr; 1.47 + 1.48 + retStr = VMS__malloc( strlen(str) + 1 ); 1.49 + if( str == NULL ) return str; 1.50 + strcpy( retStr, str ); 1.51 + 1.52 + return retStr; 1.53 + }
