Skip to content

Commit 8620c3e

Browse files
committed
Problem: source file headers are somewhat confusing about LGPLv3
Of course people still "can" distributed the sources under the LGPLv3. However we provide COPYING.LESSER with additional grants. Solution: specify these grants in the header of each source file.
1 parent d8077bb commit 8620c3e

File tree

275 files changed

+4960
-2222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+4960
-2222
lines changed

builds/mingw32/platform.hpp

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
/*
2-
Copyright (c) 2007-2011 iMatix Corporation
3-
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
2+
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
43
5-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
65
7-
0MQ is free software; you can redistribute it and/or modify it under
8-
the terms of the GNU Lesser General Public License as published by
9-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
109
(at your option) any later version.
1110
12-
0MQ is distributed in the hope that it will be useful,
13-
but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1625
1726
You should have received a copy of the GNU Lesser General Public License
1827
along with this program. If not, see <http://www.gnu.org/licenses/>.

builds/msvc/platform.hpp

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
/*
2-
Copyright (c) 2007-2011 iMatix Corporation
3-
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
2+
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
43
5-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
65
7-
0MQ is free software; you can redistribute it and/or modify it under
8-
the terms of the GNU Lesser General Public License as published by
9-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
109
(at your option) any later version.
1110
12-
0MQ is distributed in the hope that it will be useful,
13-
but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1625
1726
You should have received a copy of the GNU Lesser General Public License
1827
along with this program. If not, see <http://www.gnu.org/licenses/>.

builds/zos/test_fork.cpp

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
/*
2-
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file
2+
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
33
4-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
55
6-
0MQ is free software; you can redistribute it and/or modify it under
7-
the terms of the GNU Lesser General Public License as published by
8-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
99
(at your option) any later version.
1010
11-
0MQ is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1525
1626
You should have received a copy of the GNU Lesser General Public License
1727
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -30,7 +40,7 @@ int main (void)
3040
setup_test_environment ();
3141
void *ctx = zmq_ctx_new ();
3242
assert (ctx);
33-
43+
3444
// Create and bind pull socket to receive messages
3545
void *pull = zmq_socket (ctx, ZMQ_PULL);
3646
assert (pull);
@@ -54,11 +64,11 @@ int main (void)
5464
int count;
5565
for (count = 0; count < NUM_MESSAGES; count++)
5666
zmq_send (push, "Hello", 5, 0);
57-
67+
5868
zmq_close (push);
5969
zmq_ctx_destroy (child_ctx);
6070
exit (0);
61-
}
71+
}
6272
else {
6373
// Parent process
6474
alarm(TIMEOUT_SECS); // Set upper limit on runtime
@@ -72,7 +82,7 @@ int main (void)
7282
int child_status;
7383
while (true) {
7484
rc = waitpid (pid, &child_status, 0);
75-
if (rc == -1 && errno == EINTR)
85+
if (rc == -1 && errno == EINTR)
7686
continue;
7787
assert (rc > 0);
7888
// Verify the status code of the child was zero

include/zmq.h

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
/*
22
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
33
4-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
55
6-
0MQ is free software; you can redistribute it and/or modify it under
7-
the terms of the GNU Lesser General Public License as published by
8-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
99
(at your option) any later version.
1010
11-
0MQ is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1525
1626
You should have received a copy of the GNU Lesser General Public License
1727
along with this program. If not, see <http://www.gnu.org/licenses/>.

include/zmq_utils.h

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
/*
22
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
33
4-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
55
6-
0MQ is free software; you can redistribute it and/or modify it under
7-
the terms of the GNU Lesser General Public License as published by
8-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
99
(at your option) any later version.
1010
11-
0MQ is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1525
1626
You should have received a copy of the GNU Lesser General Public License
1727
along with this program. If not, see <http://www.gnu.org/licenses/>.

perf/inproc_lat.cpp

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
/*
22
Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
33
4-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
55
6-
0MQ is free software; you can redistribute it and/or modify it under
7-
the terms of the GNU Lesser General Public License as published by
8-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
99
(at your option) any later version.
1010
11-
0MQ is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1525
1626
You should have received a copy of the GNU Lesser General Public License
1727
along with this program. If not, see <http://www.gnu.org/licenses/>.

perf/inproc_thr.cpp

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,27 @@
33
Copyright (c) 2009-2011 250bpm s.r.o.
44
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
55
6-
This file is part of 0MQ.
6+
This file is part of libzmq, the ZeroMQ core engine in C++.
77
8-
0MQ is free software; you can redistribute it and/or modify it under
9-
the terms of the GNU Lesser General Public License as published by
10-
the Free Software Foundation; either version 3 of the License, or
8+
libzmq is free software; you can redistribute it and/or modify it under
9+
the terms of the GNU Lesser General Public License (LGPL) as published
10+
by the Free Software Foundation; either version 3 of the License, or
1111
(at your option) any later version.
1212
13-
0MQ is distributed in the hope that it will be useful,
14-
but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
GNU Lesser General Public License for more details.
13+
As a special exception, the Contributors give you permission to link
14+
this library with independent modules to produce an executable,
15+
regardless of the license terms of these independent modules, and to
16+
copy and distribute the resulting executable under terms of your choice,
17+
provided that you also meet, for each linked independent module, the
18+
terms and conditions of the license of that module. An independent
19+
module is a module which is not derived from or based on this library.
20+
If you modify this library, you must extend this exception to your
21+
version of the library.
22+
23+
libzmq is distributed in the hope that it will be useful, but WITHOUT
24+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
26+
License for more details.
1727
1828
You should have received a copy of the GNU Lesser General Public License
1929
along with this program. If not, see <http://www.gnu.org/licenses/>.

perf/local_lat.cpp

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
/*
22
Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
33
4-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
55
6-
0MQ is free software; you can redistribute it and/or modify it under
7-
the terms of the GNU Lesser General Public License as published by
8-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
99
(at your option) any later version.
1010
11-
0MQ is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1525
1626
You should have received a copy of the GNU Lesser General Public License
1727
along with this program. If not, see <http://www.gnu.org/licenses/>.

perf/local_thr.cpp

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
/*
22
Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
33
4-
This file is part of 0MQ.
4+
This file is part of libzmq, the ZeroMQ core engine in C++.
55
6-
0MQ is free software; you can redistribute it and/or modify it under
7-
the terms of the GNU Lesser General Public License as published by
8-
the Free Software Foundation; either version 3 of the License, or
6+
libzmq is free software; you can redistribute it and/or modify it under
7+
the terms of the GNU Lesser General Public License (LGPL) as published
8+
by the Free Software Foundation; either version 3 of the License, or
99
(at your option) any later version.
1010
11-
0MQ is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
11+
As a special exception, the Contributors give you permission to link
12+
this library with independent modules to produce an executable,
13+
regardless of the license terms of these independent modules, and to
14+
copy and distribute the resulting executable under terms of your choice,
15+
provided that you also meet, for each linked independent module, the
16+
terms and conditions of the license of that module. An independent
17+
module is a module which is not derived from or based on this library.
18+
If you modify this library, you must extend this exception to your
19+
version of the library.
20+
21+
libzmq is distributed in the hope that it will be useful, but WITHOUT
22+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
24+
License for more details.
1525
1626
You should have received a copy of the GNU Lesser General Public License
1727
along with this program. If not, see <http://www.gnu.org/licenses/>.

0 commit comments

Comments
 (0)