[Bugs] [Bug 1289068] libgfapi: Errno incorrectly set to EINVAL even on success
bugzilla at redhat.com
bugzilla at redhat.com
Mon Dec 7 11:41:52 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1289068
--- Comment #1 from Prashanth Pai <ppai at redhat.com> ---
This should also reproduce the behavior:
ret = glfs_write (glfd, "qwertyuiopasdfghjklzxcvbnm", 26, 0);
printf("errno after first write(): %d\n", errno);
ret = glfs_write (glfd, "qwertyuiopasdfghjklzxcvbnm", 26, 0);
printf("errno after second write(): %d\n", errno);
# ./err
errno after first write(): 0
errno after second write(): 22
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list