aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-19 20:23:58 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-19 20:23:58 +0000
commit6229c88e862c624e41129cf550cbc6d98085d23c (patch)
tree945092f409bfba07545ab90a2d8432c8e438b8b5
parent7195db12adc439aa7e4b1f494b144031dd50e30a (diff)
downloadglibc-6229c88e862c624e41129cf550cbc6d98085d23c.tar
glibc-6229c88e862c624e41129cf550cbc6d98085d23c.tar.gz
glibc-6229c88e862c624e41129cf550cbc6d98085d23c.tar.bz2
glibc-6229c88e862c624e41129cf550cbc6d98085d23c.zip
Update.
* 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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/bsd/telldir.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2efec730a0..fb5f3bca48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
- * sysdeps/generic/setenv.c: Update(__add_to_environ): Initialize
- ep after we have the lock.
+ * 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.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
Patch by Richard Henderson.
diff --git a/sysdeps/unix/bsd/telldir.c b/sysdeps/unix/bsd/telldir.c
index 4ce508c718..0249344063 100644
--- a/sysdeps/unix/bsd/telldir.c
+++ b/sysdeps/unix/bsd/telldir.c
@@ -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;