gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] commit with editor / message displayed too late


From: Johannes Berg
Subject: [Gnu-arch-users] commit with editor / message displayed too late
Date: Fri, 13 Feb 2004 01:58:56 +0100

tla always shows the message that no log was found _after_ the editor is
actually invoked, this seems to be caused by some internal buffering.
Please apply this patch to fix that.

johannes

--- orig/libarch/cmd-commit.c
+++ mod/libarch/cmd-commit.c
@@ -527,6 +527,7 @@
  
   safe_printfmt (1, "* no log found, creating one automatically\n");
   safe_printfmt (1, "* (Use \"tla make-log\" to create a log
file.)\n");
+  safe_flush (1);
  
   out_fd = safe_open (log_path, O_WRONLY | O_CREAT | O_EXCL, 0666);

-- 
http://www.sipsolutions.de/
Key-ID: 9AB78CA5 Johannes Martin Berg <address@hidden>

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]