gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-707


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-707-ga188a60
Date: Thu, 28 May 2015 02:41:02 +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, gawk-4.1-stable has been updated
       via  a188a60ef38c39c7ddda96fdd88c5abb4feebe2b (commit)
      from  e07a65e10d9a9eb04ef97b2fb2f885c5595d8fac (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=a188a60ef38c39c7ddda96fdd88c5abb4feebe2b

commit a188a60ef38c39c7ddda96fdd88c5abb4feebe2b
Author: Arnold D. Robbins <address@hidden>
Date:   Wed May 27 22:40:48 2015 -0400

    Add two new helper programs.

diff --git a/helpers/ChangeLog b/helpers/ChangeLog
index e0d394b..4188c17 100644
--- a/helpers/ChangeLog
+++ b/helpers/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-27         Arnold D. Robbins     <address@hidden>
+
+       * mb_cur_max.c, timeformat.c: New files.
+
 2015-05-19         Arnold D. Robbins     <address@hidden>
 
        * 4.1.3: Release tar ball made.
diff --git a/helpers/mb_cur_max.c b/helpers/mb_cur_max.c
new file mode 100644
index 0000000..c36d7ef
--- /dev/null
+++ b/helpers/mb_cur_max.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <locale.h>
+#include <stdlib.h>
+
+int main()
+{
+       setlocale(LC_ALL, "");
+       printf("MB_CUR_MAX = %lu\n", MB_CUR_MAX);
+       return 0;
+}
diff --git a/helpers/timeformat.c b/helpers/timeformat.c
new file mode 100644
index 0000000..c3d1b93
--- /dev/null
+++ b/helpers/timeformat.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <locale.h>
+#include <langinfo.h>
+
+int main(int argc, char **argv)
+{
+       setlocale(LC_ALL, "");
+       printf("D_T_FMT: %s\n", nl_langinfo(D_T_FMT));
+#ifdef _DATE_FMT
+       printf("_DATE_FMT: %s\n", nl_langinfo(_DATE_FMT));
+#endif /* _DATE_FMT */
+       return 0;
+}

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

Summary of changes:
 helpers/ChangeLog    |    4 ++++
 helpers/mb_cur_max.c |   10 ++++++++++
 helpers/timeformat.c |   13 +++++++++++++
 3 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 helpers/mb_cur_max.c
 create mode 100644 helpers/timeformat.c


hooks/post-receive
-- 
gawk



reply via email to

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