may/lispweb — Issue #10: empty footer.lsp causes 500
Author: may
Created: 2011-12-14 23:57:46+00:00
State: open
Labels: bug, wishlist

If a footer.lsp file is present, but has nothing in it, lispweb crashes on the (load 'footer.lsp') call; newlisp needs something in there. If memory serves, problem should also exist w/ header.lsp loading.

File: shiny.lsp

Proposed code change: if exists, check if file is empty before reading via (file-info).
Problem with this: two disk hits.

Talk to lutz (newlisp author) about handling empty files more gracefully?