Lino Sanfilippo | 12 Nov 2010 13:39
Favicon

[PATCH] adjust showfiles.c to new signal semantic


Hi,

this patch adjusts the test program (showfiles.c) to the new signal 
semantic that is used by dazukofs.
Without this the program may not be interruptable by SIGINT, SIGTERM and 
SIGHUP
(depending on the underlaying signal() call implementation).

It simply removes the unportable signal() with the portable sigaction() 
function.
It applies against dazukofs-3.1.4-rc3.

Regards,
Lino

Geschäftsführender Gesellschafter: Tjark Auerbach
Sitz der Gesellschaft: Tettnang
Handelsregister: Amtsgericht Ulm, HRB 630992
ALLGEMEINE GESCHÄFTSBEDINGUNGEN
Es gelten unsere Allgemeinen Geschäftsbedingungen
(AGB). Sie finden sie in der jeweils gültigen Fassung
im Internet unter http://www.avira.com/de/standard-terms-conditions-business-de
***************************************************
diff -Nurp dazukofs-3.1.4-rc3/test/showfiles.c dazukofs-3.1.4-rc3-PATCH1/test/showfiles.c
--- dazukofs-3.1.4-rc3/test/showfiles.c	2008-10-25 00:08:30.000000000 +0200
+++ dazukofs-3.1.4-rc3-PATCH1/test/showfiles.c	2010-11-12 13:26:26.000000000 +0100
 <at>  <at>  -25,7 +25,7  <at>  <at> 
(Continue reading)


Gmane