{"action":"opened","issue":{"url":"https://api.github.com/repos/skandhurkat/Getopt-for-Visual-Studio/issues/3","repository_url":"https://api.github.com/repos/skandhurkat/Getopt-for-Visual-Studio","labels_url":"https://api.github.com/repos/skandhurkat/Getopt-for-Visual-Studio/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/skandhurkat/Getopt-for-Visual-Studio/issues/3/comments","events_url":"https://api.github.com/repos/skandhurkat/Getopt-for-Visual-Studio/issues/3/events","html_url":"https://github.com/skandhurkat/Getopt-for-Visual-Studio/issues/3","id":153475117,"number":3,"title":"License violation","user":{"login":"sesse","id":238700,"avatar_url":"https://avatars.githubusercontent.com/u/238700?v=3","gravatar_id":"","url":"https://api.github.com/users/sesse","html_url":"https://github.com/sesse","followers_url":"https://api.github.com/users/sesse/followers","following_url":"https://api.github.com/users/sesse/following{/other_user}","gists_url":"https://api.github.com/users/sesse/gists{/gist_id}","starred_url":"https://api.github.com/users/sesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sesse/subscriptions","organizations_url":"https://api.github.com/users/sesse/orgs","repos_url":"https://api.github.com/users/sesse/repos","events_url":"https://api.github.com/users/sesse/events{/privacy}","received_events_url":"https://api.github.com/users/sesse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T15:21:58Z","updated_at":"2016-05-06T15:21:58Z","closed_at":null,"body":"Hi,\r\n\r\nYou seem to have copied getopt.c from mingw-w64 and copied it into getopt.h verbatim… except that you stripped the copyright and license information from the .c file, leaving the impression that the new getopt.h is in the public domain (which it isn't). You cannot do this—it is a copyright violation and a violation of the MinGW license, even if the README.md says you need to “follow the MinGW license”.\r\n\r\nFor reference, the copyright information you stripped reads:\r\n\r\n```\r\n/*\r\n * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>\r\n *\r\n * Permission to use, copy, modify, and distribute this software for any\r\n * purpose with or without fee is hereby granted, provided that the above\r\n * copyright notice and this permission notice appear in all copies.\r\n *\r\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\r\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\r\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\r\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\r\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\r\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\r\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\r\n *\r\n * Sponsored in part by the Defense Advanced Research Projects\r\n * Agency (DARPA) and Air Force Research Laboratory, Air Force\r\n * Materiel Command, USAF, under agreement number F39502-99-1-0512.\r\n */\r\n/*-\r\n * Copyright (c) 2000 The NetBSD Foundation, Inc.\r\n * All rights reserved.\r\n *\r\n * This code is derived from software contributed to The NetBSD Foundation\r\n * by Dieter Baron and Thomas Klausner.\r\n *\r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are permitted provided that the following conditions\r\n * are met:\r\n * 1. Redistributions of source code must retain the above copyright\r\n *    notice, this list of conditions and the following disclaimer.\r\n * 2. Redistributions in binary form must reproduce the above copyright\r\n *    notice, this list of conditions and the following disclaimer in the\r\n *    documentation and/or other materials provided with the distribution.\r\n *\r\n * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS\r\n * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\r\n * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\r\n * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r\n * POSSIBILITY OF SUCH DAMAGE.\r\n */\r\n```"}}