cvs commit: src/sys/sys elf.h

Ruslan Ermilov ru at FreeBSD.ORG
Wed Oct 4 06:09:33 PDT 2006


Hi,

On Wed, Oct 04, 2006 at 07:23:31AM +0000, John Birrell wrote:
> jb          2006-10-04 07:23:31 UTC
> 
>   FreeBSD src repository
> 
>   Added files:
>     sys/sys              elf.h 
>   Log:
>   This file is the same as the one installed in /usr/include, however
>   there are enough places in the DTrace kernel/module sources that
>   having a header that gathers together all the individual elf headers
>   is convenient.
>   
>   Note that the Solaris compatibility definions are conditionally
>   included iff _SOLARIS_C_SOURCE is defined.
>   
>   Revision  Changes    Path
>   1.1       +45 -0     src/sys/sys/elf.h (new)

On Wed, Oct 04, 2006 at 07:25:55AM +0000, John Birrell wrote:
> jb          2006-10-04 07:25:55 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     include              elf.h 
>   Log:
>   Include the Solaris compatibility definions iff _SOLARIS_C_SOURCE is defined.
>   
>   Revision  Changes    Path
>   1.9       +4 -0      src/include/elf.h

There are now two identical files, this is bad.  A proper
solution IMO would be:

1) repo-copy src/include/elf.h to src/sys/sys/elf.h
2) remove src/include/elf.h
3) install a symlink from sys/elf.h to /usr/include/elf.h


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20061004/76d5479e/attachment.pgp


More information about the cvs-all mailing list