]> diplodocus.org Git - nmh/commit
Changed loop in dumpwidth() to go from [0, 0xffff) because
authorDavid Levine <levinedl@acm.org>
Fri, 15 Mar 2013 01:37:49 +0000 (20:37 -0500)
committerDavid Levine <levinedl@acm.org>
Fri, 15 Mar 2013 01:37:49 +0000 (20:37 -0500)
commitfbbc1d8078ecaf1cbfbade84cf54913ad4409220
tree6304ac79fe42dcfe268257fe02d6749ef511a4e5
parentaee19c1b38bbbaeb4a0354590900b72d25e7b2d8
Changed loop in dumpwidth() to go from [0, 0xffff) because
wchar_t is 2 bytes wide on Cygwin.  gcc noticed that the loop
would never terminate because 0xffff would increment to 0.
test/getcwidth.c