--- /dev/null
+- Implement security policy module
+- Add berkeley db4 support
+- Add a Timer module
+ - Should have sleep, usleep, nanosleep etc, as well as setitimer support
+- Add a Signal module to install custom JS handlers. Ideally, signal would
+ get queued then user handler called when exiting the signal handler...
+ With automatic signal blocking during processing.
-/* $Id: js_file.c,v 1.8 2006/10/27 05:20:07 mmondor Exp $ */
+/* $Id: js_file.c,v 1.9 2006/11/26 14:53:00 mmondor Exp $ */
/*
* Copyright (c) 2006, Matthew Mondor
f->vbuf = NULL;
f->vbufsize = 0;
- if ((f->fh = popen(cmd, mode)) != 0) {
+ if ((f->fh = popen(cmd, mode)) == NULL) {
QUEUE_EXCEPTION(strerror(errno));
goto err;
}