Tom Tromey
373d3b1863
File.java (getParentFile): New method, from Classpath via Oskar Liljeblad.
...
* java/io/File.java (getParentFile): New method, from Classpath
via Oskar Liljeblad.
From-SVN: r35149
2000-07-20 19:29:14 +00:00
Andrew Haley
52fa9d82f4
re GNATS java.io/203 (File.createTempFile doesn't close descriptor)
...
2000-06-27 Andrew Haley <aph@cygnus.com>
* java/io/File.java (createTempFile): Close the FileDescriptor
used to create a temp file. Fixes some of PR 203.
* java/io/natFileDescriptorPosix.cc (open): Call garbage
collection if we run out of file handles.
From-SVN: r34755
2000-06-28 12:24:10 +00:00
Tom Tromey
2ba5f77454
All files: Updated copyright information.
...
* All files: Updated copyright information.
* COPYING: New file.
* COPYING.LIB: Removed.
* LIBGCJ_LICENSE: We now use GPL + special exception.
From-SVN: r32387
2000-03-07 19:55:28 +00:00
Bryce McKinlay
91da35dbf2
File.java (File(String, String)): For dirPath, treat an empty String the same as `null'.
...
2000-02-27 Bryce McKinlay <bryce@albatross.co.nz>
* java/io/File.java (File(String, String)): For dirPath, treat an
empty String the same as `null'.
From-SVN: r32217
2000-02-27 10:43:47 +00:00
Tom Tromey
dd16866663
File.java (createTempFile): Use low bits from counter, not high bits.
...
* java/io/File.java (createTempFile): Use low bits from counter,
not high bits.
From-SVN: r31946
2000-02-12 20:13:42 +00:00
Tom Tromey
9d381124d8
* java/io/File.java (nextValue): Now synchronized.
...
From-SVN: r31925
2000-02-11 18:44:37 +00:00
Tom Tromey
304ccb1075
natFileDescriptorPosix.cc (open): Recognize EXCL flag.
...
* java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
* java/io/FileDescriptor.java (EXCL): New static field.
* java/io/File.java (tmpdir): New static field.
(createTempFile): New method.
(nextValue): New method.
* java/lang/natSystem.cc (init_properties): Set java.io.tmpdir
property.
From-SVN: r31922
2000-02-11 17:32:52 +00:00
Tom Tromey
7c734b1758
* All files: Updated copyright to reflect Cygnus purchase.
...
From-SVN: r31504
2000-01-19 18:39:27 +00:00
Bryce McKinlay
41296e2a23
natString.cc (substring): optimize where substring is entire String.
...
1999-07-22 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natString.cc (substring): optimize where substring is
entire String.
* java/io/File.java (getName): don't return separator with file name.
* java/io/natFile.cc (attr): fix overflow.
From-SVN: r28246
1999-07-26 03:51:44 +01:00
Per Bothner
7f8e55a0b9
File.java (mkdirs): Handle a null parent directory.
...
h
* java/io/File.java (mkdirs): Handle a null parent directory.
From-SVN: r26903
1999-05-12 07:41:17 -07:00
Tom Tromey
ee9dd3721b
Initial revision
...
From-SVN: r26263
1999-04-07 14:42:40 +00:00