diff options
author | June McEnroe <programble@gmail.com> | 2017-09-06 14:01:48 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-09-06 14:01:48 -0400 |
commit | f77fae1335c562b720c4a6d4aa710f8627eaaff6 (patch) | |
tree | d027fc65a47a79db548ef797d95539952b17ba42 /bin/pbd.c | |
parent | Rename curtis -> home (diff) | |
download | src-f77fae1335c562b720c4a6d4aa710f8627eaaff6.tar.gz src-f77fae1335c562b720c4a6d4aa710f8627eaaff6.zip |
Move C code to bin, Makefile, AGPL
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x] | bin/pbd.c (renamed from home/.bin/pbd.c) | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/home/.bin/pbd.c b/bin/pbd.c index 01e5c07d..efc6000b 100755..100644 --- a/home/.bin/pbd.c +++ b/bin/pbd.c @@ -1,14 +1,21 @@ -#if 0 -set -e -bin=$(dirname $0) -cc -Wall -Wextra -pedantic $@ -o $bin/pbd $0 -ln -f $bin/pbd $bin/pbcopy -ln -f $bin/pbd $bin/pbpaste -exit -#endif - -// TCP server which pipes between macOS pbcopy and pbpaste, and pbcopy and -// pbpaste implementations which connect to it. +/* TCP server which pipes between macOS pbcopy and pbpaste, and pbcopy and + * pbpaste implementations which connect to it. + * + * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <arpa/inet.h> #include <err.h> |