Skip to content

Commit

Permalink
Merge pull request #240 from Gottox/fix/resolve-all-export
Browse files Browse the repository at this point in the history
Fix/resolve all export
  • Loading branch information
Gottox committed May 29, 2024
2 parents f396654 + e2e577f commit 5c14264
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .Mk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ configure:
#- -Dfuzzer_timeout=10
default:
- test
env:
# gdwarf-4 is required to make abi-dumper work
CFLAGS: -gdwarf-4 -O0 -Og
12 changes: 12 additions & 0 deletions include/sqsh_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,18 @@ enum SqshFileType sqsh_file_type(const struct SqshFile *context);
*/
int sqsh_file_symlink_resolve(struct SqshFile *context);

/**
* @memberof SqshFile
* @brief resolves all symlink target targets until a file is hit. This function
* is similar to sqsh_file_symlink_resolve() but resolves symlinks recursively
* until a file is hit.
*
* @param[in] context The file context.
*
* @return int 0 on success, less than 0 on error.
*/
int sqsh_file_symlink_resolve_all(struct SqshFile *context);

/**
* @memberof SqshFile
* @brief returns the target of a symbolic link. Be aware that the returned
Expand Down

0 comments on commit 5c14264

Please sign in to comment.