diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-07-24 17:33:20 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-07-24 17:33:20 +0200 |
commit | 3e80cefb16cab409c00d5b61be0f7a3befc688e3 (patch) | |
tree | d966684abb04e50270c240d9094826b5e13af8d9 /newlib/libc/stdlib/imaxdiv.c | |
parent | 42f1be581cdc10438b797c3a5941035a97f01cc4 (diff) | |
download | cygnal-3e80cefb16cab409c00d5b61be0f7a3befc688e3.tar.gz cygnal-3e80cefb16cab409c00d5b61be0f7a3befc688e3.tar.bz2 cygnal-3e80cefb16cab409c00d5b61be0f7a3befc688e3.zip |
cygwin: unify reparse point checking code into single function
So far we had two functions checking the content of a reparse point,
readdir_check_reparse_point in fhandler_disk_file.cc for the sake of
readdir, and symlink_info::check_reparse_point for the sake of
generic path checking.
* Rename check_reparse_point_target helper to check_reparse_point_string
and convert to static function.
* Create new check_reparse_point_target helper containing the core
reparse point checking code
* Just call check_reparse_point_target from readdir_check_reparse_point
and symlink_info::check_reparse_point and only perform the unique
task in those functions.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/imaxdiv.c')
0 files changed, 0 insertions, 0 deletions