remove debug logging

This commit is contained in:
Joel Dice 2012-03-17 22:42:15 -06:00
parent 0167868797
commit 9a50e69587

View File

@ -405,11 +405,9 @@ Java_java_io_File_createNewFile(JNIEnv* e, jclass, jstring path)
bool result = false;
string_t chars = getChars(e, path);
if (chars) {
fprintf(stderr, "create file \"%s\"\n", chars);
if (not exists(chars)) {
int fd = OPEN(chars, O_CREAT | O_WRONLY | O_EXCL, 0600);
if (fd == -1) {
fprintf(stderr, "errno %d\n", errno);
if (errno != EEXIST) {
throwNewErrno(e, "java/io/IOException");
}