diff options
author | Ron Yorston <rmy@pobox.com> | 2022-05-19 12:47:41 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-05-19 15:43:23 +0100 |
commit | 055902330c448a5bbd59d12231bcb0aa00e50970 (patch) | |
tree | dca58bc94c2af44e402d3163b2bc0239b21c1884 /include | |
parent | 6ba1bb6d0245ecfca39224a44e2b3af3b2fef3d3 (diff) | |
download | busybox-w32-055902330c448a5bbd59d12231bcb0aa00e50970.tar.gz busybox-w32-055902330c448a5bbd59d12231bcb0aa00e50970.tar.bz2 busybox-w32-055902330c448a5bbd59d12231bcb0aa00e50970.zip |
win32: return reparse tag in struct stat
If a file is a junction or symlink return its tag in the st_tag
member of struct stat.
get_symlink_data() and is_symlink() also return the tag or zero,
as appropriate.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index b91fbb531..bfd6128e1 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -343,6 +343,7 @@ struct mingw_stat { | |||
343 | blksize_t st_blksize; | 343 | blksize_t st_blksize; |
344 | blkcnt_t st_blocks; | 344 | blkcnt_t st_blocks; |
345 | DWORD st_attr; | 345 | DWORD st_attr; |
346 | DWORD st_tag; | ||
346 | }; | 347 | }; |
347 | #define st_atime st_atim.tv_sec | 348 | #define st_atime st_atim.tv_sec |
348 | #define st_mtime st_mtim.tv_sec | 349 | #define st_mtime st_mtim.tv_sec |