Best practice for displaying license?
- From: LI Xin <delphij@xxxxxxxxxxx>
- Date: Wed, 25 Oct 2006 15:44:00 +0800
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?
Cheers,
--
Xin LI <delphij@xxxxxxxxxxx> http://www.delphij.net/
FreeBSD - The Power to Serve!
Attachment:
signature.asc
Description: OpenPGP digital signature
- Prev by Date: Re: Panic caused by bad memory?
- Next by Date: taskqueue_drain
- Previous by thread: Panic caused by bad memory?
- Next by thread: taskqueue_drain
- Index(es):