Home
last modified time | relevance | path

Searched refs:original_cwd (Results 1 – 1 of 1) sorted by relevance

/openbmc/libcper/
H A Djson-schema.c82 char *original_cwd = malloc(PATH_MAX); in validate_schema() local
83 if (getcwd(original_cwd, PATH_MAX) == NULL) { in validate_schema()
86 if (original_cwd) { in validate_schema()
87 free(original_cwd); in validate_schema()
94 if (original_cwd) { in validate_schema()
95 free(original_cwd); in validate_schema()
109 if (chdir(original_cwd)) { in validate_schema()
114 free(original_cwd); in validate_schema()