#define DB_ADDSTR ( add   ) 

Value:

{                                               \
        if ((add) != NULL) {                                            \
                /* If leading slash, start over. */                     \
                if (CDB___os_abspath(add)) {                            \
                        p = str;                                        \
                        slash = 0;                                      \
                }                                                       \
                /* Append to the current string. */                     \
                len = strlen(add);                                      \
                if (slash)                                              \
                        *p++ = PATH_SEPARATOR[0];                       \
                memcpy(p, add, len);                                    \
                p += len;                                               \
                slash = strchr(PATH_SEPARATOR, p[-1]) == NULL;          \
        }                                                               \
}

Definition at line 460 of file env_open.c.

Referenced by CDB___db_appname().


Generated on Sun Jun 8 10:56:50 2008 for GNUmifluz by  doxygen 1.5.5