Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: 33562: Fix thinko in previous commit
- X-seq: zsh-workers 33562
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: 33562: Fix thinko in previous commit
- Date: Mon, 27 Oct 2014 20:55:35 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=xBZ/kKNqNBh2YRcqHsSmUFE/79CQkH0qQaDQoCxoWis=; b=xYcAi5ZoYZTdK4wUvaXTd28QDkuuOu5/g5MnbVAv4ijlcX0Z6gaunSMSAZu39BXIkM Xdd/8rE7kTAl5Qa8bilgKqoP7o+uP4fcC93uIeKm8o1IQcMghm8VGk3OBuWMriCpWsEL uARi8+Tl/yS0DYmJ877wZ5GJVthb4ChuHeIKJcBfXHHaRGWjSdljYcMVBJ4TLTFwAuRc T90AvRgbUxBOlGzd+ZFIqumsYyl7B1EpNqQPJICPeOQgkewH/9tlf9cF39IcGA1Sk4aA xW2c9XYq0AgLQmPATFieS2sjmuj3o/ZtOWACBIf6SM1MlLX9Zk2b7LGL4+s9XVjZLhRm sqMA==
- In-reply-to: <1414438362-14778-1-git-send-email-mikachu@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1414438362-14778-1-git-send-email-mikachu@gmail.com>
Oops.
---
ChangeLog | 3 ++-
Src/jobs.c | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 56a6ea2..f54327a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2014-10-27 Mikael Magnusson <mikachu@xxxxxxxxx>
- * 33561: Src/jobs.c: The time builtin forgot to unmetafy TIMEFMT.
+ * 33561, 33562: Src/jobs.c: The time builtin forgot to unmetafy
+ TIMEFMT.
2014-10-26 Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
diff --git a/Src/jobs.c b/Src/jobs.c
index d312b23..494d5aa 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -702,8 +702,10 @@ printtime(struct timeval *real, child_times_t *ti, char *desc)
#endif
queue_signals();
- if (!(s = unmetafy(getsparam("TIMEFMT"), NULL)))
+ if (!(s = getsparam("TIMEFMT")))
s = DEFAULT_TIMEFMT;
+ else
+ s = unmetafy(s, NULL);
for (; *s; s++)
if (*s == '%')
--
2.1.0.GIT
Messages sorted by:
Reverse Date,
Date,
Thread,
Author