lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, 27 Feb 2010 09:34:49 -0300
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

> > It appears that the command line Lua interpreter does not trap
> > SIGPIPE:  
> 
> It does not. lua.c is mostly an ANSI C program. It'd have to be a
> POSIX program to trap SIGPIPE.

Although I notice that 5.2-work2 optionally includes unistd.h, so
perhaps it could optionally trap SIGPIPE?

B.