pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/fetch fetch-1.1:
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ee89de6ad57
branches: trunk
changeset: 553956:4ee89de6ad57
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Feb 04 21:29:40 2009 +0000
description:
fetch-1.1:
Include sys/ioctl.h for ioctl(2). Fix missing argument in warn(3) call.
diffstat:
net/fetch/Makefile | 4 ++--
net/fetch/files/fetch.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 4f41bebfdeec -r 4ee89de6ad57 net/fetch/Makefile
--- a/net/fetch/Makefile Wed Feb 04 21:20:39 2009 +0000
+++ b/net/fetch/Makefile Wed Feb 04 21:29:40 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/10/08 15:28:30 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/04 21:29:40 joerg Exp $
#
-DISTNAME= fetch-1.0
+DISTNAME= fetch-1.1
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 4f41bebfdeec -r 4ee89de6ad57 net/fetch/files/fetch.c
--- a/net/fetch/files/fetch.c Wed Feb 04 21:20:39 2009 +0000
+++ b/net/fetch/files/fetch.c Wed Feb 04 21:29:40 2009 +0000
@@ -36,6 +36,7 @@
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
+#include <sys/ioctl.h>
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -600,7 +601,7 @@
fd = mkstemp(tmppath);
if (fd == -1) {
- warn("%s: mkstemp failed");
+ warn("%s: mkstemp failed", tmppath);
goto failure;
}
fchown(fd, sb.st_uid, sb.st_gid);
Home |
Main Index |
Thread Index |
Old Index