/[classpath]/classpath/native/jni/java-io/java_io_FileOutputStream.c
ViewVC logotype

Diff of /classpath/native/jni/java-io/java_io_FileOutputStream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Tue Aug 13 21:15:03 2002 UTC revision 1.4 by mark, Fri Nov 29 18:41:04 2002 UTC
# Line 1  Line 1 
1  /* FileOutputStream.c - Native methods for java.io.FileOutputStream class  /* FileOutputStream.c - Native methods for java.io.FileOutputStream class
2     Copyright (C) 1998 Free Software Foundation, Inc.     Copyright (C) 1998, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 70  Java_java_io_FileOutputStream_open(JNIEn Line 70  Java_java_io_FileOutputStream_open(JNIEn
70        int rc = lseek(fd, 0, SEEK_END);        int rc = lseek(fd, 0, SEEK_END);
71        if (rc == -1)        if (rc == -1)
72          {          {
73            JCL_ThrowException(env, "java/io/IOException", strerror(errno));            JCL_ThrowException(env, "java/io/FileNotFoundException",
74                                 strerror(errno));
75            close(fd);            close(fd);
76            return(-1);            return(-1);
77          }          }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26