The script has been unused for longer time.
Almost all remaining C warnings are just "FIXME" comments :-)
and I didn't touch the JS warnings.
pipe_ret = uv_pipe_open(&pipe, args->control_fd);
} else {
(void) mkdir("tty", S_IRWXU|S_IRWXG);
- sock_file = afmt("tty/%ld", getpid());
+ sock_file = afmt("tty/%ld", (long)getpid());
if (sock_file) {
pipe_ret = uv_pipe_bind(&pipe, sock_file);
}
+++ /dev/null
-#!/usr/bin/env python3
-"""
-Print IP address to binary representation in Python hex format \x12
-"""
-
-from socket import inet_pton, AF_INET6, AF_INET
-import sys
-from binascii import hexlify
-
-try:
- arg = sys.argv[1]
-except:
- sys.exit('Usage: inet_pton.py <IPv4 or IPv6 address>')
-
-if ':' in arg:
- addr_type = AF_INET6
-else:
- addr_type = AF_INET
-
-print(repr(inet_pton(addr_type, arg)).strip("'"))