[Rpm-maint] PATCH 3/2013 Improve BSD support in fts.c and review the 'struct stat64' usage

Kamil Rytarowski n54 at gmx.com
Sat Aug 17 16:15:45 UTC 2013


I'm attaching a patch improving BSD (Free, Net and Open) support with the following change-log:

Improve BSD support.
Tested with NetBSD 6.1, OpenBSD patch against sources available in public (5.3).
FreeBSD patch based on FreeBSD ports.

'struct stat64' isn't portable and it usage wasn't done properly, as it was mixed 'struct stat64' with 'struc stat' on stat64-compatible systems and broken on stat-only ones (most notably on NetBSD and OpenBSD).

Please review and apply.

fts.* are waiting for next patches.
After merging all BSD related ones into the whole codebase (to make it buildable), everything will be retested with the three most known BSD systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20130817/c6a02515/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Improve-BSD-support-in-fts.c-and-review-the-struct-s.patch
Type: application/octet-stream
Size: 2069 bytes
Desc: Attachment: 0002-Improve-BSD-support-in-fts.c-and-review-the-struct-s.patch
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20130817/c6a02515/attachment.obj>

More information about the Rpm-maint mailing list