[Gluster-devel] glfs_init() not setting errno when volfile server is invalid

Bharata B Rao bharata.rao at gmail.com
Fri Aug 3 08:17:27 UTC 2012


On Fri, Aug 3, 2012 at 1:58 AM, Anand Avati <anand.avati at gmail.com> wrote:
> review.gluster.com/3771 should fix this.

No. Can you test with the sample program and check if it works for you ?

(gdb)
57		ret = glfs_init(fs);
(gdb)
[New Thread 0x7ffff5206700 (LWP 9796)]
[New Thread 0x7ffff3fb9700 (LWP 9797)]
58		if (ret < 0) {
(gdb) p ret
$1 = -1
(gdb) p errno
$2 = 0




More information about the Gluster-devel mailing list