Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Allow SAFECAT to work on uchar arrays

Caught by CID 331001

The use of SAFECAT() with a typecast to a pointer is not going to work as expected. This change broke line-based telnet-gateway functionality (unconfirmed, but pretty obvious).
14 jobs for master in 9 minutes and 11 seconds (queued for 11 seconds)
Status Job ID Name Coverage
  Build
passed #18686
FreeBSD
jsdoor-freebsd

00:05:23

passed #18687
Linux
jsdoor-linux

00:06:33

passed #18689
FreeBSD
jsdoor-windows

00:02:36

passed #18681
FreeBSD
sbbs-freebsd

00:07:30

passed #18676
Linux
sbbs-linux

00:09:07

passed #18679
Windows
sbbs-windows

00:05:19

passed #18688
FreeBSD
sexpots-freebsd

00:00:11

passed #18677
Linux
sexpots-linux

00:00:33

passed #18680
Windows
sexpots-windows

00:00:28

passed #18684
FreeBSD
syncdraw-freebsd

00:00:27

passed #18685
Linux
syncdraw-linux

00:01:46

passed #18682
FreeBSD
syncterm-freebsd

00:01:18

failed #18678
Linux
syncterm-linux

00:01:09

passed #18683
FreeBSD
syncterm-windows

00:02:22

 
Name Stage Failure
failed
syncterm-linux Build
/usr/bin/ld: ripper.c:(.text+0x8afc): undefined reference to `vstatlock'
/usr/bin/ld: ripper.c:(.text+0x8b0b): undefined reference to `vstat'
/usr/bin/ld: ripper.c:(.text+0x965a): undefined reference to `vstatlock'
/usr/bin/ld: ripper.c:(.text+0x9669): undefined reference to `vstat'
/usr/bin/ld: ripper.c:(.text+0x967d): undefined reference to `vstatlock'
/usr/bin/ld: ripper.c:(.text+0x97a8): undefined reference to `vstat'
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:111: gcc.linux.x64.exe.release/syncterm] Error 1
ERROR: Job failed: exit status 1