public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/13792] New: Which license applies to the code examples in the manual?
@ 2012-03-01 11:17 d-mob06 at gmx dot de
  2012-03-02 23:53 ` [Bug manual/13792] " roland at gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: d-mob06 at gmx dot de @ 2012-03-01 11:17 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13792

             Bug #: 13792
           Summary: Which license applies to the code examples in the
                    manual?
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
        AssignedTo: unassigned@sourceware.org
        ReportedBy: d-mob06@gmx.de
                CC: roland@gnu.org
    Classification: Unclassified


What is the license for the code examples listed in the manual?

I want to use the rather simple example of subtracting a struct timeval in my
project. You can find it here:
www.gnu.org/software/libc/manual/html_node/Elapsed-Time.html

What license does apply? The manual itself is under the GNU Free Documentation
License. What's the deal with the code examples? The closest in the GNU FDL is
the following paragraph at the end:

"If your document contains nontrivial examples of program code, we recommend
releasing these examples in parallel under your choice of free software
license, such as the GNU General Public License, to permit their use in free
software."

A clarification would be very much appreciated.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/13792] Which license applies to the code examples in the manual?
  2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
@ 2012-03-02 23:53 ` roland at gnu dot org
  2012-03-03  0:54 ` roland at gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: roland at gnu dot org @ 2012-03-02 23:53 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13792

--- Comment #1 from Roland McGrath <roland at gnu dot org> 2012-03-02 23:52:19 UTC ---
This came up a few years ago, but I don't think we ever did anything about it.
The whole manual is under the GFDL and thus so are the code samples inside it.

The sizable examples are maintained as plain C source files in the source tree.
 So we could easily release those separately under the GPL.

The timeval_subtract function you asked about was not in such a file, but I've
just moved it into one.

We can look into making a separate package of these source files, where they
would be under the GPL.

Note, however, that the functionality you are looking for is also implemented
by the timersub macro in <sys/time.h> (where it is under the LGPL as usual).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/13792] Which license applies to the code examples in the manual?
  2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
  2012-03-02 23:53 ` [Bug manual/13792] " roland at gnu dot org
@ 2012-03-03  0:54 ` roland at gnu dot org
  2012-03-03  1:39 ` jsm28 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: roland at gnu dot org @ 2012-03-03  0:54 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13792

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Roland McGrath <roland at gnu dot org> 2012-03-03 00:53:43 UTC ---
The examples are now individually licensed under the GPL (v2 or later).
You can get them directly from source control using git or a web browser.
I don't think we'll make a separate package of them unless there's real demand.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/13792] Which license applies to the code examples in the manual?
  2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
  2012-03-02 23:53 ` [Bug manual/13792] " roland at gnu dot org
  2012-03-03  0:54 ` roland at gnu dot org
@ 2012-03-03  1:39 ` jsm28 at gcc dot gnu.org
  2012-03-07  9:23 ` david.martin.mailbox at googlemail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-03-03  1:39 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13792

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zak at greant dot com

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-03-03 01:38:23 UTC ---
*** Bug 3178 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/13792] Which license applies to the code examples in the manual?
  2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
                   ` (2 preceding siblings ...)
  2012-03-03  1:39 ` jsm28 at gcc dot gnu.org
@ 2012-03-07  9:23 ` david.martin.mailbox at googlemail dot com
  2012-03-07  9:26 ` david.martin.mailbox at googlemail dot com
  2014-06-26 14:03 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: david.martin.mailbox at googlemail dot com @ 2012-03-07  9:23 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13792

David Martin <david.martin.mailbox at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |
     Ever Confirmed|1                           |0

--- Comment #4 from David Martin <david.martin.mailbox at googlemail dot com> 2012-03-07 09:23:02 UTC ---
That was quick, I'm impressed. :) At least for me there's no need for a
separate package, the source files on their own under the GPL are perfectly
fine.
Did not know about the timersub macro though. Thanks for the hint!

Cheers,
David

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/13792] Which license applies to the code examples in the manual?
  2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
                   ` (3 preceding siblings ...)
  2012-03-07  9:23 ` david.martin.mailbox at googlemail dot com
@ 2012-03-07  9:26 ` david.martin.mailbox at googlemail dot com
  2014-06-26 14:03 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: david.martin.mailbox at googlemail dot com @ 2012-03-07  9:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13792

David Martin <david.martin.mailbox at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from David Martin <david.martin.mailbox at googlemail dot com> 2012-03-07 09:26:04 UTC ---
Accidentally had the bug status as UNCONFIRMED under the comment box. Fixed
again.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/13792] Which license applies to the code examples in the manual?
  2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
                   ` (4 preceding siblings ...)
  2012-03-07  9:26 ` david.martin.mailbox at googlemail dot com
@ 2014-06-26 14:03 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-26 14:03 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13792

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-26 14:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-01 11:17 [Bug manual/13792] New: Which license applies to the code examples in the manual? d-mob06 at gmx dot de
2012-03-02 23:53 ` [Bug manual/13792] " roland at gnu dot org
2012-03-03  0:54 ` roland at gnu dot org
2012-03-03  1:39 ` jsm28 at gcc dot gnu.org
2012-03-07  9:23 ` david.martin.mailbox at googlemail dot com
2012-03-07  9:26 ` david.martin.mailbox at googlemail dot com
2014-06-26 14:03 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).