mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
Change license
This commit is contained in:
parent
548dcb9f08
commit
37a4c70c36
1957 changed files with 20675 additions and 55475 deletions
|
@ -3,19 +3,18 @@
|
|||
╞══════════════════════════════════════════════════════════════════════════════╡
|
||||
│ Copyright 2020 Justine Alexandra Roberts Tunney │
|
||||
│ │
|
||||
│ This program is free software; you can redistribute it and/or modify │
|
||||
│ it under the terms of the GNU General Public License as published by │
|
||||
│ the Free Software Foundation; version 2 of the License. │
|
||||
│ Permission to use, copy, modify, and/or distribute this software for │
|
||||
│ any purpose with or without fee is hereby granted, provided that the │
|
||||
│ above copyright notice and this permission notice appear in all copies. │
|
||||
│ │
|
||||
│ 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 │
|
||||
│ General Public License for more details. │
|
||||
│ │
|
||||
│ You should have received a copy of the GNU General Public License │
|
||||
│ along with this program; if not, write to the Free Software │
|
||||
│ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA │
|
||||
│ 02110-1301 USA │
|
||||
│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │
|
||||
│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │
|
||||
│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │
|
||||
│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │
|
||||
│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │
|
||||
│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │
|
||||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/alg/alg.h"
|
||||
#include "libc/assert.h"
|
||||
|
@ -38,22 +37,7 @@
|
|||
* @fileoverview Pretty fast substring refactor tool.
|
||||
*/
|
||||
|
||||
#if 0
|
||||
static const char kBefore[] = "\
|
||||
│ Copyright 2019 Justine Alexandra Roberts Tunney │\n\
|
||||
│ │\n\
|
||||
│ Copying of this file is authorized only if (1) you are Justine Tunney, or │\n\
|
||||
│ (2) you make absolutely no changes to your copy. │\n\
|
||||
│ │\n\
|
||||
│ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES │\n\
|
||||
│ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF │\n\
|
||||
│ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR │\n\
|
||||
│ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES │\n\
|
||||
│ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN │\n\
|
||||
│ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF │\n\
|
||||
│ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. │\n\
|
||||
";
|
||||
const char kAfter[] = "\
|
||||
│ Copyright 2020 Justine Alexandra Roberts Tunney │\n\
|
||||
│ │\n\
|
||||
│ This program is free software; you can redistribute it and/or modify │\n\
|
||||
|
@ -70,12 +54,29 @@ const char kAfter[] = "\
|
|||
│ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA │\n\
|
||||
│ 02110-1301 USA │\n\
|
||||
";
|
||||
#endif
|
||||
const char kAfter[] = "\
|
||||
│ Copyright 2020 Justine Alexandra Roberts Tunney │\n\
|
||||
│ │\n\
|
||||
│ Permission to use, copy, modify, and/or distribute this software for │\n\
|
||||
│ any purpose with or without fee is hereby granted, provided that the │\n\
|
||||
│ above copyright notice and this permission notice appear in all copies. │\n\
|
||||
│ │\n\
|
||||
│ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL │\n\
|
||||
│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │\n\
|
||||
│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │\n\
|
||||
│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │\n\
|
||||
│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │\n\
|
||||
│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │\n\
|
||||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │\n\
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │\n\
|
||||
";
|
||||
|
||||
#if 0
|
||||
static const char kBefore[] = "\
|
||||
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│";
|
||||
const char kAfter[] = "\
|
||||
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│";
|
||||
#endif
|
||||
|
||||
void RefactorFile(const char *path) {
|
||||
int fd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue