aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-06 09:24:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-06 09:24:54 +0000
commitc7993e1f5ad1bd8673222942c06edb76713f8ac9 (patch)
treea07f31c965be13df1a02d354a553865ca7e9ff78
parent7bdf1b34d150cbdd8bbc2781e2b4b7fcda25a882 (diff)
downloadgdbm-c7993e1f5ad1bd8673222942c06edb76713f8ac9.tar.gz
gdbm-c7993e1f5ad1bd8673222942c06edb76713f8ac9.tar.bz2
(dbm_dirfno): Return dirfd.
-rw-r--r--compat/dbmdirfno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/dbmdirfno.c b/compat/dbmdirfno.c
index 8e7f957..a586c7a 100644
--- a/compat/dbmdirfno.c
+++ b/compat/dbmdirfno.c
@@ -28,5 +28,5 @@
int
dbm_dirfno (DBM *dbm)
{
- return (dbm->file->desc);
+ return dbm->dirfd;
}

Return to:

Send suggestions and report system problems to the System administrator.