Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2006 09:53:35 +0500
From:      Elisey Savateev <b3k@mail.ru>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Best practice for displaying license?
Message-ID:  <200611070953.59866.b3k@mail.ru>
In-Reply-To: <453F15C0.70009@delphij.net>
References:  <453F15C0.70009@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1441938.a0TNfDeDSi
Content-Type: multipart/mixed;
  boundary="Boundary-01=_QFBUFiYltlFWO0l"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_QFBUFiYltlFWO0l
Content-Type: text/plain;
  charset="windows-1251"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> Hi, folks,
>
> I am thinking about whether we can use a better way to display license
> for a BSD licensed software.  Currently I have copy and pasted the
> copyright as a static string constant, but that means that we have to
> duplicate the text, like this:
>
> static const char license[] = " * Copyright (c) [year] [your name]\n
>  * All rights reserved.\n
>  *\n
>  * Redistribution and use in source and binary forms, with or without\n
>  * modification, are permitted provided that the following conditions\n
>  * are met:\n
> [...]
>  * SUCH DAMAGE.\n
> "
>
> Is there some better way not to include so much duplicated text?

	Look at my way to include usage text.

---
Elisey Savateev

--Boundary-01=_QFBUFiYltlFWO0l--

--nextPart1441938.a0TNfDeDSi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFUBFnraHIUFMyansRAiZkAKCmEI/S1PDzAJOmKHVS81TYhrV3qgCg55kq
Dq6qv6WBwqBQZtSuxpt/0VI=
=B+fr
-----END PGP SIGNATURE-----

--nextPart1441938.a0TNfDeDSi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611070953.59866.b3k>