Bug 149014

Summary: [zfs] [patch] declarations in ZFS libraries/utilities collide with glibc namespace
Product: Base System Reporter: Tuco <tuco.xyz>
Component: kernAssignee: freebsd-fs (Nobody) <fs>
Status: Closed Not Accepted    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149015
Attachments:
Description Flags
file.diff none

Description Tuco 2010-07-28 00:30:01 UTC
Hello

A few declarations in ZFS libraries/utilities collide with Glibc namespace,
making it impossible to compile on GNU environment.

Here is a patch that either renames them or avoids the conflict with
preprocessor checks.

Fix: Patch attached with submission follows:
Comment 1 Tuco 2010-07-28 00:39:33 UTC
Ops, I typed the wrong subject. This PR is about namespace collisions
with Glibc (see description).

Sorry!
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-07-28 03:15:10 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 3 Pedro F. Giffuni freebsd_committer freebsd_triage 2014-08-23 15:53:03 UTC
As in PR/149015, I think this should be taken to the OpenZFS/Illumos maintainers first to avoid having us to carry too many changes.

This should also be useful for the Linux port and are probably cleaner than what they have (I haven't really looked though).
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:49:35 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Comment 5 Andriy Gapon freebsd_committer freebsd_triage 2018-05-29 10:00:35 UTC
No one has shown interest.