]> git.eshelyaron.com Git - emacs.git/commit
Avoid compilation warnings in w32.c
authorEli Zaretskii <eliz@gnu.org>
Mon, 29 Apr 2019 15:18:51 +0000 (18:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Apr 2019 15:18:51 +0000 (18:18 +0300)
commit3c513f3f62b1b4b425cdbabcbb8cc72c49478e6a
tree108d536a8bf637323075da250c343003ebbf2bd5
parent74712470fcb95cd4ef6ef5c61eee73cb8e02a8bd
Avoid compilation warnings in w32.c

* src/w32.c (unsetenv, readlink): Use memcpy instead of
strncpy, to avoid a compiler warning about calculating the
bound of the copy.
src/w32.c