aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2efec73..fb5f3bc 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 4ce508c..0249344 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;