diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-04-03 03:03:54 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-04-03 03:03:54 +0000 |
commit | f1d3dad7023324d5c26f54fc236512394912bef6 (patch) | |
tree | a2c4655ada2f9fca785ba57990d414fb9a023b3d | |
parent | 41df4ee1ed8794fcba0a66076e647fd7e9f3bb61 (diff) | |
parent | 6811e9246a0e176189379bff266cc1beef64d214 (diff) | |
download | one-true-awk-android12L-gsi.tar.gz |
Snap for 7256110 from 6811e9246a0e176189379bff266cc1beef64d214 to sc-v2-releaseandroid-vts-12.1_r9android-vts-12.1_r8android-vts-12.1_r7android-vts-12.1_r6android-vts-12.1_r5android-vts-12.1_r4android-vts-12.1_r3android-vts-12.1_r2android-vts-12.1_r10android-vts-12.1_r1android-platform-12.1.0_r9android-platform-12.1.0_r8android-platform-12.1.0_r7android-platform-12.1.0_r6android-platform-12.1.0_r5android-platform-12.1.0_r4android-platform-12.1.0_r3android-platform-12.1.0_r27android-platform-12.1.0_r26android-platform-12.1.0_r25android-platform-12.1.0_r24android-platform-12.1.0_r23android-platform-12.1.0_r22android-platform-12.1.0_r21android-platform-12.1.0_r20android-platform-12.1.0_r2android-platform-12.1.0_r19android-platform-12.1.0_r18android-platform-12.1.0_r17android-platform-12.1.0_r16android-platform-12.1.0_r15android-platform-12.1.0_r14android-platform-12.1.0_r13android-platform-12.1.0_r12android-platform-12.1.0_r11android-platform-12.1.0_r10android-platform-12.1.0_r1android-cts-12.1_r9android-cts-12.1_r8android-cts-12.1_r7android-cts-12.1_r6android-cts-12.1_r5android-cts-12.1_r4android-cts-12.1_r3android-cts-12.1_r2android-cts-12.1_r10android-cts-12.1_r1android-12.1.0_r6android-12.1.0_r5android-12.1.0_r4android-12.1.0_r3android-12.1.0_r27android-12.1.0_r2android-12.1.0_r1android12L-tests-releaseandroid12L-s1-releaseandroid12L-releaseandroid12L-platform-releaseandroid12L-gsi
Change-Id: I4167215b9aae8a9b2b8581587ede86bd18d41bf2
-rw-r--r-- | FIXES | 4 | ||||
-rw-r--r-- | METADATA | 6 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | tran.c | 4 |
4 files changed, 10 insertions, 6 deletions
@@ -25,6 +25,10 @@ THIS SOFTWARE. This file lists all bug fixes, changes, etc., made since the AWK book was sent to the printers in August, 1987. +February 15, 2021: + Small fix so that awk will compile again with g++. Thanks to + Arnold Robbins. + January 06, 2021: Fix a decision bug with trailing stuff in lib.c:is_valid_number after recent changes. Thanks to Ozan Yigit. @@ -5,11 +5,11 @@ third_party { type: GIT value: "https://github.com/onetrueawk/awk.git" } - version: "178f660b5a4fde6f39e8065185373166f55b6e0c" + version: "c0f4e97e4561ff42544e92512bbaf3d7d1f6a671" license_type: NOTICE last_upgrade_date { year: 2021 - month: 2 - day: 9 + month: 4 + day: 1 } } @@ -22,7 +22,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ****************************************************************/ -const char *version = "version 20210106"; +const char *version = "version 20210215"; #define DEBUG #include <stdio.h> @@ -418,7 +418,7 @@ Awkfloat getfval(Cell *vp) /* get float val of a Cell */ return(vp->fval); } -static char *get_inf_nan(double d) +static const char *get_inf_nan(double d) { if (isinf(d)) { return (d < 0 ? "-inf" : "+inf"); @@ -432,7 +432,7 @@ static char *get_str_val(Cell *vp, char **fmt) /* get string val of a Cel { char s[256]; double dtemp; - char *p; + const char *p; if ((vp->tval & (NUM | STR)) == 0) funnyvar(vp, "read value of"); |