Various fixes and improvements.

This commit is contained in:
C. Guy Yarvin 2014-03-04 11:17:34 -08:00
parent dd4a42b345
commit 3b98f316a0
3 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,7 @@ LIB=$(PWD)/lib
RM=rm -f
CC=gcc
CLD=gcc -O3 -L/usr/local/lib -L/opt/local/lib
CLD=gcc -g -L/usr/local/lib -L/opt/local/lib
YACC=bison -v -b$(GENERATED)/y
LEX=lex
@ -56,7 +56,7 @@ INCLUDE=include
GENERATED=generated
MDEFINES=-DU2_OS_$(OS) -DU2_OS_ENDIAN_$(ENDIAN) -D U2_LIB=\"$(LIB)\"
CFLAGS=-O3 \
CFLAGS=-g \
-I/usr/local/include \
-I/opt/local/include \
-I$(INCLUDE) \

View File

@ -968,7 +968,7 @@ u2_cn_mink(u2_noun bus,
{
res = _nock_moog(bus, fol);
}
c3_assert(lad == u2ft(u2_hevn_at(lad)));
// c3_assert(lad == u2ft(u2_hevn_at(lad)));
u2z(u2_hevn_at(lad));
u2_hevn_at(lad) = lad;

View File

@ -284,6 +284,7 @@ main(c3_i argc,
}
// Seed prng. Don't panic -- just for fuzz testing and election timeouts.
//
srand(getpid());
// Instantiate process globals.