Hi [email protected]! 

On Mon, 6 Jun 2011 18:20:50 GMT; [email protected] wrote about 'Re: bin/155034: 
[PATCH] dd(1) dies on SIGUSR1; should print info':

> Synopsis: [PATCH] dd(1) dies on SIGUSR1; should print info

> State-Changed-From-To: open->closed
> State-Changed-By: jh
> State-Changed-When: Mon Jun 6 18:04:17 UTC 2011
> State-Changed-Why: 
> Not a bug. As far as I can see ignoring the signal would violate POSIX:

> "For SIGINT, the dd utility shall interrupt its current processing,
> write status information to standard error, and exit as though
> terminated by SIGINT. It shall take the standard action for all other
> signals; - -"

The originator requested compatibilty shim with Linux dd, in fact:

info dd:
   Sending an `INFO' signal to a running `dd' process makes it print
I/O statistics to standard error and then resume copying.
[...]
   On systems lacking the `INFO' signal `dd' responds to the `USR1'
signal instead, unless the `POSIXLY_CORRECT' environment variable is
set.


-- 
WBR, Vadim Goncharov. ICQ#166852181       mailto:[email protected]
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to