| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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>
|
|
|
|
|
| |
Any modern C compiler will just ignore register so it's just cluttering
the screen.
|
|
|
|
| |
and warnings.
|
|
|
|
|
|
| |
Revised the getopt_long() part.
Assured strcpy cases.
Thanks to Christoph <dk2crn> for contribution.
|
| |
|
| |
|
|
|
|
| |
fixes problem that it tends to terminate even if it need not to
|
|
|
|
|
|
|
|
|
|
|
| |
- fclose() fix in config.c
description of tun/tap:
added a new fast and efficient link to the linux kernel ax25 stack,
via the ethertap interface.
ax25 goes directly to the bpqether interface in the kernel via
ethertap/tuntap interfaces, which is a much better way than traditional
kissattach to a ttyp/ptyp pair.
|
| |
|
|
|
|
| |
Makefile bug
|
|
|