Open lygstate opened 2 years ago
jerry_char_t * jerry_port_path_normalize (const jerry_char_t *path_p, /**< input path */ jerry_size_t path_size) /**< size of the path */ { (void) path_size; return (jerry_char_t *) realpath ((char *) path_p, NULL); } /* jerry_port_path_normalize */
Currently the implementation of jerry_port_path_normalize are called realpath directly, than may return NULL when path_p is not NULL, but that's not expected.
Currently the implementation of jerry_port_path_normalize are called realpath directly, than may return NULL when path_p is not NULL, but that's not expected.