In addition to prev. commit. Since potentially glob2() can return error
authorache <ache@FreeBSD.org>
Sun, 31 Jul 2016 02:28:50 +0000 (02:28 +0000)
committerache <ache@FreeBSD.org>
Sun, 31 Jul 2016 02:28:50 +0000 (02:28 +0000)
commit9cf03b1d33a0934321675700fdc1cc3f589370c1
tree86a4618e97a4fc89894f26e9af5388adfea3af3a
parentfe5268d50bdeeb8d361acc389c3c5f7d43d68dfb
In addition to prev. commit. Since potentially glob2() can return error
without setting errno, restore errno before its call.
lib/libc/gen/glob.c