fix to backslash quoting of glob pattern characters; allow newly-loaded compspecs to be used in more cases; fixes to the cross-compiling environment; avoid potential overflow in GLOBSORT processing

This commit is contained in:
Chet Ramey
2024-05-20 10:48:44 -04:00
parent b3d8c8a4e7
commit dbd27e54cc
18 changed files with 120 additions and 51 deletions
+3 -3
View File
@@ -93,7 +93,7 @@ static char rcsid[] = "$Id: inet_addr.c,v 1.5 1996/08/14 03:48:37 drepper Exp $"
* Ascii internet address interpretation routine.
* The value returned is in network order.
*/
u_long
in_addr_t
inet_addr(const char *cp)
{
struct in_addr val;
@@ -117,8 +117,8 @@ inet_aton(const char *cp, struct in_addr *addr)
register u_bits32_t val;
register int base, n;
register unsigned char c;
u_int parts[4];
register u_int *pp = parts;
unsigned int parts[4];
register unsigned int *pp = parts;
c = *cp;
for (;;) {