| 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>
|
|
|
|
|
|
|
| |
Indentation by tabs only. Move case labels in switches are on the same
level as the switch keyword.
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
process group leader, setsid() fails.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
login -f -h <protocol> <as_user>
did not work.
login -h <protocol> -f <as_user>
did work. Imho, OpenSUSE meessed up login's getopt()...
On the other hand, we have no problems to switch the position
of arguments - as long as there's not another linux demanding
another position ;)
|
|
|
|
|
|
|
|
| |
install-exec-local hooks may be run in parallel. This may result in
the attempted installation of files into directories before they have
been created. Fixed by using install-exec-hook instead.
Reported and axgetput-only patch by Thomas Beierlein <tb@forth-ev.de>.
|
|
|
|
|
| |
In a world that is caught between ISO 8859-1, ISO 8859-15 and UTF-8
non-ASCII characters are a guaranteed mess, still.
|
|
|
|
| |
These should be declared by unistd.h only.
|
|
|
|
| |
<errno.h> is the way to go.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keeping generated files in CVS doesn't only tend to produce large and
cluttered files it also may result in build problems due to timestamps
in the wrong order. So dump everything, update .cvsignore to ignore
these files and resolve all warnings generated by autoreconf.
From now on users of a CVS checkout should run the command
autoreconf --install --force
after having done a CVS checkout. For this to succeed automake, autoconf
and libtool will have to be installed.
|
|
|
|
|
|
|
|
| |
Various socket syscalls receive a length argument that should be a
socklen_t rsp. a ptr to a socklen_t but instead int rsp. ptr to int were
being passed. While in theory this was a bug it's harmless as dangerously
large values would not be used but the issue manifested itself in a
significant number of compilation warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to using the antiquated time(2) call the microsecond field of the
struct utmp being manipulated was never initialized resulting in random
values. On some 64-bit systems this also manifested itself in below
warnings.
axspawn.c: In function ‘cleanup’:
axspawn.c:1017: warning: passing argument 1 of ‘time’ from incompatible pointer type
/usr/include/time.h:186: note: expected ‘time_t *’ but argument is of type ‘int32_t *’
[...]
axspawn.c: In function ‘main’:
[...]
axspawn.c:1693: warning: passing argument 1 of ‘time’ from incompatible pointer type
/usr/include/time.h:186: note: expected ‘time_t *’ but argument is of type ‘int32_t *’
Fixed by changing it to the recommended initialization sequenze based on
gettimeofday().
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
char addr[20] was static and strcpy(addr,.argv[n]) of variable length..
|
| |
|
|
|
|
| |
sizeof(ut.ut_line) with size = 12, wheras ut_id is 4.
|
|
|
|
| |
never closed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
on those systems, things are not as you expect. i.e., /bin/login
is a shell script and implements boot-specific actions only
(login without root password, etc..). The assumption that
/bin/login -f username causes user as uid > 0 to login
is wrong; user may gain root rights.
axspawn now implements partially (thus, in the important
points) what login assures.
axspawn should be involked with the option --embeded when
called from ax25d.
|
| |
|
|
|
|
|
| |
user has now also the choice to use the standard unix
passwd/shadow authentication
|
| |
|
| |
|
|
|
|
|
| |
- Fix in the man page: axparms --set-call told something wrong
about "serial-device".
|
|
|
|
|
| |
Retained backward compatibility, but prefered arguments
are now without '-'.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
then .profile is copied, and without deletion the contense of
ax25.profile is overwritten. to .profile. This lead to garbage.
- Some useradd implementations refuse to add the user if his
homedir already exists. But we need the function which builds the
subtree /home/hams/dl9.../, because useradd does not make the
missing subdirs by itself (instead, it's a severe error condition
for useradd)
|