This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/13792] Which license applies to the code examples in the manual?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]