From 8af38667e6fc58af54860c30c2c61844027c8693 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Thu, 7 Aug 2008 23:23:20 +0000 Subject: - update to 0.9 (torrentzip support, files open only when necessary), windows fixes --- ext/zip/lib/zip_memdup.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'ext/zip/lib/zip_memdup.c') diff --git a/ext/zip/lib/zip_memdup.c b/ext/zip/lib/zip_memdup.c index c4c4566109..641125ed2d 100644 --- a/ext/zip/lib/zip_memdup.c +++ b/ext/zip/lib/zip_memdup.c @@ -1,11 +1,9 @@ /* - $NiH: zip_memdup.c,v 1.2 2007/04/24 10:34:39 dillo Exp $ - zip_memdup.c -- internal zip function, "strdup" with len - Copyright (C) 1999, 2003, 2004, 2005, 2007 Dieter Baron and Thomas Klausner + Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner This file is part of libzip, a library to manipulate ZIP archives. - The authors can be contacted at + The authors can be contacted at Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -36,12 +34,11 @@ #include #include -#include "zip.h" #include "zipint.h" -PHPZIPAPI void * +void * _zip_memdup(const void *mem, size_t len, struct zip_error *error) { void *ret; -- cgit v1.2.1