| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
They only inflate the .data section of the binary. Initializations to
FALSE are still left to do.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
| |
ax25ipd sometimes terminated ("normaly") when the remote site (or
a router on the way) sent an icmp unreachable.
That's a problem with a positive error list (where every unknown
error is interpreted as major problem); this makes the code
unstable whenever new errno's are implemented in newer kernels..
Signed-off-by: Thomas Osterried <thomas@osterried.de>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LOGL1..LOGL4 macros were defined like:
Now consider an invocation like:
if (condition)
LOGL1(...);
else
something_different();
CPP will expand this like:
if (condition)
if (loglevel>0)
syslog(LOG_DAEMON | LOG_WARNING, ...);
else
something_different();
That is the else would now be considered associated with the wrong if.
Macro arguments may also not have been evaluated on every invocation
making the use of these function-like looking macros not function like.
For example:
LOGL1("%d", i++);
would be expanded to
if (loglevel>0)
syslog(LOG_DAEMON | LOG_WARNING, i++);
That is depending on the value of loglevel i++ would only be incremented if
syslog was actually being called.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -Wno-pointer-sign -MT ax25dump.o -MD
-MP -MF .deps/ax25dump.Tpo -c -o ax25dump.o ax25dump.c
ax25dump.c: In function ‘ax25_dump’:
ax25dump.c:170:10: warning: ‘ns’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ax25dump.c:167:10: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
GCC isn't quite smart enough to figure out that this warning is bogus.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -Wno-pointer-sign -MT call.o -MD -MP
-MF .deps/call.Tpo -c -o call.o call.c
call.c: In function ‘wrdstatw’:
call.c:482:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
mv -f .deps/call.Tpo .deps/call.Po
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -Wno-pointer-sign -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c
menu.c: In function ‘p_dwn_menu’:
menu.c:132:15: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable]
menu.c: In function ‘top_menu’:
menu.c:244:11: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
call.c:1590:6: warning: variable ‘extrach’ set but not used [-Wunused-but-set-va
riable]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -Wno-pointer-sign -MT rosedump.o -MD -MP -MF .deps/rosedump.Tpo -c -o rosedump.o rosedump.c
rosedump.c: In function ‘rose_dump’:
rosedump.c:57:17: warning: variable ‘dest’ set but not used [-Wunused-but-set-va riable]
rosedump.c:56:17: warning: variable ‘source’ set but not used [-Wunused-but-set- variable]
rosedump.c: In function ‘facility’:
rosedump.c:329:12: warning: variable ‘lgaddr’ set but not used [-Wunused-but-set -variable]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_ LOCALSTATEDIR=\""/usr/local/var/ax25"\" -O2 -Wall -Wno-pointer-sign -MT list
ener.o -MD -MP -MF .deps/listener.Tpo -c -o listener.o listener.c
listener.c: In function ‘set_route’:
listener.c:232:6: warning: the address of ‘iproute2_table’ will always evaluate as ‘true’ [-Waddress]
listener.c: In function ‘del_kernel_ip_route’:
listener.c:278:6: warning: the address of ‘iproute2_table’ will always evaluate as ‘true’ [-Waddress]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
inet_ntoa() already returns char *.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
| |
It was testing the address of the curses function has_color(), not its
return value indicated by the following warning:
utils.c: In function ‘initcolor’:
utils.c:84:6: warning: the address of ‘has_colors’ will always evaluate as ‘true’ [-Waddress]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Their value has always been dubious and git doesn't support them so let's
get rid of the clutter.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes this build error:
error: Installed (but unpackaged) file(s) found:
/usr/share/doc/ax25-apps/COPYING.ax25ipd
/usr/share/doc/ax25-apps/HISTORY.ax25ipd
/usr/share/doc/ax25-apps/README.ax25ipd
/usr/share/doc/ax25-apps/README.ax25rtd
/usr/share/doc/ax25-apps/TODO.ax25rtd
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
This may result in docfiles getting installed in ${prefix}/doc/, not
${prefix}/share/doc which is the convention.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since the introduction of AC_CONFIG_HEADERS in automake 1.7
AM_CONFIG_HEADER has been deprecated and it has finally been removed
in automake 1.12. So this change also generates a dependency on
automake 1.7 or newer.
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the call sign you connect to has 9 characters
(i.E. DL9SAU-10), then call segfaults. idString
in the ncruses mode routine start_screen() was
dimensioned too short, and the auther had the fatal
assumtion that a call is 8 characters long (and not 9),
and he did limit the length in sprintf with ... %n.ns
This is an old bug. Obviously, ubuntu 12.04 and 12.10
introduced better runtime checks into potential buffer
overflows.
|
|
|
|
| |
Relicense listen/ripdump.c to permit commercial use and distribution.
|
|
|
|
|
| |
the port configured with "socket udp <port>"; but you could still
specify another port with "route call ip udp anotherPort".
|
|
|
|
|
|
|
|
| |
Since the recent conversion from static to generated man pages some
man pages were generated with a wrong section suffix which was breaking
installation.
Noticed and fixed by Steffen Köhler <sk4@mail.zih.tu-dresden.de>.
|
|
|
|
|
| |
The config files are unaffected; if you need to resolve a name conflict
for the config files, use --sysconfdir=/etc and --localstatedir=/var.
|
| |
|
|
|
|
|
|
| |
For now these options are just honored for the call.1 and listen.1 man
pages because these days these two programs generally get renamed to
avoid naming conflicts with other programs.
|
|
|
|
| |
We used to just continue but this results in a build failure of call.
|
|
|
|
|
|
|
|
|
|
|
|
| |
GIFADDR: Bad file descriptor
after signling termination with ^C
In detail:
close(3) = 0
sigreturn() = ? (mask now [])
ioctl(3, SIOCGIFHWADDR, {ifr_name="eth0", ???}) = -1 EBADF (Bad file descriptor)
-> The interrupt handler introduced concurrency issues ;)
The patch caused only unexpected behaviour; no security problems.
This new patch fixes this problem.
|
|
|
|
| |
Patch from Michael Stuermer <ms@mallorn.de> with a few touchups be me.
|
|
|
|
|
|
|
|
|
| |
- Better error handling on read() == -1 and write() == -1.
Previously, the return value was not honored correctly - and could
cause unexpected results.
- New option "-R":
Disable all remote commands like autobin (#BIN#), 7plus downloads, //echo, etc.
This is useful for scripting where you just don't like the remote site to trigger uncaught conditions here.
|
|
|
|
|
|
|
|
| |
read() = 0, wht consumed 100% CPU power.
New options:
-W: waits after EOF on stdin. Useful for scripting, for waiting
for data coming via fd 3 (ax25 connection)
-T secs: idle timout after secs seconds.
|
|
|
|
| |
Now just a rpmbuild -ta <foo.tar.gz> will do.
|
|
|
|
|
| |
In a world that is caught between ISO 8859-1, ISO 8859-15 and UTF-8
non-ASCII characters are a guaranteed mess, still.
|
| |
|
| |
|
|
|
|
|
|
| |
Glibc as old as 2.2 provides working headers under the right name and
if not libax25 would install headers under the right name so this has
become redundant and ugly.
|
| |
|