[D-runtime] druntime license and copypasta bugs
Jonathan M Davis
jmdavisProg at gmx.com
Thu Sep 1 16:46:03 PDT 2011
On Thursday, September 01, 2011 16:38 Walter Bright wrote:
> Currently, the template is:
>
> --------------------------------------------------
> /**
> * The runtime module exposes information specific to the D runtime code.
> *
> * Copyright: Copyright Sean Kelly 2005 - 2009.
> * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License
> 1.0) * Authors: Sean Kelly
> * Source: $(DRUNTIMESRC core/_runtime.d)
> */
>
> /* Copyright Sean Kelly 2005 - 2009.
> * Distributed under the Boost Software License, Version 1.0.
> * (See accompanying file LICENSE_1_0.txt or copy at
> * http://www.boost.org/LICENSE_1_0.txt)
> */
> ----------------------------------------------------
>
> This is pointlessly redundant. It should be:
>
> -------------------------------------------------------
>
> /**
> * The runtime module exposes information specific to the D runtime code.
> *
> * Copyright: Copyright Sean Kelly 2005 - 2011.
> * License: Distributed under the Boost Software License, Version 1.0.
> * (See accompanying file LICENSE_1_0.txt or copy at
> * $(LINK http://www.boost.org/LICENSE_1_0.txt))
> * Authors: Sean Kelly
> * Source: $(DRUNTIMESRC core/_runtime.d)
> */
> ----------------------------------------------------------
Actually, it doesn't even need to be that verbose.
/**
* The runtime module exposes information specific to the D runtime code.
*
* Copyright: Copyright 2005 - 2011
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/_runtime.d)
*/
That's how a lot of the Phobos modules do it.
- Jonathan M Davis
More information about the D-runtime
mailing list