Displaying 4 results from an estimated 4 matches for "usr1_handler".
2000 May 31
3
smbmount problems when mounted share goes offline.
(using samba-2.0.7 on Debian Linux 2.2.15)
Hi,
I'm wondering how do I get around the problem when you smbmount a share on
a win32 machine and that machine reboots, the mount becomes a blackhole. If
you attempt an 'ls', 'df' or anything that would access that mount point the
program then goes into a state of void and cannot be killed, leaving the
proc open until reboot
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...ive */
+ pstrcpy(remote_machine, "smbmount"); /* sneaky ... */
+ setup_logging("mount.smbfs",False);
+ reopen_logs();
+
closed = 1;
- dbf = NULL;
- close_our_files(c?c->fd:-1);
}
-#endif
- /* Wait for a signal from smbfs ... */
- CatchSignal(SIGUSR1, &usr1_handler);
- pause();
-#ifdef SMBFS_DEBUG
- DEBUG(2,("mount.smbfs: got signal, getting new socket\n"));
-#endif
- c = do_connection(service);
+ /* Wait for a signal from smbfs ... but don't continue
+ until we actually get a new connection. */
+ while (!c) {
+ CatchSig...
2000 Jun 13
1
a bug in smbmount
...--- smbmount.c.ORIG Thu Nov 11 00:00:00 1999
+++ smbmount.c Tue Jun 13 14:00:23 2000
@@ -342,7 +342,7 @@
close_our_files(c?c->fd:-1);
}
#endif
-
+failed:
/* Wait for a signal from smbfs ... */
CatchSignal(SIGUSR1, &usr1_handler);
pause();
@@ -350,6 +350,7 @@
DEBUG(2,("mount.smbfs: got signal, getting new socket\n"));
#endif
c = do_connection(service);
+ if(c==NULL) goto failed;
}
smb_umount(mount_point);
----------------------------...
2008 Jan 24
2
building 64 bit binaries from source
..._x86_64.c:490: error: 'segv_handler' undeclared (first use in
this function)
signal_x86_64.c:492: error: 'abrt_handler' undeclared (first use in
this function)
signal_x86_64.c:493: error: 'quit_handler' undeclared (first use in
this function)
signal_x86_64.c:494: error: 'usr1_handler' undeclared (first use in
this function)
signal_x86_64.c:499: error: 'trap_handler' undeclared (first use in
this function)
*** Error code 1
Stop in /usr/home/aryeh/wine/dlls/ntdll.
*** Error code 1
- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business,...