Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Backout the reproducible packages.
Baptiste Daroussin committed 13 years ago
commit bc45e171ded7013dd542cd142d022f6fea0f2244
parent 3488404
1 file changed +4 -4
modified libpkg/packing.c
@@ -133,8 +133,8 @@ packing_append_file_attr(struct packing *pack, const char *filepath, const char
	struct stat st;
	struct archive_entry *entry, *sparse_entry;
	/* ugly hack for python and emacs */
-
	char *p;
-
	bool unset_timestamp = true;
+
	/*char *p;*/
+
	/*bool unset_timestamp = true;*/

	entry = archive_entry_new();
	archive_entry_copy_sourcepath(entry, filepath);
@@ -171,7 +171,7 @@ packing_append_file_attr(struct packing *pack, const char *filepath, const char
		archive_entry_set_perm(entry, perm);

	/* XXX ugly hack for python and emacs */
-
	p = strrchr(filepath, '.');
+
/*	p = strrchr(filepath, '.');

	if (p != NULL && (strcmp(p, ".pyc") == 0 ||
	    strcmp(p, ".py") == 0 ||
@@ -186,7 +186,7 @@ packing_append_file_attr(struct packing *pack, const char *filepath, const char
		archive_entry_unset_ctime(entry);
		archive_entry_unset_mtime(entry);
		archive_entry_unset_birthtime(entry);
-
	}
+
	}*/

	archive_entry_linkify(pack->resolver, &entry, &sparse_entry);