summaryrefslogtreecommitdiff
path: root/support/poptconfig.c
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1999-07-06 20:29:42 +0000
committerElliot Lee <sopwith@src.gnome.org>1999-07-06 20:29:42 +0000
commitc3885daa46991d1e4fb2f2aa7b49c8df5b26e204 (patch)
tree5c2c77e8c8dedbc6dcbce7ae656b640ccb2c4b42 /support/poptconfig.c
parent984258c935552744012274d80886b4e72e25b4a0 (diff)
downloadshared-mime-info-c3885daa46991d1e4fb2f2aa7b49c8df5b26e204.tar.gz
libgnorba: Remove GnomeObject stuff.
libgnorba: Remove GnomeObject stuff. support: Merge newer popt in from canonical source. svn path=/trunk/; revision=842
Diffstat (limited to 'support/poptconfig.c')
-rw-r--r--support/poptconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/poptconfig.c b/support/poptconfig.c
index dabf6f55..63274ee7 100644
--- a/support/poptconfig.c
+++ b/support/poptconfig.c
@@ -87,7 +87,7 @@ int poptReadConfigFile(poptContext con, char * fn) {
lseek(fd, 0, 0);
file = alloca(fileLength + 1);
- if ((fd = read(fd, file, fileLength)) != fileLength) {
+ if (read(fd, file, fileLength) != fileLength) {
rc = errno;
close(fd);
errno = rc;