1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-11 12:10:50 +03:00
1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* posix/wordexp.c (parse_param): Fix type of offset to allow it to
	be used correctly as parameter for parse_dollars/parse_tilde.
This commit is contained in:
Ulrich Drepper
1999-04-20 08:54:33 +00:00
parent a3ab859c9c
commit 4ad1f02605
3 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/* POSIX.2 wordexp implementation.
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Tim Waugh <tim@cyberelk.demon.co.uk>.
@@ -1446,7 +1446,7 @@ envsubst:
expanded = w_newword (&exp_len, &exp_maxl);
for (p = pattern; p && *p; p++)
{
int offset;
size_t offset;
switch (*p)
{