pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/fetch



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Dec 19 23:50:44 UTC 2019

Modified Files:
        pkgsrc/net/fetch: Makefile
        pkgsrc/net/fetch/files: fetch.c

Log Message:
fetch-1.9: Fix inode check for conditional GET.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/fetch/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/fetch/files/fetch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/fetch/Makefile
diff -u pkgsrc/net/fetch/Makefile:1.20 pkgsrc/net/fetch/Makefile:1.21
--- pkgsrc/net/fetch/Makefile:1.20      Tue Jul 16 14:47:16 2019
+++ pkgsrc/net/fetch/Makefile   Thu Dec 19 23:50:44 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2019/07/16 14:47:16 jperkin Exp $
+# $NetBSD: Makefile,v 1.21 2019/12/19 23:50:44 joerg Exp $
 
-DISTNAME=      fetch-1.8
-PKGREVISION=   4
+DISTNAME=      fetch-1.9
 CATEGORIES=    net
 MASTER_SITES=  # empty
 DISTFILES=     # empty

Index: pkgsrc/net/fetch/files/fetch.c
diff -u pkgsrc/net/fetch/files/fetch.c:1.17 pkgsrc/net/fetch/files/fetch.c:1.18
--- pkgsrc/net/fetch/files/fetch.c:1.17 Fri Jan 11 14:07:05 2013
+++ pkgsrc/net/fetch/files/fetch.c      Thu Dec 19 23:50:44 2019
@@ -625,7 +625,7 @@ fetch(char *URL, const char *path)
                                goto failure;
                        }
                        if (nsb.st_dev != sb.st_dev ||
-                           nsb.st_ino != nsb.st_ino ||
+                           nsb.st_ino != sb.st_ino ||
                            nsb.st_size != sb.st_size) {
                                warnx("%s: file has changed", URL);
                                fclose(of);



Home | Main Index | Thread Index | Old Index