From 55f5e15a50c8a7a0434cad4e9d3a2e34aca0c753 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Fri, 17 Dec 2004 07:02:51 +0000 Subject: . Update to patchset 7. . Fix a permissions problem with the plugins directory. Approved by: phantom (maintainer) --- java/jdk16/files/patch-native::util.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 java/jdk16/files/patch-native::util.c (limited to 'java/jdk16/files/patch-native::util.c') diff --git a/java/jdk16/files/patch-native::util.c b/java/jdk16/files/patch-native::util.c deleted file mode 100644 index 719d1ae0e989..000000000000 --- a/java/jdk16/files/patch-native::util.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- ../../deploy/src/javaws/src/share/native/util.c 22 Oct 2003 23:04:17 -0000 1.1.1.1 -+++ ../../deploy/src/javaws/src/share/native/util.c 16 Jan 2004 23:50:11 -0000 -@@ -27,7 +27,10 @@ - - /* Find size of file */ - struct stat statBuf; -- stat(filename, &statBuf); -+ if (stat(filename, &statBuf) == -1) { -+ *buffer = NULL; -+ return 0; -+ } - size = statBuf.st_size; - - /* Allocate memory for contents */ -- cgit v1.2.3