git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5207496
)
Added SIGHUP when printer deleted as well as added.
author
Jeremy Allison
<jra@samba.org>
Wed, 13 Sep 2000 18:50:38 +0000
(18:50 +0000)
committer
Jeremy Allison
<jra@samba.org>
Wed, 13 Sep 2000 18:50:38 +0000
(18:50 +0000)
Jeremy.
source/rpc_server/srv_spoolss_nt.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_spoolss_nt.c
b/source/rpc_server/srv_spoolss_nt.c
index 5f69c097c7ad162be11b5462f7ce642b7dc3b624..4727ee8092de4de5ffeb3c71562217e06bba8d20 100644
(file)
--- a/
source/rpc_server/srv_spoolss_nt.c
+++ b/
source/rpc_server/srv_spoolss_nt.c
@@
-247,6
+247,9
@@
static BOOL delete_printer_handle(POLICY_HND *hnd)
DEBUGADD(10,("Unlinking output file [%s]\n", tmp_file));
unlink(tmp_file);
+ // Send SIGHUP to process group... is there a better way?
+ kill(0, SIGHUP);
+
if ( ( i = lp_servicenumber( Printer->dev.handlename ) ) >= 0 ) {
lp_remove_service( i );
lp_killservice( i );