"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/src/misc/m_env.c" between
xinetd-2.3.15.tar.gz and xinetd-2.3.15.4.tar.xz

About: xinetd is a secure replacement for inetd, the internet services daemon (openSUSE fork).

m_env.c  (xinetd-2.3.15):m_env.c  (xinetd-2.3.15.4.tar.xz)
skipping to change at line 221 skipping to change at line 221
char *p = strchr( var_string, '=' ) ; char *p = strchr( var_string, '=' ) ;
if ( p == NULL ) if ( p == NULL )
{ {
env_errno = ENV_EBADSTRING ; env_errno = ENV_EBADSTRING ;
return( ENV_ERR ) ; return( ENV_ERR ) ;
} }
return( addstring( env, var_string, (unsigned int)(p-var_string) ) ) ; return( addstring( env, var_string, (unsigned int)(p-var_string) ) ) ;
} }
#ifdef notdef
static int comparator( char **p1, char **p2 )
{
return( strcmp( *p1, *p2 ) ) ;
}
void env_sort( env_h env )
{
qsort( (char *)env->vars, env->n_vars, sizeof( char * ), comparator ) ;
}
#endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)