From 124ad05acc0f7c7b8a9295f5a6ea2ac2d0d9d5b4 Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Mon, 23 Apr 2018 18:11:34 -0500 Subject: [PATCH] Change license to MIT Resolves #560. --- LICENSE.md | 34 ++ Makefile | 3 - docs/COPYING | 552 ------------------ docs/LICENSE | 4 - src/core/lwt.ml | 25 +- src/core/lwt.mli | 25 +- src/core/lwt_list.ml | 24 +- src/core/lwt_list.mli | 24 +- src/core/lwt_mutex.ml | 25 +- src/core/lwt_mutex.mli | 25 +- src/core/lwt_pool.ml | 25 +- src/core/lwt_pool.mli | 25 +- src/core/lwt_pqueue.ml | 25 +- src/core/lwt_pqueue.mli | 25 +- src/core/lwt_result.ml | 25 +- src/core/lwt_result.mli | 25 +- src/core/lwt_sequence.ml | 24 +- src/core/lwt_sequence.mli | 24 +- src/core/lwt_stream.ml | 24 +- src/core/lwt_stream.mli | 24 +- src/core/lwt_switch.ml | 24 +- src/core/lwt_switch.mli | 24 +- src/ppx/ppx_lwt.mli | 24 +- src/react/lwt_react.ml | 12 +- src/react/lwt_react.mli | 12 +- src/unix/config/discover.ml | 24 +- src/unix/lwt_bytes.ml | 25 +- src/unix/lwt_bytes.mli | 24 +- src/unix/lwt_engine.ml | 24 +- src/unix/lwt_engine.mli | 24 +- src/unix/lwt_fmt.ml | 28 +- src/unix/lwt_fmt.mli | 24 +- src/unix/lwt_gc.ml | 24 +- src/unix/lwt_gc.mli | 24 +- src/unix/lwt_io.ml | 24 +- src/unix/lwt_io.mli | 24 +- src/unix/lwt_libev_stubs.c | 24 +- src/unix/lwt_main.ml | 24 +- src/unix/lwt_main.mli | 24 +- src/unix/lwt_preemptive.ml | 25 +- src/unix/lwt_preemptive.mli | 25 +- src/unix/lwt_process.ml | 24 +- src/unix/lwt_process.mli | 24 +- src/unix/lwt_process_stubs.c | 24 +- src/unix/lwt_sys.ml | 24 +- src/unix/lwt_sys.mli | 24 +- src/unix/lwt_throttle.ml | 25 +- src/unix/lwt_throttle.mli | 25 +- src/unix/lwt_timeout.ml | 25 +- src/unix/lwt_timeout.mli | 25 +- src/unix/lwt_unix.cppo.ml | 26 +- src/unix/lwt_unix.cppo.mli | 26 +- src/unix/lwt_unix.h | 24 +- src/unix/lwt_unix_stubs.c | 24 +- src/unix/unix_c/lwt_unix_jobs.ml | 24 +- src/unix/unix_c/unix_access_job.c | 25 +- src/unix/unix_c/unix_bind_job.c | 26 +- src/unix/unix_c/unix_bytes_read.c | 26 +- src/unix/unix_c/unix_bytes_read_job.c | 26 +- src/unix/unix_c/unix_bytes_recv.c | 26 +- src/unix/unix_c/unix_bytes_recv_msg.c | 26 +- src/unix/unix_c/unix_bytes_recvfrom.c | 26 +- src/unix/unix_c/unix_bytes_send.c | 26 +- src/unix/unix_c/unix_bytes_send_msg.c | 26 +- src/unix/unix_c/unix_bytes_sendto.c | 26 +- src/unix/unix_c/unix_bytes_sendto_byte.c | 26 +- src/unix/unix_c/unix_bytes_write.c | 26 +- src/unix/unix_c/unix_bytes_write_job.c | 26 +- src/unix/unix_c/unix_chdir_job.c | 25 +- src/unix/unix_c/unix_chmod_job.c | 25 +- src/unix/unix_c/unix_chown_job.c | 25 +- src/unix/unix_c/unix_chroot_job.c | 25 +- src/unix/unix_c/unix_close_job.c | 25 +- src/unix/unix_c/unix_closedir_job.c | 26 +- src/unix/unix_c/unix_fchmod_job.c | 25 +- src/unix/unix_c/unix_fchown_job.c | 25 +- src/unix/unix_c/unix_fdatasync_job.c | 25 +- src/unix/unix_c/unix_fstat_64_job.c | 26 +- src/unix/unix_c/unix_fstat_job.c | 26 +- src/unix/unix_c/unix_fsync_job.c | 25 +- src/unix/unix_c/unix_ftruncate_job.c | 25 +- src/unix/unix_c/unix_get_affinity.c | 26 +- src/unix/unix_c/unix_get_cpu.c | 26 +- src/unix/unix_c/unix_get_credentials.c | 26 +- .../unix_get_network_information_utils.c | 26 +- .../unix_get_network_information_utils.h | 26 +- src/unix/unix_c/unix_get_page_size.c | 26 +- src/unix/unix_c/unix_get_pw_gr_nam_id_job.c | 26 +- src/unix/unix_c/unix_getaddrinfo_job.c | 26 +- src/unix/unix_c/unix_getcwd_job.c | 26 +- src/unix/unix_c/unix_gethostbyaddr_job.c | 26 +- src/unix/unix_c/unix_gethostbyname_job.c | 26 +- src/unix/unix_c/unix_gethostname_job.c | 26 +- src/unix/unix_c/unix_getlogin_job.c | 26 +- src/unix/unix_c/unix_getnameinfo_job.c | 26 +- .../unix_c/unix_getprotoby_getservby_job.c | 26 +- src/unix/unix_c/unix_guess_blocking_job.c | 26 +- src/unix/unix_c/unix_invalidate_dir.c | 26 +- src/unix/unix_c/unix_iov_max.c | 26 +- src/unix/unix_c/unix_isatty_job.c | 26 +- src/unix/unix_c/unix_link_job.c | 25 +- src/unix/unix_c/unix_lockf_job.c | 26 +- src/unix/unix_c/unix_lseek_job.c | 25 +- src/unix/unix_c/unix_lstat_64_job.c | 26 +- src/unix/unix_c/unix_lstat_job.c | 26 +- src/unix/unix_c/unix_madvise.c | 26 +- .../unix_c/unix_mcast_modify_membership.c | 26 +- src/unix/unix_c/unix_mcast_set_loop.c | 26 +- src/unix/unix_c/unix_mcast_set_ttl.c | 26 +- src/unix/unix_c/unix_mcast_utils.c | 26 +- src/unix/unix_c/unix_mcast_utils.h | 26 +- src/unix/unix_c/unix_mincore.c | 26 +- src/unix/unix_c/unix_mkdir_job.c | 25 +- src/unix/unix_c/unix_mkfifo_job.c | 25 +- src/unix/unix_c/unix_not_available.c | 26 +- src/unix/unix_c/unix_open_job.c | 26 +- src/unix/unix_c/unix_opendir_job.c | 26 +- src/unix/unix_c/unix_read.c | 26 +- src/unix/unix_c/unix_read_job.c | 26 +- src/unix/unix_c/unix_readable.c | 26 +- src/unix/unix_c/unix_readdir_job.c | 26 +- src/unix/unix_c/unix_readdir_n_job.c | 26 +- src/unix/unix_c/unix_readlink_job.c | 26 +- src/unix/unix_c/unix_readv.c | 26 +- src/unix/unix_c/unix_readv_job.c | 26 +- src/unix/unix_c/unix_readv_writev_utils.c | 26 +- src/unix/unix_c/unix_readv_writev_utils.h | 26 +- src/unix/unix_c/unix_recv.c | 26 +- src/unix/unix_c/unix_recv_msg.c | 26 +- src/unix/unix_c/unix_recv_send_utils.c | 26 +- src/unix/unix_c/unix_recv_send_utils.h | 26 +- src/unix/unix_c/unix_recvfrom.c | 26 +- src/unix/unix_c/unix_rename_job.c | 25 +- src/unix/unix_c/unix_rewinddir_job.c | 26 +- src/unix/unix_c/unix_rmdir_job.c | 25 +- src/unix/unix_c/unix_send.c | 26 +- src/unix/unix_c/unix_send_msg.c | 26 +- src/unix/unix_c/unix_sendto.c | 26 +- src/unix/unix_c/unix_sendto_byte.c | 26 +- src/unix/unix_c/unix_set_affinity.c | 26 +- src/unix/unix_c/unix_stat_64_job.c | 26 +- src/unix/unix_c/unix_stat_job.c | 26 +- src/unix/unix_c/unix_stat_job_utils.c | 26 +- src/unix/unix_c/unix_stat_job_utils.h | 26 +- src/unix/unix_c/unix_symlink_job.c | 25 +- src/unix/unix_c/unix_tcdrain_job.c | 25 +- src/unix/unix_c/unix_tcflow_job.c | 25 +- src/unix/unix_c/unix_tcflush_job.c | 25 +- src/unix/unix_c/unix_tcgetattr_job.c | 26 +- src/unix/unix_c/unix_tcsendbreak_job.c | 25 +- src/unix/unix_c/unix_tcsetattr_job.c | 26 +- src/unix/unix_c/unix_termios_conversion.c | 26 +- src/unix/unix_c/unix_termios_conversion.h | 26 +- src/unix/unix_c/unix_truncate_job.c | 25 +- src/unix/unix_c/unix_unlink_job.c | 25 +- src/unix/unix_c/unix_utimes_job.c | 26 +- src/unix/unix_c/unix_valid_dir.c | 26 +- src/unix/unix_c/unix_wait4.c | 26 +- src/unix/unix_c/unix_wait_mincore_job.c | 26 +- src/unix/unix_c/unix_writable.c | 26 +- src/unix/unix_c/unix_write.c | 26 +- src/unix/unix_c/unix_write_job.c | 26 +- src/unix/unix_c/unix_writev.c | 26 +- src/unix/unix_c/unix_writev_job.c | 26 +- src/unix/windows_c/windows_bytes_read.c | 24 +- src/unix/windows_c/windows_bytes_read_job.c | 24 +- src/unix/windows_c/windows_bytes_write.c | 24 +- src/unix/windows_c/windows_bytes_write_job.c | 24 +- src/unix/windows_c/windows_fsync_job.c | 24 +- src/unix/windows_c/windows_get_page_size.c | 24 +- src/unix/windows_c/windows_is_socket.c | 24 +- src/unix/windows_c/windows_not_available.c | 24 +- src/unix/windows_c/windows_read.c | 24 +- src/unix/windows_c/windows_read_job.c | 24 +- src/unix/windows_c/windows_system_job.c | 24 +- src/unix/windows_c/windows_write.c | 24 +- src/unix/windows_c/windows_write_job.c | 24 +- test/core/main.ml | 24 +- test/core/test_lwt.ml | 25 +- test/core/test_lwt_condition.ml | 22 +- test/core/test_lwt_list.ml | 23 +- test/core/test_lwt_mutex.ml | 25 +- test/core/test_lwt_mvar.ml | 21 +- test/core/test_lwt_pool.ml | 22 +- test/core/test_lwt_result.ml | 23 +- test/core/test_lwt_sequence.ml | 23 +- test/core/test_lwt_stream.ml | 24 +- test/core/test_lwt_switch.ml | 25 +- test/react/main.ml | 24 +- test/react/test_lwt_event.ml | 24 +- test/react/test_lwt_signal.ml | 24 +- test/test.ml | 22 +- test/test.mli | 22 +- test/test_unix.ml | 22 +- test/test_unix.mli | 22 +- test/unix/main.ml | 24 +- test/unix/test_lwt_engine.ml | 24 +- test/unix/test_lwt_fmt.ml | 24 +- test/unix/test_lwt_io.ml | 24 +- test/unix/test_lwt_io_non_block.ml | 24 +- test/unix/test_lwt_process.ml | 24 +- test/unix/test_lwt_timeout.ml | 24 +- test/unix/test_lwt_unix.cppo.ml | 24 +- test/unix/test_mcast.ml | 24 +- 204 files changed, 815 insertions(+), 4758 deletions(-) create mode 100644 LICENSE.md delete mode 100644 docs/COPYING delete mode 100644 docs/LICENSE diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000000..78de8ed87c --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,34 @@ +Copyright (c) 1999-2008 Jérôme Vouillon + Laboratoire PPS - CNRS Université Paris Diderot + 2005 Nataliya Guts, Vincent Balat + Laboratoire PPS - CNRS Université Paris Diderot + 2008 Stéphane Glondu + 2009 Mauricio Fernandez + 2009, 2010 Pierre Chambart + 2009-2012 Jérémie Dimino + Laboratoire PPS - CNRS Université Paris Diderot + 2014 Peter Zotov + 2014, 2018 Gabriel Radanne + 2015 Nicolas Ojeda Bar + 2016 Simon Cruanes + 2016-2018 Anton Bachin + 2017 Joseph Thomas + 2017 Andrew Ray + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Makefile b/Makefile index 09ee676864..251b491af1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,3 @@ -# Copyright : (c) 2012, Jérémie Dimino -# 2017, Andrew Ray - # Default rule .PHONY: default default: build diff --git a/docs/COPYING b/docs/COPYING deleted file mode 100644 index 97f449658a..0000000000 --- a/docs/COPYING +++ /dev/null @@ -1,552 +0,0 @@ -This program is released under the LGPL version 2.1 (see the text below) with -the additional exemption that compiling, linking, and/or using OpenSSL is -allowed. - -As a special exception to the GNU Library General Public License, you -may also link, statically or dynamically, a "work that uses the Library" -with a publicly distributed version of the Library to produce an -executable file containing portions of the Library, and distribute -that executable file under terms of your choice, without any of the -additional requirements listed in clause 6 of the GNU Library General -Public License. By "a publicly distributed version of the Library", -we mean either the unmodified Library, or a -modified version of the Library that is distributed under the -conditions defined in clause 3 of the GNU Library General Public -License. This exception does not however invalidate any other reasons -why the executable file might be covered by the GNU Library General -Public License. - -Some parts, when stated (as licenced under BSD3) are licenced under -3-clauses or Modified BSD License. - - - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - -====== BSD3 or Modified BSD License ====== - -Copyright (c) , -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/docs/LICENSE b/docs/LICENSE deleted file mode 100644 index 0e5e324e09..0000000000 --- a/docs/LICENSE +++ /dev/null @@ -1,4 +0,0 @@ -The Ocsigen application core, and other portions of the official Ocsigen -distribution not explicitly licensed otherwise, are licensed under -the GNU LESSER GENERAL PUBLIC LICENSE with openssl linking exception --- see the 'COPYING' file in this directory for details. diff --git a/src/core/lwt.ml b/src/core/lwt.ml index 289ade38a1..f5bc8b7f57 100644 --- a/src/core/lwt.ml +++ b/src/core/lwt.ml @@ -1,26 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * 2009-2012 Jérémie Dimino - * 2017 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/src/core/lwt.mli b/src/core/lwt.mli index f294c0dc88..4ed4122c5f 100644 --- a/src/core/lwt.mli +++ b/src/core/lwt.mli @@ -1,26 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * 2009-2012 Jérémie Dimino - * 2017 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/src/core/lwt_list.ml b/src/core/lwt_list.ml index 105e3d8573..404be787b1 100644 --- a/src/core/lwt_list.ml +++ b/src/core/lwt_list.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* A survey and measurements of more optimized implementations can be found at: diff --git a/src/core/lwt_list.mli b/src/core/lwt_list.mli index 5332499836..457083b3af 100644 --- a/src/core/lwt_list.mli +++ b/src/core/lwt_list.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** List helpers *) diff --git a/src/core/lwt_mutex.ml b/src/core/lwt_mutex.ml index ff07937b14..32dff5877c 100644 --- a/src/core/lwt_mutex.ml +++ b/src/core/lwt_mutex.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/core/lwt_mutex.mli b/src/core/lwt_mutex.mli index 18eefdf772..b82c237140 100644 --- a/src/core/lwt_mutex.mli +++ b/src/core/lwt_mutex.mli @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Cooperative locks for mutual exclusion *) diff --git a/src/core/lwt_pool.ml b/src/core/lwt_pool.ml index ec437ecaa6..1605bc89fa 100644 --- a/src/core/lwt_pool.ml +++ b/src/core/lwt_pool.ml @@ -1,24 +1,7 @@ -(* Lwt - * http://www.ocsigen.org - * Copyright (C) 2008 Jérôme Vouillon - * 2012 Jérémie Dimino - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later version. - * See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/core/lwt_pool.mli b/src/core/lwt_pool.mli index 2ea56a69ca..6c3c96fdf1 100644 --- a/src/core/lwt_pool.mli +++ b/src/core/lwt_pool.mli @@ -1,24 +1,7 @@ -(* Lwt - * http://www.ocsigen.org - * Copyright (C) 2008 Jérôme Vouillon - * 2012 Jérémie Dimino - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later version. - * See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** External resource pools. diff --git a/src/core/lwt_pqueue.ml b/src/core/lwt_pqueue.ml index c3f7510c76..a90291f023 100644 --- a/src/core/lwt_pqueue.ml +++ b/src/core/lwt_pqueue.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 1999-2004 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + module type OrderedType = sig diff --git a/src/core/lwt_pqueue.mli b/src/core/lwt_pqueue.mli index 43f656f472..17aae2d523 100644 --- a/src/core/lwt_pqueue.mli +++ b/src/core/lwt_pqueue.mli @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 1999-2004 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Functional priority queues (deprecated). diff --git a/src/core/lwt_result.ml b/src/core/lwt_result.ml index 17142e6889..25e162487e 100644 --- a/src/core/lwt_result.ml +++ b/src/core/lwt_result.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2016 Simon Cruanes - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Module [Lwt_result]: explicit error handling *) diff --git a/src/core/lwt_result.mli b/src/core/lwt_result.mli index e8b388e389..b7bfce3bc7 100644 --- a/src/core/lwt_result.mli +++ b/src/core/lwt_result.mli @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2016 Simon Cruanes - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Explicit error handling *) diff --git a/src/core/lwt_sequence.ml b/src/core/lwt_sequence.ml index 351d7cbb86..e040a28c88 100644 --- a/src/core/lwt_sequence.ml +++ b/src/core/lwt_sequence.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + exception Empty diff --git a/src/core/lwt_sequence.mli b/src/core/lwt_sequence.mli index 88fc6bf780..c30ab6fdca 100644 --- a/src/core/lwt_sequence.mli +++ b/src/core/lwt_sequence.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Mutable sequence of elements (deprecated) *) diff --git a/src/core/lwt_stream.ml b/src/core/lwt_stream.ml index 472c9ccdd3..aa93dd8f3f 100644 --- a/src/core/lwt_stream.ml +++ b/src/core/lwt_stream.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix diff --git a/src/core/lwt_stream.mli b/src/core/lwt_stream.mli index 8f3bfa72c9..fe0372753c 100644 --- a/src/core/lwt_stream.mli +++ b/src/core/lwt_stream.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. -*) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Data streams *) diff --git a/src/core/lwt_switch.ml b/src/core/lwt_switch.ml index 63d99b5eaa..84aa8bc222 100644 --- a/src/core/lwt_switch.ml +++ b/src/core/lwt_switch.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + exception Off diff --git a/src/core/lwt_switch.mli b/src/core/lwt_switch.mli index 9c1cac630a..e2d2f6ffa2 100644 --- a/src/core/lwt_switch.mli +++ b/src/core/lwt_switch.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémiem Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Lwt switches *) diff --git a/src/ppx/ppx_lwt.mli b/src/ppx/ppx_lwt.mli index 48fe07114c..d5b3d76416 100644 --- a/src/ppx/ppx_lwt.mli +++ b/src/ppx/ppx_lwt.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2014 Gabriel Radanne, Peter Zotov. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. -*) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Ppx syntax extension for Lwt *) diff --git a/src/react/lwt_react.ml b/src/react/lwt_react.ml index 7c4e2d791e..1ef97a681b 100644 --- a/src/react/lwt_react.ml +++ b/src/react/lwt_react.ml @@ -1,11 +1,7 @@ -(* - * lwt_react.ml - * ------------ - * Copyright : (c) 2011, Jérémie Dimino - * Licence : BSD3 - * - * This file is a part of lwt. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix diff --git a/src/react/lwt_react.mli b/src/react/lwt_react.mli index 28d50eb584..248d2c8f44 100644 --- a/src/react/lwt_react.mli +++ b/src/react/lwt_react.mli @@ -1,11 +1,7 @@ -(* - * lwt_react.mli - * ------------- - * Copyright : (c) 2011, Jérémie Dimino - * Licence : BSD3 - * - * This file is a part of lwt. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** React utilities *) diff --git a/src/unix/config/discover.ml b/src/unix/config/discover.ml index 7bc6d23467..4f67985ad1 100644 --- a/src/unix/config/discover.ml +++ b/src/unix/config/discover.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* Discover available features *) diff --git a/src/unix/lwt_bytes.ml b/src/unix/lwt_bytes.ml index ea219eeda2..3d39dbcd5c 100644 --- a/src/unix/lwt_bytes.ml +++ b/src/unix/lwt_bytes.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Bigarray diff --git a/src/unix/lwt_bytes.mli b/src/unix/lwt_bytes.mli index c8ad7a7fdf..46484e65cc 100644 --- a/src/unix/lwt_bytes.mli +++ b/src/unix/lwt_bytes.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Byte arrays *) diff --git a/src/unix/lwt_engine.ml b/src/unix/lwt_engine.ml index 1b5c2c653a..e4704b8a91 100644 --- a/src/unix/lwt_engine.ml +++ b/src/unix/lwt_engine.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2011 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/unix/lwt_engine.mli b/src/unix/lwt_engine.mli index 4e5d4bb59e..3edf1e3239 100644 --- a/src/unix/lwt_engine.mli +++ b/src/unix/lwt_engine.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2011 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Lwt unix main loop engine *) diff --git a/src/unix/lwt_fmt.ml b/src/unix/lwt_fmt.ml index 57142866b7..03af288842 100644 --- a/src/unix/lwt_fmt.ml +++ b/src/unix/lwt_fmt.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2018 Gabriel Radanne - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix @@ -51,7 +35,7 @@ let make_stream () = Gc.finalise (fun _ -> push None) fmt ; let commit () = Lwt.return_unit in stream, make_formatter ~commit ~fmt () - + (** Channel formatter *) let write_order oc = function @@ -67,7 +51,7 @@ let rec write_orders oc queue = let o = Queue.pop queue in write_order oc o >>= fun () -> write_orders oc queue - + let of_channel oc = let q = Queue.create () in let out_string s i j = diff --git a/src/unix/lwt_fmt.mli b/src/unix/lwt_fmt.mli index 1237f033e6..41ce799644 100644 --- a/src/unix/lwt_fmt.mli +++ b/src/unix/lwt_fmt.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2018 Gabriel Radanne - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Format API for Lwt-powered IOs *) diff --git a/src/unix/lwt_gc.ml b/src/unix/lwt_gc.ml index df4741b60f..a85ac65001 100644 --- a/src/unix/lwt_gc.ml +++ b/src/unix/lwt_gc.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/unix/lwt_gc.mli b/src/unix/lwt_gc.mli index 5611ba7e2c..e69218f5a9 100644 --- a/src/unix/lwt_gc.mli +++ b/src/unix/lwt_gc.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Interaction with the garbage collector *) diff --git a/src/unix/lwt_io.ml b/src/unix/lwt_io.ml index f412ac9714..e7b461ff59 100644 --- a/src/unix/lwt_io.ml +++ b/src/unix/lwt_io.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/unix/lwt_io.mli b/src/unix/lwt_io.mli index 3e4fa30c6f..233d642991 100644 --- a/src/unix/lwt_io.mli +++ b/src/unix/lwt_io.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Buffered byte channels *) diff --git a/src/unix/lwt_libev_stubs.c b/src/unix/lwt_libev_stubs.c index e7998957ab..2ecc083680 100644 --- a/src/unix/lwt_libev_stubs.c +++ b/src/unix/lwt_libev_stubs.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Stubs for libev */ diff --git a/src/unix/lwt_main.ml b/src/unix/lwt_main.ml index f3d603cc68..9553e8ba5c 100644 --- a/src/unix/lwt_main.ml +++ b/src/unix/lwt_main.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2011 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/unix/lwt_main.mli b/src/unix/lwt_main.mli index bd13488134..ddfe0192be 100644 --- a/src/unix/lwt_main.mli +++ b/src/unix/lwt_main.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2011 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Main loop and event queue *) diff --git a/src/unix/lwt_preemptive.ml b/src/unix/lwt_preemptive.ml index d93f30107e..98b451ab44 100644 --- a/src/unix/lwt_preemptive.ml +++ b/src/unix/lwt_preemptive.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org - * Copyright (C) 2005 Nataliya Guts, Vincent Balat, Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later version. - * See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/unix/lwt_preemptive.mli b/src/unix/lwt_preemptive.mli index bde4c33d8c..86fb0f1b7b 100644 --- a/src/unix/lwt_preemptive.mli +++ b/src/unix/lwt_preemptive.mli @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org - * Copyright (C) 2005 Nataliya Guts, Vincent Balat, Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later version. - * See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** This module allows to mix preemptive threads with [Lwt] cooperative threads. It maintains an extensible pool of preemptive diff --git a/src/unix/lwt_process.ml b/src/unix/lwt_process.ml index a54aea4801..a58e27df9a 100644 --- a/src/unix/lwt_process.ml +++ b/src/unix/lwt_process.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix diff --git a/src/unix/lwt_process.mli b/src/unix/lwt_process.mli index 09db871d40..1a1de600e6 100644 --- a/src/unix/lwt_process.mli +++ b/src/unix/lwt_process.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Process management *) diff --git a/src/unix/lwt_process_stubs.c b/src/unix/lwt_process_stubs.c index 2eda63962c..fc92bf46d9 100644 --- a/src/unix/lwt_process_stubs.c +++ b/src/unix/lwt_process_stubs.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include diff --git a/src/unix/lwt_sys.ml b/src/unix/lwt_sys.ml index 8c4d324c06..489cbad594 100644 --- a/src/unix/lwt_sys.ml +++ b/src/unix/lwt_sys.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2011 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + exception Not_available of string diff --git a/src/unix/lwt_sys.mli b/src/unix/lwt_sys.mli index ad072c626c..8a12959ed4 100644 --- a/src/unix/lwt_sys.mli +++ b/src/unix/lwt_sys.mli @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2011 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** System informations. *) diff --git a/src/unix/lwt_throttle.ml b/src/unix/lwt_throttle.ml index a09fe1e325..f011beb0e0 100644 --- a/src/unix/lwt_throttle.ml +++ b/src/unix/lwt_throttle.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2008 Stéphane Glondu - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix diff --git a/src/unix/lwt_throttle.mli b/src/unix/lwt_throttle.mli index 6537194047..7fcf639735 100644 --- a/src/unix/lwt_throttle.mli +++ b/src/unix/lwt_throttle.mli @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2008 Stéphane Glondu - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Rate limiters *) diff --git a/src/unix/lwt_timeout.ml b/src/unix/lwt_timeout.ml index 10b2306cc6..77993038b3 100644 --- a/src/unix/lwt_timeout.ml +++ b/src/unix/lwt_timeout.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + type t = { mutable delay : int; action : unit -> unit; diff --git a/src/unix/lwt_timeout.mli b/src/unix/lwt_timeout.mli index 21e934aca4..b6f8a7811e 100644 --- a/src/unix/lwt_timeout.mli +++ b/src/unix/lwt_timeout.mli @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Cancelable timeouts. *) diff --git a/src/unix/lwt_unix.cppo.ml b/src/unix/lwt_unix.cppo.ml index 3ce05fedd7..cb4bcc4ac3 100644 --- a/src/unix/lwt_unix.cppo.ml +++ b/src/unix/lwt_unix.cppo.ml @@ -1,25 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/src/unix/lwt_unix.cppo.mli b/src/unix/lwt_unix.cppo.mli index d6468af1fe..d91a25e036 100644 --- a/src/unix/lwt_unix.cppo.mli +++ b/src/unix/lwt_unix.cppo.mli @@ -1,25 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2005-2008 Jérôme Vouillon - * Laboratoire PPS - CNRS Université Paris Diderot - * 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (** Cooperative system calls *) diff --git a/src/unix/lwt_unix.h b/src/unix/lwt_unix.h index 1c4f9edad3..c85b5dbeca 100644 --- a/src/unix/lwt_unix.h +++ b/src/unix/lwt_unix.h @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #ifndef __LWT_UNIX_H #define __LWT_UNIX_H diff --git a/src/unix/lwt_unix_stubs.c b/src/unix/lwt_unix_stubs.c index 54418979c6..4d3d9d002d 100644 --- a/src/unix/lwt_unix_stubs.c +++ b/src/unix/lwt_unix_stubs.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/lwt_unix_jobs.ml b/src/unix/unix_c/lwt_unix_jobs.ml index 4ab4624d3d..b53d049fb5 100644 --- a/src/unix/unix_c/lwt_unix_jobs.ml +++ b/src/unix/unix_c/lwt_unix_jobs.ml @@ -1,25 +1,7 @@ +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) module type Job = sig type 'a t diff --git a/src/unix/unix_c/unix_access_job.c b/src/unix/unix_c/unix_access_job.c index 5ea7a948b7..009054dabe 100644 --- a/src/unix/unix_c/unix_access_job.c +++ b/src/unix/unix_c/unix_access_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_bind_job.c b/src/unix/unix_c/unix_bind_job.c index 381d811e50..b4023f14f7 100644 --- a/src/unix/unix_c/unix_bind_job.c +++ b/src/unix/unix_c/unix_bind_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_read.c b/src/unix/unix_c/unix_bytes_read.c index c667a37542..76149e0dfe 100644 --- a/src/unix/unix_c/unix_bytes_read.c +++ b/src/unix/unix_c/unix_bytes_read.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_read_job.c b/src/unix/unix_c/unix_bytes_read_job.c index 95d45decfd..06839b571e 100644 --- a/src/unix/unix_c/unix_bytes_read_job.c +++ b/src/unix/unix_c/unix_bytes_read_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_recv.c b/src/unix/unix_c/unix_bytes_recv.c index 8c9be00f1b..9de910bee4 100644 --- a/src/unix/unix_c/unix_bytes_recv.c +++ b/src/unix/unix_c/unix_bytes_recv.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_recv_msg.c b/src/unix/unix_c/unix_bytes_recv_msg.c index db1044e5f7..9dfdf3b76a 100644 --- a/src/unix/unix_c/unix_bytes_recv_msg.c +++ b/src/unix/unix_c/unix_bytes_recv_msg.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_recvfrom.c b/src/unix/unix_c/unix_bytes_recvfrom.c index 45dd489eb4..db91759f7c 100644 --- a/src/unix/unix_c/unix_bytes_recvfrom.c +++ b/src/unix/unix_c/unix_bytes_recvfrom.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_send.c b/src/unix/unix_c/unix_bytes_send.c index 496550f2e5..9cd5a44280 100644 --- a/src/unix/unix_c/unix_bytes_send.c +++ b/src/unix/unix_c/unix_bytes_send.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_send_msg.c b/src/unix/unix_c/unix_bytes_send_msg.c index 50084f31e1..a7033324ef 100644 --- a/src/unix/unix_c/unix_bytes_send_msg.c +++ b/src/unix/unix_c/unix_bytes_send_msg.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_sendto.c b/src/unix/unix_c/unix_bytes_sendto.c index 30990a4167..ea34097d4f 100644 --- a/src/unix/unix_c/unix_bytes_sendto.c +++ b/src/unix/unix_c/unix_bytes_sendto.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_sendto_byte.c b/src/unix/unix_c/unix_bytes_sendto_byte.c index 7d72f7f690..5865ebf31e 100644 --- a/src/unix/unix_c/unix_bytes_sendto_byte.c +++ b/src/unix/unix_c/unix_bytes_sendto_byte.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_write.c b/src/unix/unix_c/unix_bytes_write.c index 5db52dca0d..c77238e430 100644 --- a/src/unix/unix_c/unix_bytes_write.c +++ b/src/unix/unix_c/unix_bytes_write.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_bytes_write_job.c b/src/unix/unix_c/unix_bytes_write_job.c index 0489bd99bb..bcbac8d5c4 100644 --- a/src/unix/unix_c/unix_bytes_write_job.c +++ b/src/unix/unix_c/unix_bytes_write_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_chdir_job.c b/src/unix/unix_c/unix_chdir_job.c index 1b3dbe0b21..2a3834a482 100644 --- a/src/unix/unix_c/unix_chdir_job.c +++ b/src/unix/unix_c/unix_chdir_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_chmod_job.c b/src/unix/unix_c/unix_chmod_job.c index b8096c48bd..3a6263c101 100644 --- a/src/unix/unix_c/unix_chmod_job.c +++ b/src/unix/unix_c/unix_chmod_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_chown_job.c b/src/unix/unix_c/unix_chown_job.c index 3d3de2b77d..f97aab059e 100644 --- a/src/unix/unix_c/unix_chown_job.c +++ b/src/unix/unix_c/unix_chown_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_chroot_job.c b/src/unix/unix_c/unix_chroot_job.c index 7407863080..e77d147884 100644 --- a/src/unix/unix_c/unix_chroot_job.c +++ b/src/unix/unix_c/unix_chroot_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_close_job.c b/src/unix/unix_c/unix_close_job.c index a55c194223..7fbf033316 100644 --- a/src/unix/unix_c/unix_close_job.c +++ b/src/unix/unix_c/unix_close_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_closedir_job.c b/src/unix/unix_c/unix_closedir_job.c index 6a793f67a6..066cfd9f1e 100644 --- a/src/unix/unix_c/unix_closedir_job.c +++ b/src/unix/unix_c/unix_closedir_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_fchmod_job.c b/src/unix/unix_c/unix_fchmod_job.c index e0ae3e9075..bf56e484f8 100644 --- a/src/unix/unix_c/unix_fchmod_job.c +++ b/src/unix/unix_c/unix_fchmod_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_fchown_job.c b/src/unix/unix_c/unix_fchown_job.c index 35eae8f9aa..5b60951071 100644 --- a/src/unix/unix_c/unix_fchown_job.c +++ b/src/unix/unix_c/unix_fchown_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_fdatasync_job.c b/src/unix/unix_c/unix_fdatasync_job.c index 338f34fe86..153ceb1ee6 100644 --- a/src/unix/unix_c/unix_fdatasync_job.c +++ b/src/unix/unix_c/unix_fdatasync_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_fstat_64_job.c b/src/unix/unix_c/unix_fstat_64_job.c index 369dc73613..4c4467e902 100644 --- a/src/unix/unix_c/unix_fstat_64_job.c +++ b/src/unix/unix_c/unix_fstat_64_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_fstat_job.c b/src/unix/unix_c/unix_fstat_job.c index 2e79226622..986d7b4750 100644 --- a/src/unix/unix_c/unix_fstat_job.c +++ b/src/unix/unix_c/unix_fstat_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_fsync_job.c b/src/unix/unix_c/unix_fsync_job.c index 1cc8ac113b..7006c2baab 100644 --- a/src/unix/unix_c/unix_fsync_job.c +++ b/src/unix/unix_c/unix_fsync_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_ftruncate_job.c b/src/unix/unix_c/unix_ftruncate_job.c index 58319baf61..23a3906611 100644 --- a/src/unix/unix_c/unix_ftruncate_job.c +++ b/src/unix/unix_c/unix_ftruncate_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_get_affinity.c b/src/unix/unix_c/unix_get_affinity.c index 02a5aec3e5..b114fdf928 100644 --- a/src/unix/unix_c/unix_get_affinity.c +++ b/src/unix/unix_c/unix_get_affinity.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_get_cpu.c b/src/unix/unix_c/unix_get_cpu.c index e005821b1a..5b9c7ec2e7 100644 --- a/src/unix/unix_c/unix_get_cpu.c +++ b/src/unix/unix_c/unix_get_cpu.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_get_credentials.c b/src/unix/unix_c/unix_get_credentials.c index 5e4feb10b1..e03fd3c337 100644 --- a/src/unix/unix_c/unix_get_credentials.c +++ b/src/unix/unix_c/unix_get_credentials.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_get_network_information_utils.c b/src/unix/unix_c/unix_get_network_information_utils.c index 8d0cdeba9c..7efaf6bf69 100644 --- a/src/unix/unix_c/unix_get_network_information_utils.c +++ b/src/unix/unix_c/unix_get_network_information_utils.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_get_network_information_utils.h b/src/unix/unix_c/unix_get_network_information_utils.h index 1b9a4f3ffc..4049287866 100644 --- a/src/unix/unix_c/unix_get_network_information_utils.h +++ b/src/unix/unix_c/unix_get_network_information_utils.h @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #pragma once diff --git a/src/unix/unix_c/unix_get_page_size.c b/src/unix/unix_c/unix_get_page_size.c index e16b3fd880..e9918f7cc0 100644 --- a/src/unix/unix_c/unix_get_page_size.c +++ b/src/unix/unix_c/unix_get_page_size.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_get_pw_gr_nam_id_job.c b/src/unix/unix_c/unix_get_pw_gr_nam_id_job.c index 0ba3cc6945..032cb5fcfa 100644 --- a/src/unix/unix_c/unix_get_pw_gr_nam_id_job.c +++ b/src/unix/unix_c/unix_get_pw_gr_nam_id_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_getaddrinfo_job.c b/src/unix/unix_c/unix_getaddrinfo_job.c index 576cd939c0..f0a79c4d63 100644 --- a/src/unix/unix_c/unix_getaddrinfo_job.c +++ b/src/unix/unix_c/unix_getaddrinfo_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_getcwd_job.c b/src/unix/unix_c/unix_getcwd_job.c index 32fc474a81..5889bec2e6 100644 --- a/src/unix/unix_c/unix_getcwd_job.c +++ b/src/unix/unix_c/unix_getcwd_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_gethostbyaddr_job.c b/src/unix/unix_c/unix_gethostbyaddr_job.c index 17c3841507..06b718bb1f 100644 --- a/src/unix/unix_c/unix_gethostbyaddr_job.c +++ b/src/unix/unix_c/unix_gethostbyaddr_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_gethostbyname_job.c b/src/unix/unix_c/unix_gethostbyname_job.c index 92a5d845a4..dd9d0694d1 100644 --- a/src/unix/unix_c/unix_gethostbyname_job.c +++ b/src/unix/unix_c/unix_gethostbyname_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_gethostname_job.c b/src/unix/unix_c/unix_gethostname_job.c index 1174ae8840..665f3f159f 100644 --- a/src/unix/unix_c/unix_gethostname_job.c +++ b/src/unix/unix_c/unix_gethostname_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_getlogin_job.c b/src/unix/unix_c/unix_getlogin_job.c index a635e04cc3..4ba1d4a0bd 100644 --- a/src/unix/unix_c/unix_getlogin_job.c +++ b/src/unix/unix_c/unix_getlogin_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_getnameinfo_job.c b/src/unix/unix_c/unix_getnameinfo_job.c index e83313d371..3ae74091df 100644 --- a/src/unix/unix_c/unix_getnameinfo_job.c +++ b/src/unix/unix_c/unix_getnameinfo_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_getprotoby_getservby_job.c b/src/unix/unix_c/unix_getprotoby_getservby_job.c index 30aa88f7e6..5169fc9b6e 100644 --- a/src/unix/unix_c/unix_getprotoby_getservby_job.c +++ b/src/unix/unix_c/unix_getprotoby_getservby_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_guess_blocking_job.c b/src/unix/unix_c/unix_guess_blocking_job.c index d631b80ca4..a4e1d48827 100644 --- a/src/unix/unix_c/unix_guess_blocking_job.c +++ b/src/unix/unix_c/unix_guess_blocking_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_invalidate_dir.c b/src/unix/unix_c/unix_invalidate_dir.c index fe608599cf..9daf9c5b4d 100644 --- a/src/unix/unix_c/unix_invalidate_dir.c +++ b/src/unix/unix_c/unix_invalidate_dir.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_iov_max.c b/src/unix/unix_c/unix_iov_max.c index 8bd4f5ceee..27ee452930 100644 --- a/src/unix/unix_c/unix_iov_max.c +++ b/src/unix/unix_c/unix_iov_max.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_isatty_job.c b/src/unix/unix_c/unix_isatty_job.c index d8cd507eef..9f5ffdd371 100644 --- a/src/unix/unix_c/unix_isatty_job.c +++ b/src/unix/unix_c/unix_isatty_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_link_job.c b/src/unix/unix_c/unix_link_job.c index 58410c043a..451c9c7cf7 100644 --- a/src/unix/unix_c/unix_link_job.c +++ b/src/unix/unix_c/unix_link_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_lockf_job.c b/src/unix/unix_c/unix_lockf_job.c index fd743fc2bf..a0449d80fd 100644 --- a/src/unix/unix_c/unix_lockf_job.c +++ b/src/unix/unix_c/unix_lockf_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_lseek_job.c b/src/unix/unix_c/unix_lseek_job.c index b5b2b801c5..8344154a57 100644 --- a/src/unix/unix_c/unix_lseek_job.c +++ b/src/unix/unix_c/unix_lseek_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_lstat_64_job.c b/src/unix/unix_c/unix_lstat_64_job.c index ae34038f01..032047aae7 100644 --- a/src/unix/unix_c/unix_lstat_64_job.c +++ b/src/unix/unix_c/unix_lstat_64_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_lstat_job.c b/src/unix/unix_c/unix_lstat_job.c index cadc7e2400..f5a621d679 100644 --- a/src/unix/unix_c/unix_lstat_job.c +++ b/src/unix/unix_c/unix_lstat_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_madvise.c b/src/unix/unix_c/unix_madvise.c index e11cd7b7df..d76323dbd8 100644 --- a/src/unix/unix_c/unix_madvise.c +++ b/src/unix/unix_c/unix_madvise.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mcast_modify_membership.c b/src/unix/unix_c/unix_mcast_modify_membership.c index a242ba955e..febb5ac8f9 100644 --- a/src/unix/unix_c/unix_mcast_modify_membership.c +++ b/src/unix/unix_c/unix_mcast_modify_membership.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mcast_set_loop.c b/src/unix/unix_c/unix_mcast_set_loop.c index 7724bf5223..bbf423165d 100644 --- a/src/unix/unix_c/unix_mcast_set_loop.c +++ b/src/unix/unix_c/unix_mcast_set_loop.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mcast_set_ttl.c b/src/unix/unix_c/unix_mcast_set_ttl.c index a69f119ead..78cdf2d795 100644 --- a/src/unix/unix_c/unix_mcast_set_ttl.c +++ b/src/unix/unix_c/unix_mcast_set_ttl.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mcast_utils.c b/src/unix/unix_c/unix_mcast_utils.c index 7d5526cbea..ef752c977d 100644 --- a/src/unix/unix_c/unix_mcast_utils.c +++ b/src/unix/unix_c/unix_mcast_utils.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mcast_utils.h b/src/unix/unix_c/unix_mcast_utils.h index 503dba17f9..16c3ef70be 100644 --- a/src/unix/unix_c/unix_mcast_utils.h +++ b/src/unix/unix_c/unix_mcast_utils.h @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #pragma once #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mincore.c b/src/unix/unix_c/unix_mincore.c index 3721b1de70..34cc041659 100644 --- a/src/unix/unix_c/unix_mincore.c +++ b/src/unix/unix_c/unix_mincore.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_mkdir_job.c b/src/unix/unix_c/unix_mkdir_job.c index a3962d4bce..ad716ca69f 100644 --- a/src/unix/unix_c/unix_mkdir_job.c +++ b/src/unix/unix_c/unix_mkdir_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_mkfifo_job.c b/src/unix/unix_c/unix_mkfifo_job.c index 71feab23ec..a1c80debe1 100644 --- a/src/unix/unix_c/unix_mkfifo_job.c +++ b/src/unix/unix_c/unix_mkfifo_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_not_available.c b/src/unix/unix_c/unix_not_available.c index 8659fc0730..9fedce63c9 100644 --- a/src/unix/unix_c/unix_not_available.c +++ b/src/unix/unix_c/unix_not_available.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_open_job.c b/src/unix/unix_c/unix_open_job.c index a91f2a3b9a..9bb30ef029 100644 --- a/src/unix/unix_c/unix_open_job.c +++ b/src/unix/unix_c/unix_open_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_opendir_job.c b/src/unix/unix_c/unix_opendir_job.c index 2ab9a115e1..3d3b720b5a 100644 --- a/src/unix/unix_c/unix_opendir_job.c +++ b/src/unix/unix_c/unix_opendir_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_read.c b/src/unix/unix_c/unix_read.c index b5bb091ff8..6f2eb12908 100644 --- a/src/unix/unix_c/unix_read.c +++ b/src/unix/unix_c/unix_read.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_read_job.c b/src/unix/unix_c/unix_read_job.c index 371e8d21ef..b9baff73c6 100644 --- a/src/unix/unix_c/unix_read_job.c +++ b/src/unix/unix_c/unix_read_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readable.c b/src/unix/unix_c/unix_readable.c index ab91a5895d..e97761ab12 100644 --- a/src/unix/unix_c/unix_readable.c +++ b/src/unix/unix_c/unix_readable.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readdir_job.c b/src/unix/unix_c/unix_readdir_job.c index eff3e96695..ced2a65294 100644 --- a/src/unix/unix_c/unix_readdir_job.c +++ b/src/unix/unix_c/unix_readdir_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readdir_n_job.c b/src/unix/unix_c/unix_readdir_n_job.c index c7752d7865..6d3604ad54 100644 --- a/src/unix/unix_c/unix_readdir_n_job.c +++ b/src/unix/unix_c/unix_readdir_n_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readlink_job.c b/src/unix/unix_c/unix_readlink_job.c index cf95bfff3e..ecb5325b46 100644 --- a/src/unix/unix_c/unix_readlink_job.c +++ b/src/unix/unix_c/unix_readlink_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readv.c b/src/unix/unix_c/unix_readv.c index 8597c5762e..f9afa4de2f 100644 --- a/src/unix/unix_c/unix_readv.c +++ b/src/unix/unix_c/unix_readv.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readv_job.c b/src/unix/unix_c/unix_readv_job.c index 3bbdc0423e..cbc0eeadbb 100644 --- a/src/unix/unix_c/unix_readv_job.c +++ b/src/unix/unix_c/unix_readv_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readv_writev_utils.c b/src/unix/unix_c/unix_readv_writev_utils.c index 3b8ad5bd11..6a41cb3ced 100644 --- a/src/unix/unix_c/unix_readv_writev_utils.c +++ b/src/unix/unix_c/unix_readv_writev_utils.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_readv_writev_utils.h b/src/unix/unix_c/unix_readv_writev_utils.h index cdc362e73f..1171102a5d 100644 --- a/src/unix/unix_c/unix_readv_writev_utils.h +++ b/src/unix/unix_c/unix_readv_writev_utils.h @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #pragma once #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_recv.c b/src/unix/unix_c/unix_recv.c index d62ef290ea..7ea757611a 100644 --- a/src/unix/unix_c/unix_recv.c +++ b/src/unix/unix_c/unix_recv.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_recv_msg.c b/src/unix/unix_c/unix_recv_msg.c index 9c4fbeb5c9..b4e31c2542 100644 --- a/src/unix/unix_c/unix_recv_msg.c +++ b/src/unix/unix_c/unix_recv_msg.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_recv_send_utils.c b/src/unix/unix_c/unix_recv_send_utils.c index 54be4b230a..1c44b40107 100644 --- a/src/unix/unix_c/unix_recv_send_utils.c +++ b/src/unix/unix_c/unix_recv_send_utils.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_recv_send_utils.h b/src/unix/unix_c/unix_recv_send_utils.h index 43a97663e7..a7a9a1526a 100644 --- a/src/unix/unix_c/unix_recv_send_utils.h +++ b/src/unix/unix_c/unix_recv_send_utils.h @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #pragma once diff --git a/src/unix/unix_c/unix_recvfrom.c b/src/unix/unix_c/unix_recvfrom.c index 87b1553894..d55a646cca 100644 --- a/src/unix/unix_c/unix_recvfrom.c +++ b/src/unix/unix_c/unix_recvfrom.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_rename_job.c b/src/unix/unix_c/unix_rename_job.c index 31247fca12..7bbdf912d7 100644 --- a/src/unix/unix_c/unix_rename_job.c +++ b/src/unix/unix_c/unix_rename_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_rewinddir_job.c b/src/unix/unix_c/unix_rewinddir_job.c index a31b8f599d..5b4680b558 100644 --- a/src/unix/unix_c/unix_rewinddir_job.c +++ b/src/unix/unix_c/unix_rewinddir_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_rmdir_job.c b/src/unix/unix_c/unix_rmdir_job.c index bc7d244086..4856efc14b 100644 --- a/src/unix/unix_c/unix_rmdir_job.c +++ b/src/unix/unix_c/unix_rmdir_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_send.c b/src/unix/unix_c/unix_send.c index 510a3db940..de053de7b3 100644 --- a/src/unix/unix_c/unix_send.c +++ b/src/unix/unix_c/unix_send.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_send_msg.c b/src/unix/unix_c/unix_send_msg.c index d098af2ca3..6a4d02cac8 100644 --- a/src/unix/unix_c/unix_send_msg.c +++ b/src/unix/unix_c/unix_send_msg.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_sendto.c b/src/unix/unix_c/unix_sendto.c index 988b59c44e..6c0ac8488b 100644 --- a/src/unix/unix_c/unix_sendto.c +++ b/src/unix/unix_c/unix_sendto.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_sendto_byte.c b/src/unix/unix_c/unix_sendto_byte.c index 1067f7868f..6373f2214c 100644 --- a/src/unix/unix_c/unix_sendto_byte.c +++ b/src/unix/unix_c/unix_sendto_byte.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_set_affinity.c b/src/unix/unix_c/unix_set_affinity.c index ae80ce182b..dcf8e3f6f0 100644 --- a/src/unix/unix_c/unix_set_affinity.c +++ b/src/unix/unix_c/unix_set_affinity.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_stat_64_job.c b/src/unix/unix_c/unix_stat_64_job.c index 69abdfd6fa..5ec96c8ed2 100644 --- a/src/unix/unix_c/unix_stat_64_job.c +++ b/src/unix/unix_c/unix_stat_64_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_stat_job.c b/src/unix/unix_c/unix_stat_job.c index 3c0739ec70..10d7c6645e 100644 --- a/src/unix/unix_c/unix_stat_job.c +++ b/src/unix/unix_c/unix_stat_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_stat_job_utils.c b/src/unix/unix_c/unix_stat_job_utils.c index 3a48c2c669..a6a4c19767 100644 --- a/src/unix/unix_c/unix_stat_job_utils.c +++ b/src/unix/unix_c/unix_stat_job_utils.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_stat_job_utils.h b/src/unix/unix_c/unix_stat_job_utils.h index 4da2ad8914..ea30cdc862 100644 --- a/src/unix/unix_c/unix_stat_job_utils.h +++ b/src/unix/unix_c/unix_stat_job_utils.h @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #pragma once diff --git a/src/unix/unix_c/unix_symlink_job.c b/src/unix/unix_c/unix_symlink_job.c index d826f08015..75f86443a2 100644 --- a/src/unix/unix_c/unix_symlink_job.c +++ b/src/unix/unix_c/unix_symlink_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_tcdrain_job.c b/src/unix/unix_c/unix_tcdrain_job.c index 056c72ee46..7e03356a76 100644 --- a/src/unix/unix_c/unix_tcdrain_job.c +++ b/src/unix/unix_c/unix_tcdrain_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_tcflow_job.c b/src/unix/unix_c/unix_tcflow_job.c index 039623666b..9eab3fa933 100644 --- a/src/unix/unix_c/unix_tcflow_job.c +++ b/src/unix/unix_c/unix_tcflow_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_tcflush_job.c b/src/unix/unix_c/unix_tcflush_job.c index 980e587b90..baabae4bdd 100644 --- a/src/unix/unix_c/unix_tcflush_job.c +++ b/src/unix/unix_c/unix_tcflush_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_tcgetattr_job.c b/src/unix/unix_c/unix_tcgetattr_job.c index a0f532d35d..7685957889 100644 --- a/src/unix/unix_c/unix_tcgetattr_job.c +++ b/src/unix/unix_c/unix_tcgetattr_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_tcsendbreak_job.c b/src/unix/unix_c/unix_tcsendbreak_job.c index 4a89458d7c..dcf39f47e8 100644 --- a/src/unix/unix_c/unix_tcsendbreak_job.c +++ b/src/unix/unix_c/unix_tcsendbreak_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_tcsetattr_job.c b/src/unix/unix_c/unix_tcsetattr_job.c index 1bec341f07..d0f299f782 100644 --- a/src/unix/unix_c/unix_tcsetattr_job.c +++ b/src/unix/unix_c/unix_tcsetattr_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_termios_conversion.c b/src/unix/unix_c/unix_termios_conversion.c index 526d99bed2..9a162e9eba 100644 --- a/src/unix/unix_c/unix_termios_conversion.c +++ b/src/unix/unix_c/unix_termios_conversion.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_termios_conversion.h b/src/unix/unix_c/unix_termios_conversion.h index 56b180129a..32490ecca2 100644 --- a/src/unix/unix_c/unix_termios_conversion.h +++ b/src/unix/unix_c/unix_termios_conversion.h @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #pragma once diff --git a/src/unix/unix_c/unix_truncate_job.c b/src/unix/unix_c/unix_truncate_job.c index 7a07bdcdb6..c2ec0407c7 100644 --- a/src/unix/unix_c/unix_truncate_job.c +++ b/src/unix/unix_c/unix_truncate_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_unlink_job.c b/src/unix/unix_c/unix_unlink_job.c index 31b3ae9404..4172972e53 100644 --- a/src/unix/unix_c/unix_unlink_job.c +++ b/src/unix/unix_c/unix_unlink_job.c @@ -1,24 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2012 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + /* Informations: diff --git a/src/unix/unix_c/unix_utimes_job.c b/src/unix/unix_c/unix_utimes_job.c index 7d18a05f40..beebf333b9 100644 --- a/src/unix/unix_c/unix_utimes_job.c +++ b/src/unix/unix_c/unix_utimes_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_valid_dir.c b/src/unix/unix_c/unix_valid_dir.c index 34f0bbe1ec..600d1fbd3f 100644 --- a/src/unix/unix_c/unix_valid_dir.c +++ b/src/unix/unix_c/unix_valid_dir.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_wait4.c b/src/unix/unix_c/unix_wait4.c index 6036578799..e7bb6ef020 100644 --- a/src/unix/unix_c/unix_wait4.c +++ b/src/unix/unix_c/unix_wait4.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_wait_mincore_job.c b/src/unix/unix_c/unix_wait_mincore_job.c index 8fc1ac5729..097f70ef50 100644 --- a/src/unix/unix_c/unix_wait_mincore_job.c +++ b/src/unix/unix_c/unix_wait_mincore_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_writable.c b/src/unix/unix_c/unix_writable.c index 684d60bf7c..4f71102492 100644 --- a/src/unix/unix_c/unix_writable.c +++ b/src/unix/unix_c/unix_writable.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_write.c b/src/unix/unix_c/unix_write.c index cf75120580..2643c7a197 100644 --- a/src/unix/unix_c/unix_write.c +++ b/src/unix/unix_c/unix_write.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_write_job.c b/src/unix/unix_c/unix_write_job.c index b66eb9dfb5..c8884e360b 100644 --- a/src/unix/unix_c/unix_write_job.c +++ b/src/unix/unix_c/unix_write_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_writev.c b/src/unix/unix_c/unix_writev.c index 6ac469b141..ecfd9cd5fe 100644 --- a/src/unix/unix_c/unix_writev.c +++ b/src/unix/unix_c/unix_writev.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/unix_c/unix_writev_job.c b/src/unix/unix_c/unix_writev_job.c index 6770795b95..6952dc40f6 100644 --- a/src/unix/unix_c/unix_writev_job.c +++ b/src/unix/unix_c/unix_writev_job.c @@ -1,25 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009-2010 Jérémie Dimino - * 2009 Mauricio Fernandez - * 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_bytes_read.c b/src/unix/windows_c/windows_bytes_read.c index aeefa3048d..1fddb8e927 100644 --- a/src/unix/windows_c/windows_bytes_read.c +++ b/src/unix/windows_c/windows_bytes_read.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_bytes_read_job.c b/src/unix/windows_c/windows_bytes_read_job.c index 524fc4732f..7c219aba10 100644 --- a/src/unix/windows_c/windows_bytes_read_job.c +++ b/src/unix/windows_c/windows_bytes_read_job.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_bytes_write.c b/src/unix/windows_c/windows_bytes_write.c index db4c21bcb9..3a980f574e 100644 --- a/src/unix/windows_c/windows_bytes_write.c +++ b/src/unix/windows_c/windows_bytes_write.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_bytes_write_job.c b/src/unix/windows_c/windows_bytes_write_job.c index 31cdbe4e72..3d33dc1b55 100644 --- a/src/unix/windows_c/windows_bytes_write_job.c +++ b/src/unix/windows_c/windows_bytes_write_job.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_fsync_job.c b/src/unix/windows_c/windows_fsync_job.c index e69d900266..0a3397dc03 100644 --- a/src/unix/windows_c/windows_fsync_job.c +++ b/src/unix/windows_c/windows_fsync_job.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_get_page_size.c b/src/unix/windows_c/windows_get_page_size.c index 274260d974..d5dfe97113 100644 --- a/src/unix/windows_c/windows_get_page_size.c +++ b/src/unix/windows_c/windows_get_page_size.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_is_socket.c b/src/unix/windows_c/windows_is_socket.c index 3b1fa9bc4c..d3e675917d 100644 --- a/src/unix/windows_c/windows_is_socket.c +++ b/src/unix/windows_c/windows_is_socket.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_not_available.c b/src/unix/windows_c/windows_not_available.c index e6a26f470b..a1e8026bf2 100644 --- a/src/unix/windows_c/windows_not_available.c +++ b/src/unix/windows_c/windows_not_available.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_read.c b/src/unix/windows_c/windows_read.c index 3576d7230d..fe3b297c57 100644 --- a/src/unix/windows_c/windows_read.c +++ b/src/unix/windows_c/windows_read.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_read_job.c b/src/unix/windows_c/windows_read_job.c index ed4b6701fd..30086f5270 100644 --- a/src/unix/windows_c/windows_read_job.c +++ b/src/unix/windows_c/windows_read_job.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_system_job.c b/src/unix/windows_c/windows_system_job.c index f7f712d43b..96ee6c7ba5 100644 --- a/src/unix/windows_c/windows_system_job.c +++ b/src/unix/windows_c/windows_system_job.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_write.c b/src/unix/windows_c/windows_write.c index 84e3eb0d89..154877717a 100644 --- a/src/unix/windows_c/windows_write.c +++ b/src/unix/windows_c/windows_write.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/src/unix/windows_c/windows_write_job.c b/src/unix/windows_c/windows_write_job.c index b35dcfb831..ddbd86d921 100644 --- a/src/unix/windows_c/windows_write_job.c +++ b/src/unix/windows_c/windows_write_job.c @@ -1,23 +1,7 @@ -/* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ +/* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ + + #include "lwt_config.h" diff --git a/test/core/main.ml b/test/core/main.ml index 9abe76c6bc..c834459fae 100644 --- a/test/core/main.ml +++ b/test/core/main.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + Test.run "core" (Test_lwt.suites @ [ diff --git a/test/core/test_lwt.ml b/test/core/test_lwt.ml index 0ed7548347..4df5c9ac9a 100644 --- a/test/core/test_lwt.ml +++ b/test/core/test_lwt.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Jérémie Dimino, Pierre Chambart - * 2017 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/test/core/test_lwt_condition.ml b/test/core/test_lwt_condition.ml index b3b23e09de..b9dd5500f9 100644 --- a/test/core/test_lwt_condition.ml +++ b/test/core/test_lwt_condition.ml @@ -1,23 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2017 Joseph Thomas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/core/test_lwt_list.ml b/test/core/test_lwt_list.ml index 63b277c0f8..0b9e4136a7 100644 --- a/test/core/test_lwt_list.ml +++ b/test/core/test_lwt_list.ml @@ -1,23 +1,6 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino, Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + open Test diff --git a/test/core/test_lwt_mutex.ml b/test/core/test_lwt_mutex.ml index 87a61b3b33..ca80386ec5 100644 --- a/test/core/test_lwt_mutex.ml +++ b/test/core/test_lwt_mutex.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2016 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix open Test diff --git a/test/core/test_lwt_mvar.ml b/test/core/test_lwt_mvar.ml index 6ef483c972..59db1938da 100644 --- a/test/core/test_lwt_mvar.ml +++ b/test/core/test_lwt_mvar.ml @@ -1,22 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/core/test_lwt_pool.ml b/test/core/test_lwt_pool.ml index 90c5c0733a..01bf215969 100644 --- a/test/core/test_lwt_pool.ml +++ b/test/core/test_lwt_pool.ml @@ -1,23 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2017 Joseph Thomas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. -*) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/core/test_lwt_result.ml b/test/core/test_lwt_result.ml index ce967e96d7..6ba9857780 100644 --- a/test/core/test_lwt_result.ml +++ b/test/core/test_lwt_result.ml @@ -1,22 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test diff --git a/test/core/test_lwt_sequence.ml b/test/core/test_lwt_sequence.ml index 0e6daea397..83c4030ad6 100644 --- a/test/core/test_lwt_sequence.ml +++ b/test/core/test_lwt_sequence.ml @@ -1,24 +1,7 @@ +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) open Test diff --git a/test/core/test_lwt_stream.ml b/test/core/test_lwt_stream.ml index 4295ebdb17..e95d4ac229 100644 --- a/test/core/test_lwt_stream.ml +++ b/test/core/test_lwt_stream.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt open Test diff --git a/test/core/test_lwt_switch.ml b/test/core/test_lwt_switch.ml index cc26563278..354760be89 100644 --- a/test/core/test_lwt_switch.ml +++ b/test/core/test_lwt_switch.ml @@ -1,24 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * - * Copyright (C) 2016 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix open Test diff --git a/test/react/main.ml b/test/react/main.ml index 3bfccdd259..9dacc31099 100644 --- a/test/react/main.ml +++ b/test/react/main.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + Test.run "react" [ Test_lwt_event.suite; diff --git a/test/react/test_lwt_event.ml b/test/react/test_lwt_event.ml index d4ccf93369..e8f92443f6 100644 --- a/test/react/test_lwt_event.ml +++ b/test/react/test_lwt_event.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt diff --git a/test/react/test_lwt_signal.ml b/test/react/test_lwt_signal.ml index 316bc5678c..440afcf2e2 100644 --- a/test/react/test_lwt_signal.ml +++ b/test/react/test_lwt_signal.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt diff --git a/test/test.ml b/test/test.ml index 927f9ebf4c..56e1f1192d 100644 --- a/test/test.ml +++ b/test/test.ml @@ -1,23 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/test.mli b/test/test.mli index 37ab4c4bec..06d6ad81b0 100644 --- a/test/test.mli +++ b/test/test.mli @@ -1,23 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/test_unix.ml b/test/test_unix.ml index e098d4b5fa..fa75101b80 100644 --- a/test/test_unix.ml +++ b/test/test_unix.ml @@ -1,23 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2017 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/test_unix.mli b/test/test_unix.mli index cb86829038..0658621bf7 100644 --- a/test/test_unix.mli +++ b/test/test_unix.mli @@ -1,23 +1,5 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2017 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) diff --git a/test/unix/main.ml b/test/unix/main.ml index b7a85f434c..074ec1ff7b 100644 --- a/test/unix/main.ml +++ b/test/unix/main.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + let is_fd_open fd_ = let fd = (Obj.magic (int_of_string fd_) : Unix.file_descr) in diff --git a/test/unix/test_lwt_engine.ml b/test/unix/test_lwt_engine.ml index 0371ef31b7..103e02f069 100644 --- a/test/unix/test_lwt_engine.ml +++ b/test/unix/test_lwt_engine.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2016 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt.Infix diff --git a/test/unix/test_lwt_fmt.ml b/test/unix/test_lwt_fmt.ml index d6f215820b..2400263ff0 100644 --- a/test/unix/test_lwt_fmt.ml +++ b/test/unix/test_lwt_fmt.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2018 Gabriel Radanne - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt.Infix diff --git a/test/unix/test_lwt_io.ml b/test/unix/test_lwt_io.ml index 8f8c242450..116b95d0d7 100644 --- a/test/unix/test_lwt_io.ml +++ b/test/unix/test_lwt_io.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2009 Jérémie Dimino - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 diff --git a/test/unix/test_lwt_io_non_block.ml b/test/unix/test_lwt_io_non_block.ml index b161ad12f0..4a8b21daa9 100644 --- a/test/unix/test_lwt_io_non_block.ml +++ b/test/unix/test_lwt_io_non_block.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2010 Pierre Chambart - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt.Infix diff --git a/test/unix/test_lwt_process.ml b/test/unix/test_lwt_process.ml index 2fdd35720b..25bde6cbe8 100644 --- a/test/unix/test_lwt_process.ml +++ b/test/unix/test_lwt_process.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2016 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt.Infix diff --git a/test/unix/test_lwt_timeout.ml b/test/unix/test_lwt_timeout.ml index 39d748a97e..9b0d843583 100644 --- a/test/unix/test_lwt_timeout.ml +++ b/test/unix/test_lwt_timeout.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2018 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt.Infix diff --git a/test/unix/test_lwt_unix.cppo.ml b/test/unix/test_lwt_unix.cppo.ml index d6ecd9e80d..f48202903d 100644 --- a/test/unix/test_lwt_unix.cppo.ml +++ b/test/unix/test_lwt_unix.cppo.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2016 Anton Bachin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Test open Lwt.Infix diff --git a/test/unix/test_mcast.ml b/test/unix/test_mcast.ml index 8a21c1d6b7..1c8908b540 100644 --- a/test/unix/test_mcast.ml +++ b/test/unix/test_mcast.ml @@ -1,23 +1,7 @@ -(* OCaml promise library - * http://www.ocsigen.org/lwt - * Copyright (C) 2015 Nicolas Ojeda Bar - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, with linking exceptions; - * either version 2.1 of the License, or (at your option) any later - * version. See COPYING file for details. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - *) +(* This file is part of Lwt, released under the MIT license. See LICENSE.md for + details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) + + open Lwt.Infix open Test