* close(file) wasn't okay, because close() wait an integer file
descriptor to close, so it was changed for the real close(fd) situation.
* So it caused error during building time
---
lib/libpacman/util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/libpacman/util.c b/lib/libpacman/util.c
index 62b3944..bd24cd3 100644
--- a/lib/libpacman/util.c
+++ b/lib/libpacman/util.c
@@ -240,7 +240,7 @@ int _pacman_lckmk(char *file)
if(++count < 1) {
sleep(1);
} else {
- close(file);
+ close(fd);
return(-1);
}
}
--
1.6.4
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel