1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-06-08 17:20:41 +00:00

setgid wasn't needed

This commit is contained in:
Your Name 2021-05-07 05:20:08 +04:30
parent 0129cb4622
commit 9c9b4401e2

View File

@ -17,10 +17,6 @@ You should have received a copy of the CC0 Public Domain Dedication along with t
typedef signed char byte;
FILE* score_file;
byte score_write(const char* path, long wscore, byte save_to_num){// only saves the top 10, returns the place in the chart
#ifdef __unix__
setgid(getgid());
setuid(getuid());
#endif
score_file=fopen(path,"r");
if(!score_file){
score_file=fopen(path,"w");