pike.git / src / combine_path.h

version» Context lines:

pike.git/src/combine_path.h:1:   /* -  * $Id: combine_path.h,v 1.7 2001/06/11 11:49:47 grubba Exp $ +  * $Id: combine_path.h,v 1.8 2001/09/24 16:51:28 grubba Exp $    *    * Combine path template.    *    */      #undef IS_SEP   #undef IS_ABS   #undef IS_ROOT   #undef F_COMBINE_PATH   #undef APPEND_PATH
pike.git/src/combine_path.h:47:   #define APPEND_PATH append_path_nt   #define F_COMBINE_PATH f_combine_path_nt      #endif /* NT_COMBINE_PATH */      static void APPEND_PATH(struct string_builder *s,    PCHARP path,    size_t len)   {    size_t from=0; -  int tmp,c; +  int tmp;    int abs=0;       /* First, check if path is absolute,    * if so ignore anything already in 's'    */    abs=IS_ABS(MKPCHARP_STR(s->s));    if((tmp=IS_ABS(path)))    {    s->s->len=0;    s->known_shift=0;