diff options
Diffstat (limited to 'java/jdk14/files/patch-native::util.c')
-rw-r--r-- | java/jdk14/files/patch-native::util.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/java/jdk14/files/patch-native::util.c b/java/jdk14/files/patch-native::util.c deleted file mode 100644 index 719d1ae0e989..000000000000 --- a/java/jdk14/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 */ |