fs_path.c
42.3 KB
-
fs_path: exit quickly in `dirname_r` failure · 9f0088c4
When we encounter a situation where we need to exit, simply `return -1` instead of trying to set `len = -1` and then jumping to the exit handler, which would erroneously do work based on the `len` value.
Edward Thomson committed