unable to compile recent authsrv update

Wed, 3 Aug 2016 21:58:42 EDT lawler.
jack51@[REDACTED]

—001a114762c4cc6e7a0539354951 Content-Type: text/plain; charset=UTF-8

This is the error I got

pcc -TVwc -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_NET_EXTENSION -I. -I../9 -I/sys/src/libauth /sys/src/libauthsrv/passtokey.c /sys/src/libauthsrv/passtokey.c:9[stdin:2302] name not declared: PASSWDLEN /sys/src/libauthsrv/passtokey.c:9[stdin:2302] array size must be a positive constant /sys/src/libauthsrv/passtokey.c:13[stdin:2306] name not declared: PASSWDLEN /sys/src/libauthsrv/passtokey.c:14[stdin:2307] name not declared: PASSWDLEN

I added PASSWDLEN = 28 to the enum in /sys/src/ape/lib/auth/authsrv.h and got it to compile. Is that the right fix?

—001a114762c4cc6e7a0539354951 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

<span>This is the error I got</span><br><span> </span><br><span> pcc -TVwc -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_NET_EXTENSION -I. -I../9 -I/sy= s/src/libauth /sys/src/libauthsrv/passtokey.</span><span>c</span><br><span> /sys/src/libauthsrv/passtokey.</span><span>c:9[stdin:2302] name not declare= d: PASSWDLEN</span><br><span> /sys/src/libauthsrv/passtokey.</span><span>c:9[stdin:2302] array size must = be a positive constant</span><br><span> /sys/src/libauthsrv/passtokey.</span><span>c:13[stdin:2306] name not declar= ed: PASSWDLEN</span><br><span> /sys/src/libauthsrv/passtokey.</span><span>c:14[stdin:2307] name not declar= ed: PASSWDLEN</span><br><span> </span><br><span> I added PASSWDLEN =3D 28 to the enum in /sys/src/ape/lib/auth/authsrv.</spa= n><span>h and got it to compile.=C2=A0 Is that the right fix?</span><br><sp= an> </span>

—001a114762c4cc6e7a0539354951—


Thu, 4 Aug 2016 20:43:31 EDT sl