r249694 - in /trunk/libgomp: ChangeLog env.c pl...
vries@gcc.gnu.org
vries@gcc.gnu.org
Tue Jun 27 15:51:00 GMT 2017
Author: vries
Date: Tue Jun 27 15:51:37 2017
New Revision: 249694
URL: https://gcc.gnu.org/viewcvs?rev=249694&root=gcc&view=rev
Log:
Use secure_getenv for GOMP_DEBUG
2017-06-27 Tom de Vries <tom@codesourcery.com>
* env.c (parse_unsigned_long_1): Factor out of ...
(parse_unsigned_long): ... here.
(parse_int_1): Factor out of ...
(parse_int): ... here.
(parse_int_secure): New function.
(initialize_env): Use parse_int_secure for GOMP_DEBUG.
* secure_getenv.h: Factor out of ...
* plugin/plugin-hsa.c: ... here.
* testsuite/libgomp.oacc-c-c++-common/gomp-debug-env.c: New test.
Added:
trunk/libgomp/secure_getenv.h
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/gomp-debug-env.c
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/env.c
trunk/libgomp/plugin/plugin-hsa.c
More information about the Gcc-cvs
mailing list