1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
* sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
	parameter.

	* sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
	after we have the lock.
This commit is contained in:
Ulrich Drepper
1999-08-19 20:23:58 +00:00
parent 7195db12ad
commit 6229c88e86
2 changed files with 7 additions and 4 deletions

View File

@ -44,7 +44,7 @@ telldir (dirp)
DIR *dirp;
{
struct record *new;
off_t pos;
long int pos;
new = malloc (sizeof *new);
if (new == NULL)
@ -71,7 +71,7 @@ telldir (dirp)
void
seekdir (dirp, pos)
DIR *dirp;
__off_t pos;
long int pos;
{
struct record *r, **prevr;