]> sourceware.org Git - newlib-cygwin.git/commit
Fix comparison between two character arrays
authorJordi Sanfeliu <jordi@fibranet.cat>
Fri, 27 Jul 2018 09:02:55 +0000 (11:02 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 30 Jul 2018 07:36:49 +0000 (09:36 +0200)
commit613a7f90361533fd5310ee836635a1e0864dfa71
treef5924f59ca958d327dae6fca27901266d3754c5d
parent7e09931ad95a10d15b7a93b49faeadfe25f63464
Fix comparison between two character arrays

Hello,

The member 'id' in the 'utmp' struct is not a numeric but a character array,
hence the strncmp() function is needed to compare two members.
newlib/libc/unix/getut.c
This page took 0.027985 seconds and 5 git commands to generate.