[D-runtime] druntime license and copypasta bugs

Walter Bright walter at digitalmars.com
Thu Sep 1 16:38:39 PDT 2011


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)
  */
----------------------------------------------------------

Next, new files like src/core/sys/posix/sys/un.d have:

------------------------------------------------------------
/**
  * D header file for POSIX.
  *
  * Copyright: Copyright Sean Kelly 2005 - 2009.
  * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
  * Authors:   Sean Kelly
  * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 
Edition
  */

/*          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)
  */
-------------------------------------------------------------------

which is missing the source file link, and the copyright dates are obviously wrong.


More information about the D-runtime mailing list