* [B.A.T.M.A.N.] [PATCH] Let the compiler interpret the noreturn situation in restore_and_exit correct
@ 2008-10-09 7:35 Sven Eckelmann
2008-10-12 22:47 ` [B.A.T.M.A.N.] configuration of B.A.T.M.A.N Resul Cetin
0 siblings, 1 reply; 3+ messages in thread
From: Sven Eckelmann @ 2008-10-09 7:35 UTC (permalink / raw)
To: b.a.t.m.a.n
It is just implicit that raise will not return in this case because we are in
a sighandler right now. So let call exit always afterwards even if it will
not be reached.
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
batman/posix/posix.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/batman/posix/posix.c b/batman/posix/posix.c
index 4423345..bbeac38 100644
--- a/batman/posix/posix.c
+++ b/batman/posix/posix.c
@@ -497,11 +497,10 @@ void restore_and_exit( uint8_t is_sigsegv ) {
}
- if (!is_sigsegv)
- exit(EXIT_FAILURE);
- else
+ if (is_sigsegv)
raise(SIGSEGV);
+ exit(EXIT_FAILURE);
}
--
1.6.0.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [B.A.T.M.A.N.] configuration of B.A.T.M.A.N.
2008-10-09 7:35 [B.A.T.M.A.N.] [PATCH] Let the compiler interpret the noreturn situation in restore_and_exit correct Sven Eckelmann
@ 2008-10-12 22:47 ` Resul Cetin
2008-10-13 0:55 ` Don Davis
0 siblings, 1 reply; 3+ messages in thread
From: Resul Cetin @ 2008-10-12 22:47 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hiii,
I followed the configuraition steps
http://www.freifunk-bno.de/wiki/firmware:batman#status_info but withous
success. I have to Linksys with the Freifunk Firmware on them. I installed
the Package "batmand_current_mipsel.ipk" from the site
http://freifunk.schmudde.com/ipkg/.
My problem is, that the two Router cann't recognize each other. In the
Status entry of the neigbour nodes is nothing to see.
Can anybody help me to build the B.A.T.M.A.N. Mesh Network ?
greetings,
E.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] configuration of B.A.T.M.A.N.
2008-10-12 22:47 ` [B.A.T.M.A.N.] configuration of B.A.T.M.A.N Resul Cetin
@ 2008-10-13 0:55 ` Don Davis
0 siblings, 0 replies; 3+ messages in thread
From: Don Davis @ 2008-10-13 0:55 UTC (permalink / raw)
To: resul.cetin,
The list for a Better Approach To Mobile Ad-hoc Networking
I suggest that you start over and use freifunk with the newest batman
from https://www.open-mesh.net/batman. I guess I should ask first:
where are you and will you be connecting to older versions of batman or
is it you setting up the mesh?
Here's a pretty thorough walk through for setting up freifunk with the
newer batman:
http://freifunk-texas.net/ffwalkthrough.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-13 0:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09 7:35 [B.A.T.M.A.N.] [PATCH] Let the compiler interpret the noreturn situation in restore_and_exit correct Sven Eckelmann
2008-10-12 22:47 ` [B.A.T.M.A.N.] configuration of B.A.T.M.A.N Resul Cetin
2008-10-13 0:55 ` Don Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox