svn commit: r235647 - in head: include lib/libc/gen
usr.sbin/cpucontrol usr.sbin/lpr/common_source usr.sbin/newsyslog
Konstantin Belousov
kostikbel at gmail.com
Sat May 19 13:38:15 UTC 2012
On Sat, May 19, 2012 at 12:44:28PM +0000, Gleb Kurtsou wrote:
> Author: gleb
> Date: Sat May 19 12:44:27 2012
> New Revision: 235647
> URL: http://svn.freebsd.org/changeset/base/235647
>
> Log:
> Hide DIR definition by making it an opaque struct typedef.
>
> Introduce dirfd() libc exported symbol replacing macro with same name,
> preserve _dirfd() macro for internal use.
>
> Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable
> name to prevent shadowing global symbol.
>
> Sponsored by: Google Summer Of Code 2011
>
> Added:
> head/lib/libc/gen/dirfd.c (contents, props changed)
> head/lib/libc/gen/gen-private.h (contents, props changed)
I could agree with attribution of the gen-private.h content to 'regents
of the university' in the copyright, but I very much doubt that this
is right thing to do for dirfd.c.
I think you should put your name, instead of university, as the copyright
owner.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120519/0ff441cd/attachment.pgp
More information about the svn-src-head
mailing list