summary refs log tree commit diff
path: root/bin/pbd.c
diff options
context:
space:
mode:
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..fcc5d2cf 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, June 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>