[Bug 1050744] Review Request: belle-sip - Linphone SIP stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1050744



--- Comment #48 from Orion Poplawski <orion@xxxxxxxxxxxxx> ---
Comment on attachment 1183912
  --> https://bugzilla.redhat.com/attachment.cgi?id=1183912
Replace readdir_r with readdir

>From man 3 readdir:

On success, readdir() returns a pointer to a dirent structure.  (This structure
may be statically  allocated;  do  not  attempt  to free(3) it.)  If the end of
the directory stream is reached, NULL is returned and errno is not changed.  
If  an  error  occurs, NULL is returned and errno is set appropriately.


So I think you want to check errno for errors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]