| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The practice results in a kernel warning since Linux 2.1.68 which was
released on 1997-11-30 and is deprecated for even longer so maybe,
just maybe we should stop recommending it.
Use socket(PF_SOCKET, SOCK_RAW, ...) instead, see packet(7).
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>
|
|
|
|
|
|
|
| |
AC_TYPE_SIGNAL only made sense for some SysV R3 crap which is only rotten
and (almost) forgotten. We also don't support it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
| |
The checked in version is an unchanged version of the file obtained from
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt. Aside from minor
whitespace changes it fixes the FSF's address which has changed many years
ago and reflects the FSF renaming the Library GNU Public License to the
GNU Lesser Public License. The actual licensing terms are unchanged.
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 enforce what's already the default.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
They only enforce what's already the default.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Suggested-by: Richard Shaw <hobbes1069@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Suggested-by: Richard Shaw <hobbes1069@gmail.com>
|
|
|
|
|
|
|
|
|
| |
6afad7276402 ("Delete more assignments in if conditions.") has a manual
edit and that promptly went wrong.
Fixes: 6afad7276402 ("Delete more assignments in if conditions.")
Reported-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
| |
In some of these pages the content was changed relativly recently but
the date in the man page itself was never updated so dates were off by
decades. Update all man pages to last non-trival change recorded in
git since imported.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
| |
The README file was conflicting with the README files in the root directory
so only the of the files ended up getting installed on "make install" or
when packaging.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Every subpackage gets a copy of LICENSE and the doc package a copy of all
man pages and all other documentation files.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
| |
Now that we no longer install doc files other than man pages on
make install this only ended up packaging an empty directory
which we don't want anyway.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Automake has different ideas from rpm where doc files should live.
This may cause duplicate doc files and even build breakage.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
The option may be a no-op for spattach but as long as the code does
accept it, it should be documented.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
The -i option may be deprecated but still it should be documented as long
as it still exists in the code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
These days the fltk-config script does it all and so we can drop all
the GL tests.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
This fixes mock builds.
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>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
This is required by the Fedora versioning guidelines.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
As required by Fedora versioning guidelines.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
While add it force the distribution of README and TODO in the same
directory instead of relying on automake's default behaviour.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
We could simply skip building the two programs that require libutil
but since it's always available with glibc there's no point.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
| |
In particular the openpty() implementation was still using only the old
BSD terminals so not working on modern distributions which ship their
kernels with CONFIG_LEGACY_PTYS disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
So don't check for it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
There is no axparms(4) man page but axparms(8) would make sense.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
There is no axparms(5) man page but axports(5) would make sense.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on below coccinelle script with a bad transformation fixed up
manually.
@if1@
expression E, F, G;
binary operator X;
statement S;
@@
- if ((E = F) X G)
+ E = F;
+ if (E X G)
S
@if2@
expression E, F, G;
binary operator X;
statement S;
@@
- if (G X (E = F))
+ E = F;
+ if (E X G)
S
@if3@
expression E, F;
statement S;
@@
- if (!(E = F))
+ E = F;
+ if (!E)
S
@if4@
expression E, F;
statement S;
@@
- if ((E = F))
+ E = F;
+ if (E)
S
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
Fortunately this is a harmless issue.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is using the following semantic patch:
@identitycast@
type T;
T *A;
@@
- (T *) A
+ A
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is using the following semantic patch:
@bind@
type T;
expression A, C;
struct sockaddr *B;
@@
- bind(A, (struct sockaddr *) B, C)
+ bind(A, B, C)
@bind_in@
type T;
expression A, C;
struct sockaddr_in *B;
@@
- bind(A, (struct sockaddr *) B, C)
+ bind(A, B, C)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Arguably useful in documenting the return value is intentionally ignored
I think it's just cluttering the screen.
This is using the following semantic patch:
@castvoid@
expression F;
@@
- (void) F
+ F
(...)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is using the following semantic patch:
@send@
type T;
expression A, B, C, D;
@@
- send(A, (T *)B, C, D)
+ send(A, B, C, D)
@sendto1@
type T;
expression A, B, C, D, E, F;
@@
- sendto(A, (T *)B, C, D, E, F)
+ sendto(A, B, C, D, E, F)
@sendto2@
type T;
expression A, B, C, D, F;
struct sockaddr *E;
@@
- sendto(A, B, C, D, (struct sockaddr *) E, F)
+ sendto(A, B, C, D, E, F)
@sendmsg@
type T;
expression A, B, C;
@@
- sendmsg(A, (T *)B, C)
+ sendmsg(A, B, C)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is using the following semantic patch:
@memset@
type T;
expression A, B, C;
@@
- memset((T *)A, B, C)
+ memset(A, B, C)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is using the following semantic patch:
@memcpy1@
type T;
expression A, B, C;
@@
- memcpy((T *)A, B, C)
+ memcpy(A, B, C)
@memcpy2@
type T;
expression A, B, C;
@@
- memcpy(A, (T *)B, C)
+ memcpy(A, B, C)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hex2intrev is a hilariously complicated function which combine parsing
a hexadecimal integer in network byte order and swapping the result to
host byte order.
Move the endianess swapping to the caller which allows to remove double
endianess swapping. Now that hex2intrev no longer deals with byte
order rename it to hex2int and replace its implementation with a simple
invocation of strtoul.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
Unsigned long is wasteful on 64 bit.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
An IPv4 mask fit into an unsigned int.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|