Searched refs:TracePath (Results 1 – 1 of 1) sorted by relevance
89 #define TracePath _nc_globals.trace_fname macro98 if (TracePath[0] == '\0') { in trace()99 size_t size = sizeof(TracePath) - 12; in trace()100 if (getcwd(TracePath, size) == 0) { in trace()104 TracePath[size] = '\0'; in trace()105 assert(strlen(TracePath) <= size); in trace()106 _nc_STRCAT(TracePath, "/trace", sizeof(TracePath)); in trace()107 if (_nc_is_dir_path(TracePath)) { in trace()108 _nc_STRCAT(TracePath, ".log", sizeof(TracePath)); in trace()114 if (_nc_access(TracePath, W_OK) < 0 in trace()[all …]