Parent Directory | Revision Log | Patch
revision 1.24 by mkoch, Tue May 6 09:10:19 2003 UTC | revision 1.25 by mkoch, Tue May 20 11:56:07 2003 UTC | |
---|---|---|
# | Line 84 public class FileOutputStream extends Ou | Line 84 public class FileOutputStream extends Ou |
84 | SecurityManager s = System.getSecurityManager(); | SecurityManager s = System.getSecurityManager(); |
85 | if (s != null) | if (s != null) |
86 | s.checkWrite(path); | s.checkWrite(path); |
87 | fd = new FileDescriptor (path, (append | |
88 | int flags = FileDescriptor.WRITE; | ? FileDescriptor.APPEND |
89 | if (append) | : FileDescriptor.WRITE)); |
flags |= FileDescriptor.APPEND; | ||
fd = new FileDescriptor(path, flags); | ||
90 | } | } |
91 | ||
92 | /** | /** |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |