Skip to content

Commit e981738

Browse files
JDuquennoyzorgiepoo
authored andcommitted
Stdout used for non error outputs
1 parent 21999e4 commit e981738

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sparkle/SUBinaryDeltaTool.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ int main(int __unused argc, char __unused *argv[])
159159
return 1;
160160
}
161161

162-
fprintf(stderr, "Processing %s...", [oldPath UTF8String]);
162+
fprintf(stdout, "Processing %s...", [oldPath UTF8String]);
163163
FTSENT *ent = 0;
164164
while ((ent = fts_read(fts))) {
165165
if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL && ent->fts_info != FTS_D) {
@@ -184,7 +184,7 @@ int main(int __unused argc, char __unused *argv[])
184184
newTreeState[key] = [NSNull null];
185185
}
186186

187-
fprintf(stderr, "\nProcessing %s... ", [newPath UTF8String]);
187+
fprintf(stdout, "\nProcessing %s... ", [newPath UTF8String]);
188188
sourcePaths[0] = [newPath fileSystemRepresentation];
189189
fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles);
190190
if (!fts) {
@@ -228,7 +228,7 @@ int main(int __unused argc, char __unused *argv[])
228228

229229
NSString *afterHash = hashOfTree(newPath);
230230

231-
fprintf(stderr, "\nGenerating delta... ");
231+
fprintf(stdout, "\nGenerating delta... ");
232232

233233
NSString *temporaryFile = temporaryPatchFile(patchFile);
234234
xar_t x = xar_open([temporaryFile fileSystemRepresentation], WRITE);
@@ -291,7 +291,7 @@ int main(int __unused argc, char __unused *argv[])
291291
unlink([patchFile fileSystemRepresentation]);
292292
link([temporaryFile fileSystemRepresentation], [patchFile fileSystemRepresentation]);
293293
unlink([temporaryFile fileSystemRepresentation]);
294-
fprintf(stderr, "Done!\n");
294+
fprintf(stdout, "Done!\n");
295295

296296
return 0;
297297
}

0 commit comments

Comments
 (0)