+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spl-1.0pre3nb36/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spl-1.0pre3nb36/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for spl-1.0pre3nb36 Auto-generating build configuration.. Checking for pcre: found. Checking for expat: found. Checking for sqlite: not found. Checking for mysql: not found. Checking for postgres: not found. Checking for libxml2: not found. Checking for libxslt: not found. Checking for libsdl: not found. Checking for libcurl: not found. Checking for libuuid: not found. Checking for libfann: not found. Checking for libsmoke: not found. Checking for readline: found. Checking for gettext_libc: found. Checking for gettext_intl: not found. Checking for pthread: found. gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o splrun.o splrun.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o state.o state.c In file included from splrun.c:39: splrun.c: In function 'main': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf splrun.c:259:17: note: in expansion of macro 'my_asprintf' 259 | my_asprintf(&vm->path, ".:./spl_modules:%s", spl_system_modules_dir()); | ^~~~~~~~~~~ splrun.c:274:25: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | ftruncate(fileno(opt_dump_file), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splrun.c:354:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 354 | write(fd, magic_cookie, strlen(magic_cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o exec.o exec.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o asm.o asm.c In file included from exec.c:33: exec.c: In function 'spl_exec': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf exec.c:131:17: note: in expansion of macro 'my_asprintf' 131 | my_asprintf(&s, "[SPL Codepointer: %s]", task->debug_str); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf exec.c:133:17: note: in expansion of macro 'my_asprintf' 133 | my_asprintf(&s, "[SPL Codepointer: byte %d in '%s']", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf exec.c:1469:27: note: in expansion of macro 'my_asprintf' 1469 | case '+': my_asprintf(&new, "-%s", old+1); break; | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf exec.c:1470:27: note: in expansion of macro 'my_asprintf' 1470 | default: my_asprintf(&new, "-%s", old); break; | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o compiler.o compiler.c In file included from compiler.y:48: y.tab.c: In function 'spl_yyparse': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:263:25: note: in expansion of macro 'my_asprintf' 263 | my_asprintf(&label, "L%d:%s", lbstack_value(), $1); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:275:25: note: in expansion of macro 'my_asprintf' 275 | my_asprintf(&label, "L%d:%s", lbstack_value(), $2); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:798:25: note: in expansion of macro 'my_asprintf' 798 | my_asprintf(&fname, "encode_%s", $1); | ^~~~~~~~~~~ compiler.y: In function 'create_debug_op': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3668:9: note: in expansion of macro 'my_asprintf' 3668 | my_asprintf(&newinfo, "%d:%d:%s", | ^~~~~~~~~~~ compiler.y: In function 'spl_yyerror': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3876:9: note: in expansion of macro 'my_asprintf' 3876 | my_asprintf(&code, "%.40s", lex_last_item->pos-30 > orig_input ? lex_last_item->pos-30 : orig_input); | ^~~~~~~~~~~ compiler.y: In function 'spl_compiler': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3803:17: note: in expansion of macro 'my_asprintf' 3803 | my_asprintf(&code, "%.40s", input-30 > orig_input ? input-30 : orig_input); | ^~~~~~~~~~~ compiler.y: In function 'spl_lex_prog': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3113:25: note: in expansion of macro 'my_asprintf' 3113 | my_asprintf(&lex_errstr, "Unexpected end-of-file (expected '%s').", term); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3137:33: note: in expansion of macro 'my_asprintf' 3137 | my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 16)); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3142:33: note: in expansion of macro 'my_asprintf' 3142 | my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 8)); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3147:33: note: in expansion of macro 'my_asprintf' 3147 | my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 2)); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3166:33: note: in expansion of macro 'my_asprintf' 3166 | my_asprintf(®ex_result_id, "#reres.%.*s", len++, input); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3183:33: note: in expansion of macro 'my_asprintf' 3183 | my_asprintf(®ex_result_id, "#reres.%.*s", len, input); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3252:57: note: in expansion of macro 'my_asprintf' 3252 | my_asprintf(&lex_errstr, "Endless recursion in macro expansion."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3376:25: note: in expansion of macro 'my_asprintf' 3376 | my_asprintf(&lex_errstr, "Unexpected '%c'.", *input); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3473:33: note: in expansion of macro 'my_asprintf' 3473 | my_asprintf(&lex_errstr, "Error in regex syntax."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3497:41: note: in expansion of macro 'my_asprintf' 3497 | my_asprintf(&lex_errstr, "Error in regex syntax."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3500:33: note: in expansion of macro 'my_asprintf' 3500 | my_asprintf(&new_mod, "%sEANP", mod); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3590:49: note: in expansion of macro 'my_asprintf' 3590 | my_asprintf(&lex_errstr, "End label missing."); | ^~~~~~~~~~~ compiler.y: In function 'spl_lex_pragma': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2228:25: note: in expansion of macro 'my_asprintf' 2228 | my_asprintf(&lex_errstr, "Can't find end label for #%s.", stmt); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2262:25: note: in expansion of macro 'my_asprintf' 2262 | my_asprintf(&lex_errstr, "Can't open #file-as-const file (%s%s).", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2273:25: note: in expansion of macro 'my_asprintf' 2273 | my_asprintf(&lex_errstr, "Can't open #file-as-code file (%s%s).", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2298:25: note: in expansion of macro 'my_asprintf' 2298 | my_asprintf(&lex_errstr, "Can't open #file-as-template file (%s%s).", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2333:25: note: in expansion of macro 'my_asprintf' 2333 | my_asprintf(&lex_errstr, "Can't open #file-as-bytecode file (%s).", arg); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2337:25: note: in expansion of macro 'my_asprintf' 2337 | my_asprintf(&lex_errstr, "Bytecode from #file-as-bytecode file (%s) has invalid signature.", arg); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2360:9: note: in expansion of macro 'my_asprintf' 2360 | my_asprintf(&lex_errstr, "Unknown compiler-pragma #%s.", stmt); | ^~~~~~~~~~~ compiler.y: In function 'malloc_file_wrapper': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:1978:17: note: in expansion of macro 'my_asprintf' 1978 | my_asprintf(&token, "#embedded-file %s ", filename); | ^~~~~~~~~~~ compiler.y: In function 'import_asm': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2053:17: note: in expansion of macro 'my_asprintf' 2053 | my_asprintf(&lex_errstr, "Error while importing bytecode file."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2075:33: note: in expansion of macro 'my_asprintf' 2075 | my_asprintf(&lex_errstr, "Error while importing bytecode file."); | ^~~~~~~~~~~ compiler.y: In function 'spl_lex_prog_string': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3084:9: note: in expansion of macro 'my_asprintf' 3084 | my_asprintf((char**)&lex_srcfile_current->name, "%s:byte(%d)", | ^~~~~~~~~~~ compiler.y: In function 'spl_lex_string': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2941:33: note: in expansion of macro 'my_asprintf' 2941 | my_asprintf(&translate_token, "{%d}", lex_translate_count++); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2996:41: note: in expansion of macro 'my_asprintf' 2996 | my_asprintf(®ex_result_id, "#reres.%.*s", inner_len, input); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3009:49: note: in expansion of macro 'my_asprintf' 3009 | my_asprintf(®ex_result_id, "#reres.%s", *input == '-' ? "=NC" : "=LC"); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3011:49: note: in expansion of macro 'my_asprintf' 3011 | my_asprintf(®ex_result_id, "#reres.%.*s", inner_len, input); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:3041:41: note: in expansion of macro 'my_asprintf' 3041 | my_asprintf(&lex_errstr, "Unrecognised $ substitution in string."); | ^~~~~~~~~~~ compiler.y: In function 'spl_lex_splifcalltag': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2429:9: note: in expansion of macro 'my_asprintf' 2429 | my_asprintf(&funcname, "%s_%.*s", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2432:9: note: in expansion of macro 'my_asprintf' 2432 | my_asprintf(&endtag, "</%s:%.*s>", | ^~~~~~~~~~~ compiler.y: In function 'spl_lex_spltag': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2570:25: note: in expansion of macro 'my_asprintf' 2570 | my_asprintf(&lex_errstr, "missing </spl:comment>."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2622:25: note: in expansion of macro 'my_asprintf' 2622 | my_asprintf(&lex_errstr, "<spl:var ..> requires attribute 'var'."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2629:17: note: in expansion of macro 'my_asprintf' 2629 | my_asprintf(&var_name_dup, "[*].%s", attr_var); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2664:25: note: in expansion of macro 'my_asprintf' 2664 | my_asprintf(&lex_errstr, "<spl:if ..> requires attribute 'code'."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2691:25: note: in expansion of macro 'my_asprintf' 2691 | my_asprintf(&lex_errstr, "<spl:foreach ..> requires attributes 'var' and 'list'."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2734:17: note: in expansion of macro 'my_asprintf' 2734 | my_asprintf(&lex_errstr, "Found <spl:else> tag without prior <spl:if> or <splif:*> tag."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf compiler.y:2738:9: note: in expansion of macro 'my_asprintf' 2738 | my_asprintf(&lex_errstr, "Unknown <spl:*> tag: %s", tag); | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o dump.o dump.c compiler.y: In function 'breakcont_label': compiler.y:98:49: warning: 'free' called on unallocated object 'label' [-Wfree-nonheap-object] 98 | spl_yyerror("Assembler error"); free(label); return 1; | ^~~~~~~~~~~ compiler.y:95:14: note: declared here 95 | char label[100]; | ^~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o restore.o restore.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o clib.o clib.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o util.o util.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o builtins.o builtins.c In file included from builtins.c:47: builtins.c: In function 'spl_builtin_fmt': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf builtins.c:420:33: note: in expansion of macro 'my_asprintf' 420 | my_asprintf(&insert, "%*.*s", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf builtins.c:465:41: note: in expansion of macro 'my_asprintf' 465 | my_asprintf(&insert, "%-*s", width, buffer); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf builtins.c:487:41: note: in expansion of macro 'my_asprintf' 487 | my_asprintf(&insert, fmt_string, | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf builtins.c:490:41: note: in expansion of macro 'my_asprintf' 490 | my_asprintf(&insert, "%.*f", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf builtins.c:497:33: note: in expansion of macro 'my_asprintf' 497 | my_asprintf(&insert, "(format_string_error:%c)", *format_end); | ^~~~~~~~~~~ builtins.c: In function 'spl_builtin_rand': builtins.c:529:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | read(fd, &seed, sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o optimizer.o optimizer.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o report.o report.c In file included from report.c:30: report.c: In function 'spl_report_file': compat.h:141:24: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | # define my_vasprintf vasprintf report.c:73:9: note: in expansion of macro 'my_vasprintf' 73 | my_vasprintf(&msg, fmt, ap); | ^~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o treedump.o treedump.c In file included from treedump.c:28: treedump.c: In function 'bt_layout_info': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf treedump.c:320:17: note: in expansion of macro 'my_asprintf' 320 | my_asprintf(info_p, " (byte %d in code block '%s')", | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf treedump.c:336:9: note: in expansion of macro 'my_asprintf' 336 | my_asprintf(info_p, " (near line %d, char %d in '%s')", lineno, charno, srcfile); | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o gc.o gc.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o rccheck.o rccheck.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o debug.o debug.c debug.c: In function 'check_breakpoint': debug.c:111:32: warning: ignoring return value of 'atoi' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | (void) atoi(strtok(NULL, ":")); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o string.o string.c In file included from string.c:30: string.c: In function 'spl_string_printf': compat.h:141:24: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | # define my_vasprintf vasprintf string.c:91:17: note: in expansion of macro 'my_vasprintf' 91 | my_vasprintf(&text, fmt, ap); | ^~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o utf8.o utf8.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o hnode.o hnode.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o sha1.o sha1.c echo 'extern const char *spl_system_modules_dir();\ const char *spl_system_modules_dir() { return "/usr/pkg/lib64/spl_modules"; }' > moddir.c.new mv moddir.c.new moddir.c awk 'BEGIN{ \ print "#include \"spl.h\""; \ print "const struct spl_asm_op spl_ops[] = {" } \ /^#define SPL_OP_/{ \ gsub("SPL_OP_", ""); \ optype=0; q="'\''"; \ if ($5 == "JUMP") optype="J"; \ if ($5 == "BRANCH") optype="B"; \ if ($5 == "CONDIT") optype="C"; \ if ($5 == "ENDBRANCH") optype="E"; \ if ($5 == "UNARYOP") optype="1"; \ if ($5 == "BINARYOP") optype="2"; \ if ($5 == "STATICOP") optype="S"; \ print "\t{ \"" $2 "\",\t"$3 ",\t" q optype q " }," } \ END{ \ print "{ 0, 0, 0 }"; \ print "};"; }' spl.h > spl_op.c.new mv spl_op.c.new spl_op.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_bits.o spl_modules/mod_bits.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_cgi.o spl_modules/mod_cgi.c In file included from spl_modules/mod_cgi.c:39: spl_modules/mod_cgi.c: In function 'parse_query_string_multiformdat': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_cgi.c:111:9: note: in expansion of macro 'my_asprintf' 111 | my_asprintf(&real_boundary, "\r\n--%s", boundary); | ^~~~~~~~~~~ spl_modules/mod_cgi.c: In function 'handler_cgi_node': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_cgi.c:555:17: note: in expansion of macro 'my_asprintf' 555 | my_asprintf(&this_session, "%.*s:%s", (int)strcspn(ctx->session, ":"), ctx->session, task->id); | ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_cgi.c:560:17: note: in expansion of macro 'my_asprintf' 560 | my_asprintf(&this_session, "%.*s", (int)strcspn(ctx->session, ":"), ctx->session); | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_crypt.o spl_modules/mod_crypt.c spl_modules/mod_crypt.c: In function 'handler_crypt': spl_modules/mod_crypt.c:70:41: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | read(fd, &random_byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ spl_modules/mod_crypt.c:79:33: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | read(fd, &random_byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ spl_modules/mod_crypt.c:81:33: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | read(fd, &random_byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_encode_xml.o spl_modules/mod_encode_xml.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_environ.o spl_modules/mod_environ.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_file.o spl_modules/mod_file.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_format_xml.o spl_modules/mod_format_xml.c In file included from spl_modules/mod_format_xml.c:33: spl_modules/mod_format_xml.c: In function 'handler_format_xml_parse': spl_modules/mod_format_xml.c:350:40: warning: format '%d' expects argument of type 'int', but argument 5 has type 'XML_Size' {aka 'long unsigned int'} [-Wformat=] 350 | SPL_NEW_PRINTF("XML Parse error at line %d: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | XML_GetCurrentLineNumber(p), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | XML_Size {aka long unsigned int} /home/pbulk/build/lang/spl/work/spl-1.0pre3/spl.h:407:65: note: in definition of macro 'SPL_NEW_SPL_STRING' 407 | #define SPL_NEW_SPL_STRING(__v) spl_set_spl_string(spl_get(0), (__v)) | ^~~ spl_modules/mod_format_xml.c:350:25: note: in expansion of macro 'SPL_NEW_PRINTF' 350 | SPL_NEW_PRINTF("XML Parse error at line %d: %s", | ^~~~~~~~~~~~~~ spl_modules/mod_format_xml.c:350:66: note: format string is defined here 350 | SPL_NEW_PRINTF("XML Parse error at line %d: %s", | ~^ | | | int | %ld In file included from spl_modules/mod_format_xml.c:34: spl_modules/mod_format_xml.c: In function 'chardata_hdl': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_format_xml.c:323:25: note: in expansion of macro 'my_asprintf' 323 | my_asprintf(&id, "C%d", last_is_char); | ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_format_xml.c:330:25: note: in expansion of macro 'my_asprintf' 330 | my_asprintf(&id, "C%d", last_is_char); | ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_format_xml.c:334:25: note: in expansion of macro 'my_asprintf' 334 | my_asprintf(&txt, "%s%.*s", spl_get_string(n), len, s); | ^~~~~~~~~~~ spl_modules/mod_format_xml.c: In function 'chardata_cleanup': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_format_xml.c:244:17: note: in expansion of macro 'my_asprintf' 244 | my_asprintf(&id, "C%d", last_is_char); | ^~~~~~~~~~~ spl_modules/mod_format_xml.c: In function 'element_start_hdl': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_format_xml.c:291:17: note: in expansion of macro 'my_asprintf' 291 | my_asprintf(&id, "E%d:%s", stack_count(el, +1), el); | ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_format_xml.c:301:25: note: in expansion of macro 'my_asprintf' 301 | my_asprintf(&id, "A:%s", attr[i]); | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_multimouse.o spl_modules/mod_multimouse.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_prime.o spl_modules/mod_prime.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_sql.o spl_modules/mod_sql.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_system.o spl_modules/mod_system.c In file included from spl_modules/mod_sql.c:36: spl_modules/mod_sql.c: In function 'handler_sql_connect': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_sql.c:139:9: note: in expansion of macro 'my_asprintf' 139 | my_asprintf(&module, "sql_%s", driver_name); | ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_sql.c:145:9: note: in expansion of macro 'my_asprintf' 145 | my_asprintf(&driver, "%s:%s", driver_name, driver_data); | ^~~~~~~~~~~ spl_modules/mod_system.c: In function 'handler_system': spl_modules/mod_system.c:63:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | pipe(p); | ^~~~~~~ spl_modules/mod_system.c:72:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | chdir(task->vm->current_dir_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_termio.o spl_modules/mod_termio.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_time.o spl_modules/mod_time.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o webspl.o webspl.c webspl.c: In function 'main': webspl.c:84:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | getcwd(basedir, 1024); | ^~~~~~~~~~~~~~~~~~~~~ webspl.c:109:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | chdir(scriptdir); | ^~~~~~~~~~~~~~~~ In file included from webspl.c:37: compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl.c:121:9: note: in expansion of macro 'my_asprintf' 121 | my_asprintf(&vm->path, ".:./spl_modules:%s/spl_modules:%s", basedir, spl_system_modules_dir()); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl.c:122:9: note: in expansion of macro 'my_asprintf' 122 | my_asprintf(&vm->codecache_dir, "%s/webspl_cache", basedir); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl.c:176:17: note: in expansion of macro 'my_asprintf' 176 | my_asprintf(&dumpfile, "%s/webspl_cache/%.*s.spld", basedir, | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl.c:220:9: note: in expansion of macro 'my_asprintf' 220 | my_asprintf(&dumpfile, "%s/webspl_cache/%.*s.spld", basedir, (int)strcspn(vm->cgi_ctx->session, ":"), vm->cgi_ctx->session); | ^~~~~~~~~~~ webspl.c: In function 'get_session_lock': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl.c:50:9: note: in expansion of macro 'my_asprintf' 50 | my_asprintf(&lockfile, "%s/webspl_cache/%.*s.lock", | ^~~~~~~~~~~ webspl.c: In function 'free_session_lock': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl.c:72:9: note: in expansion of macro 'my_asprintf' 72 | my_asprintf(&lockfile, "%s/webspl_cache/%.*s.lock", | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o webspl_common.o webspl_common.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o webspld.o webspld.c In file included from webspl_common.c:43: webspl_common.c: In function 'create_dumpdir': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl_common.c:49:9: note: in expansion of macro 'my_asprintf' 49 | my_asprintf(&dumpdir, "%s/webspl_cache", basedir ? basedir : "."); | ^~~~~~~~~~~ webspl_common.c: In function 'expire_dumpdir': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl_common.c:67:9: note: in expansion of macro 'my_asprintf' 67 | my_asprintf(&dumpdir, "%s/webspl_cache", basedir ? basedir : "."); | ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspl_common.c:68:9: note: in expansion of macro 'my_asprintf' 68 | my_asprintf(×tamp_file, "%s/LAST_EXPIRE", dumpdir); | ^~~~~~~~~~~ webspld.c: In function 'main': webspld.c:642:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 642 | getcwd(daemon_basedir, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from webspld.c:46: webspld.c: In function 'webspld_vm_pool_get': compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf webspld.c:246:9: note: in expansion of macro 'my_asprintf' 246 | my_asprintf(&pool[oldest_entry].vm->path, ".:./spl_modules:%s/spl_modules:%s", daemon_basedir, spl_system_modules_dir()); | ^~~~~~~~~~~ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o httpsrv.o httpsrv.c sed -e 's;@CFLAGS@;-I/usr/pkg/include;' \ -e 's;@MODDIR@;/usr/pkg/lib64/spl_modules;' \ -e 's;@LDFLAGS@;-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib64 -rdynamic -pthread;' \ -e 's;@LDLIBS@;-ldl -lspl -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses;' \ < spl-config.templ > spl-config.new chmod +x spl-config.new mv spl-config.new spl-config gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o moddir.o moddir.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_op.o spl_op.c rm -f libspl.a ar qc libspl.a state.o exec.o asm.o compiler.o dump.o restore.o clib.o util.o builtins.o optimizer.o report.o treedump.o gc.o rccheck.o debug.o string.o utf8.o hnode.o sha1.o moddir.o spl_op.o ranlib libspl.a gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread splrun.o -ldl -lspl -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o splrun gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_bits.o -o spl_modules/mod_bits.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_cgi.o -o spl_modules/mod_cgi.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_crypt.o -lcrypt -o spl_modules/mod_crypt.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_encode_xml.o -o spl_modules/mod_encode_xml.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_environ.o -o spl_modules/mod_environ.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_file.o -o spl_modules/mod_file.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_format_xml.o -lexpat -o spl_modules/mod_format_xml.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_multimouse.o -o spl_modules/mod_multimouse.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_prime.o -o spl_modules/mod_prime.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_sql.o -o spl_modules/mod_sql.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_system.o -o spl_modules/mod_system.so ./splrun -N -e -x spl_modules/mod_task.splb spl_modules/mod_task.spl gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_termio.o -o spl_modules/mod_termio.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_time.o -o spl_modules/mod_time.so ./splrun -N -e -x spl_modules/mod_webdebug.splb spl_modules/mod_webdebug.spl ./splrun -N -e -x spl_modules/mod_encode_int.splb spl_modules/mod_encode_int.spl ./splrun -N -e -x spl_modules/mod_encode_js.splb spl_modules/mod_encode_js.spl ./splrun -N -e -x spl_modules/mod_encode_regex.splb spl_modules/mod_encode_regex.spl ./splrun -N -e -x spl_modules/mod_encode_url.splb spl_modules/mod_encode_url.spl ./splrun -N -e -x spl_modules/mod_format_ini.splb spl_modules/mod_format_ini.spl ./splrun -N -e -x spl_modules/mod_sql_utils.splb spl_modules/mod_sql_utils.spl ./splrun -N -e -x spl_modules/mod_w2t.splb spl_modules/mod_w2t.spl ./splrun -N -e -x spl_modules/mod_wsf.splb spl_modules/mod_wsf.spl ./splrun -N -e -x spl_modules/mod_wsf_action.splb spl_modules/mod_wsf_action.spl ./splrun -N -e -x spl_modules/mod_wsf_debug.splb spl_modules/mod_wsf_debug.spl ./splrun -N -e -x spl_modules/mod_wsf_dialog.splb spl_modules/mod_wsf_dialog.spl ./splrun -N -e -x spl_modules/mod_wsf_display.splb spl_modules/mod_wsf_display.spl ./splrun -N -e -x spl_modules/mod_wsf_edit.splb spl_modules/mod_wsf_edit.spl ./splrun -N -e -x spl_modules/mod_wsf_edit_sql.splb spl_modules/mod_wsf_edit_sql.spl ./splrun -N -e -x spl_modules/mod_wsf_graph.splb spl_modules/mod_wsf_graph.spl ./splrun -N -e -x spl_modules/mod_wsf_menu.splb spl_modules/mod_wsf_menu.spl ./splrun -N -e -x spl_modules/mod_wsf_switch.splb spl_modules/mod_wsf_switch.spl gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread webspl_common.o spl_modules/mod_cgi.o webspl.o -ldl state.o exec.o asm.o compiler.o dump.o restore.o clib.o util.o builtins.o optimizer.o report.o treedump.o gc.o rccheck.o debug.o string.o utf8.o hnode.o sha1.o moddir.o spl_op.o -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o webspl.cgi gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread webspl_common.o httpsrv.o spl_modules/mod_cgi.o webspld.o -ldl state.o exec.o asm.o compiler.o dump.o restore.o clib.o util.o builtins.o optimizer.o report.o treedump.o gc.o rccheck.o debug.o string.o utf8.o hnode.o sha1.o moddir.o spl_op.o -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o webspld ./splrun -N -e -x spl_modules/mod_array.splb spl_modules/mod_array.spl bash splb2splh.sh spl_modules/mod_task.splb > spl_modules/mod_task.splh.new bash splb2splh.sh spl_modules/mod_webdebug.splb > spl_modules/mod_webdebug.splh.new mv spl_modules/mod_task.splh.new spl_modules/mod_task.splh bash splb2splh.sh spl_modules/mod_array.splb > spl_modules/mod_array.splh.new mv spl_modules/mod_array.splh.new spl_modules/mod_array.splh gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_task.o spl_modules/mod_task.c mv spl_modules/mod_webdebug.splh.new spl_modules/mod_webdebug.splh gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_webdebug.o spl_modules/mod_webdebug.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_array.o spl_modules/mod_array.c gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_task.o -o spl_modules/mod_task.so In file included from spl_modules/mod_array.c:38: spl_modules/mod_array.c: In function 'handler_array_reindex': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | # define my_asprintf asprintf spl_modules/mod_array.c:69:17: note: in expansion of macro 'my_asprintf' 69 | my_asprintf(&s->key, "%d", node->subs_next_idx++); | ^~~~~~~~~~~ gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_webdebug.o -o spl_modules/mod_webdebug.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_array.o -o spl_modules/mod_array.so rm -rf spldoc; mkdir -p spldoc ./splrun -M spl_modules -pinfile=builtins.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_array.c,spl_modules/mod_array.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_bits.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_cgi.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_crypt.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_curl.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_int.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_js.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_regex.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_url.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_xml.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_environ.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_file.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_format_ini.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_format_xml.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_kde.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_multimouse.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_prime.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_qt.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sdl.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_mysql.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_postgres.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_sqlite.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_utils.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_system.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_task.c,spl_modules/mod_task.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_termio.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_time.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_uuidgen.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_w2t.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_webdebug.c,spl_modules/mod_webdebug.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_action.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_debug.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_dialog.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_display.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_edit.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_edit_sql.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_graph.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_menu.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_switch.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_xml.c, -poutdir=spldoc spldoc.spl ./splrun -pinfile=$( { ls -f README INSTALL README.LANG README.WEBSPL spldoc/builtins.txt; ls spldoc/*.txt | grep -vx spldoc/builtins.txt; echo README.API; } | tr '\n' ','; ) \ -ptitle='SPL Reference Manual http://www.clifford.at/spl/' \ -pauthor="Clifford Wolf" -poutfile=manual.tex -M spl_modules txt2tex.spl echo '<html><head><title>SPL Module Documentation: Index</title>' > spldoc/index.new echo '<style type="text/css"><!-- a { text-decoration:none; } --></style>' >> spldoc/index.new echo '</head><body bgcolor="#dddddd"><h1>SPL Module Documentation: Index</h1>' >> spldoc/index.new gawk '/ BEGIN / { idx=1; print "<hr>"; } idx { print; } / END / { idx=0; }' spldoc/*.html >> spldoc/index.new echo '<hr><table width="100%"><tr><td>Generated by SPLDOC.</td><td align="right">' >> spldoc/index.new echo '<a href="http://www.clifford.at/spl/">http://www.clifford.at/spl/</a>' >> spldoc/index.new echo '</td></tr></table></body></html>' >> spldoc/index.new mv spldoc/index.new spldoc/index.html rm spl_modules/mod_array.splb spl_modules/mod_task.splb spl_modules/mod_webdebug.splb