gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, extgawk, updated. 2c698c5eb4294783e821e9


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, extgawk, updated. 2c698c5eb4294783e821e986c74e55b63507c790
Date: Fri, 15 Jun 2012 00:10:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, extgawk has been updated
       via  2c698c5eb4294783e821e986c74e55b63507c790 (commit)
      from  8ce87087172ee5be4ee72a1513daad3821185bf7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2c698c5eb4294783e821e986c74e55b63507c790

commit 2c698c5eb4294783e821e986c74e55b63507c790
Author: Andrew J. Schorr <address@hidden>
Date:   Thu Jun 14 20:09:57 2012 -0400

    Minor cleanups in extension/time.c.

diff --git a/extension/ChangeLog b/extension/ChangeLog
index 4d504fb..09c88d3 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-14         Andrew J. Schorr     <address@hidden>
+
+       * time.c (RETURN): Remove obsolete define.
+       (do_sleep): Change update_ERRNO_str argument to request translation.
+
 2012-06-12         Arnold D. Robbins     <address@hidden>
 
        Revise API:
diff --git a/extension/time.c b/extension/time.c
index a12a05d..ba8578c 100644
--- a/extension/time.c
+++ b/extension/time.c
@@ -51,8 +51,6 @@ int plugin_is_GPL_compatible;
 #include <time.h>
 #endif
 
-#define RETURN return tmp_number((AWKNUM) 0)
-
 /*
  * Returns time since 1/1/1970 UTC as a floating point value; should
  * have sub-second precision, but the actual precision will vary based
@@ -150,7 +148,7 @@ do_sleep(int nargs, awk_value_t *result)
 #else
        /* no way to sleep on this platform */
        rc = -1;
-       update_ERRNO_str("sleep: not supported on this platform", 0);
+       update_ERRNO_str("sleep: not supported on this platform", 1);
 #endif
 
        return make_number(rc, result);

-----------------------------------------------------------------------

Summary of changes:
 extension/ChangeLog |    5 +++++
 extension/time.c    |    4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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