X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Freparse.c;h=2838f01bd9789b388f814a20fc26db0920ec1dc0;hb=9811a0b1088004bf2b8631d22cc8a2626b15c3b4;hp=f96fd49b7af592b63b3d6dd8f0b020a722489a3d;hpb=d1dd8bba3c12104e730ea1b2989ecbd6156658c5;p=wimlib diff --git a/src/reparse.c b/src/reparse.c index f96fd49b..2838f01b 100644 --- a/src/reparse.c +++ b/src/reparse.c @@ -16,7 +16,7 @@ * details. * * You should have received a copy of the GNU Lesser General Public License - * along with this file; if not, see http://www.gnu.org/licenses/. + * along with this file; if not, see https://www.gnu.org/licenses/. */ #ifdef HAVE_CONFIG_H @@ -156,7 +156,7 @@ make_link_reparse_point(const struct link_reparse_point *link, } /* UNIX symlink <=> Windows reparse point translation */ -#ifndef __WIN32__ +#ifndef _WIN32 /* Retrieve the inode's reparse point buffer into @rpbuf and @rpbuflen_ret. * This gets the reparse data from @blob if specified, otherwise from the @@ -252,7 +252,7 @@ wim_inode_readlink(const struct wim_inode *inode, char *buf, size_t bufsize, if (parse_link_reparse_point(&rpbuf, rpbuflen, &link)) return -EINVAL; - /* Translate the substitute name to the current multibyte encoding. */ + /* Translate the substitute name to a multibyte string. */ if (utf16le_to_tstr(link.substitute_name, link.substitute_name_nbytes, &target_buffer, &target_len)) return -errno; @@ -442,4 +442,4 @@ out_free_target: return ret; } -#endif /* !__WIN32__ */ +#endif /* !_WIN32 */