mirror of https://git.tukaani.org/xz.git
Fix an error in OpenVMS-specific code.
Thanks to Jouk Jansen.
This commit is contained in:
parent
5e000ff00d
commit
b3d105e697
|
@ -83,7 +83,7 @@ io_unlink(const char *name, const struct stat *known_st)
|
||||||
# ifdef __VMS
|
# ifdef __VMS
|
||||||
// st_ino is an array, and we don't want to
|
// st_ino is an array, and we don't want to
|
||||||
// compare st_dev at all.
|
// compare st_dev at all.
|
||||||
|| memcmp(&new_st.st_ino, &known_st.st_ino,
|
|| memcmp(&new_st.st_ino, &known_st->st_ino,
|
||||||
sizeof(new_st.st_ino)) != 0
|
sizeof(new_st.st_ino)) != 0
|
||||||
# else
|
# else
|
||||||
// Typical POSIX-like system
|
// Typical POSIX-like system
|
||||||
|
|
Loading…
Reference in New Issue