@@ -322,12 +322,11 @@ if (![remainingArguments.firstObject isEqual: @"-"]) [sandbox unveilPath: remainingArguments.firstObject permissions: (mode == 'a' ? @"rwc" : @"wc")]; for (OFString *path in files) - [sandbox unveilPath: path - permissions: @"r"]; + [sandbox unveilPath: path permissions: @"r"]; sandbox.allowsUnveil = false; [OFApplication activateSandbox: sandbox]; #endif @@ -396,18 +395,16 @@ [sandbox unveilPath: remainingArguments.firstObject permissions: @"r"]; if (files.count > 0) for (OFString *path in files) - [sandbox unveilPath: path - permissions: @"wc"]; + [sandbox unveilPath: path permissions: @"wc"]; else { OFString *path = (outputDir != nil ? outputDir : OF_PATH_CURRENT_DIRECTORY); /* We need 'r' to change the directory to it. */ - [sandbox unveilPath: path - permissions: @"rwc"]; + [sandbox unveilPath: path permissions: @"rwc"]; } sandbox.allowsUnveil = false; [OFApplication activateSandbox: sandbox]; #endif @@ -510,12 +507,11 @@ default: @throw [OFInvalidArgumentException exception]; } } else { @try { - file = [OFFile fileWithPath: path - mode: fileModeString]; + file = [OFFile fileWithPath: path mode: fileModeString]; } @catch (OFOpenItemFailedException *e) { OFString *error = [OFString stringWithCString: strerror(e.errNo) encoding: [OFLocale encoding]]; [of_stderr writeString: @"\r"]; @@ -689,12 +685,11 @@ { char buffer[BUFFER_SIZE]; size_t length; @try { - length = [input readIntoBuffer: buffer - length: BUFFER_SIZE]; + length = [input readIntoBuffer: buffer length: BUFFER_SIZE]; } @catch (OFReadFailedException *e) { OFString *error = [OFString stringWithCString: strerror(e.errNo) encoding: [OFLocale encoding]]; [of_stdout writeString: @"\r"]; @@ -704,12 +699,11 @@ @"error", error)]; return -1; } @try { - [output writeBuffer: buffer - length: length]; + [output writeBuffer: buffer length: length]; } @catch (OFWriteFailedException *e) { OFString *error = [OFString stringWithCString: strerror(e.errNo) encoding: [OFLocale encoding]]; [of_stdout writeString: @"\r"];