aboutsummaryrefslogtreecommitdiffstats
path: root/gtp/pdp.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-19 03:35:53 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-14 11:39:49 +0000
commitf41f5866cebbf88b6ae09ec8bd00c308f4d9f315 (patch)
treef8dd43e0d82e34fed3093245504982693255bdb5 /gtp/pdp.h
parentf7611c3ceea4afffeded41e287a3200a578e8a5b (diff)
gsn_restart file: wrap umask change tightly around file creation
An fopen("w") error used to omit the umask() call to reinstate the previous umask. Also an fopen("r") at the top will never create a file and hence does not need a umask set. Instead, wrap the umask change and change-back tightly around the single fopen("w") call. Change-Id: If7d948e2f2ba47ecebba5614f18235a53b273d14
Diffstat (limited to 'gtp/pdp.h')
0 files changed, 0 insertions, 0 deletions