+ <para>When creating an instance of <see cref="T:System.Formats.Tar.GnuTarEntry" /> using this constructor, if <paramref name="other" /> is <see cref="F:System.Formats.Tar.TarEntryFormat.Gnu" /> or <see cref="F:System.Formats.Tar.TarEntryFormat.Pax" />, then the <see cref="P:System.Formats.Tar.GnuTarEntry.AccessTime" /> and <see cref="P:System.Formats.Tar.GnuTarEntry.ChangeTime" /> properties are set to the same values set in <paramref name="other" />. But if <paramref name="other" /> is of any other format, then <see cref="P:System.Formats.Tar.GnuTarEntry.AccessTime" /> and <see cref="P:System.Formats.Tar.GnuTarEntry.ChangeTime" /> are set to <see langword="default" />, which in the entry header <c>atime</c> and <c>ctime</c> fields is written as <see langword="null" /> bytes. This ensures compatibility with other tools that are unable to read the <c>atime</c> and <c>ctime</c> in <see cref="F:System.Formats.Tar.TarEntryFormat.Gnu" /> entries, as these two fields are not POSIX compatible because other formats expect the <c>prefix</c> field in the same header location where <see cref="F:System.Formats.Tar.TarEntryFormat.Gnu" /> writes <c>atime</c> and <c>ctime</c>.</para>
0 commit comments