diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-22 01:36:38 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-22 01:36:38 +0000 |
commit | 555ed98c0c84acb1da23acc23d288b0c4a18c3f8 (patch) | |
tree | d61cde1e9acbfb8b1795e221ccb46dafb4afa1fb /science | |
parent | 2103b10e0e934180853352f11d9c5581c8c0b7b5 (diff) |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc | 20 | ||||
-rw-r--r-- | science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc b/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc new file mode 100644 index 000000000000..58951354f321 --- /dev/null +++ b/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc @@ -0,0 +1,20 @@ +--- src/lib/util/keyval/ipv2_scan.cc.orig 2018-07-22 01:07:05 UTC ++++ src/lib/util/keyval/ipv2_scan.cc +@@ -673,7 +673,7 @@ YY_RULE_SETUP + } + yylval.str = (char *)malloc(strlenyytext+1); + if (!yylval.str) { +- ExEnv::errn() << "IPV2: {string} rule: malloc failed" << endl; ++ ExEnv::errn() << "IPV2: {string} rule: malloc failed" << std::endl; + abort(); + } + strcpy(yylval.str,yytext); +@@ -684,7 +684,7 @@ case 3: + YY_RULE_SETUP + { yylval.str = (char *)malloc(strlen(yytext)); + if (!yylval.str) { +- ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << endl; ++ ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << std::endl; + abort(); + } + strcpy(yylval.str,&yytext[1]); diff --git a/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll b/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll new file mode 100644 index 000000000000..8516730dccfa --- /dev/null +++ b/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll @@ -0,0 +1,20 @@ +--- src/lib/util/keyval/ipv2_scan.ll.orig 2018-07-22 01:07:58 UTC ++++ src/lib/util/keyval/ipv2_scan.ll +@@ -59,7 +59,7 @@ qstring \"[^"\n]+\" + } + yylval.str = (char *)malloc(strlenyytext+1); + if (!yylval.str) { +- ExEnv::errn() << "IPV2: {string} rule: malloc failed" << endl; ++ ExEnv::errn() << "IPV2: {string} rule: malloc failed" << std::endl; + abort(); + } + strcpy(yylval.str,yytext); +@@ -67,7 +67,7 @@ qstring \"[^"\n]+\" + } + {qstring} { yylval.str = (char *)malloc(strlen(yytext)); + if (!yylval.str) { +- ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << endl; ++ ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << std::endl; + abort(); + } + strcpy(yylval.str,&yytext[1]); |