registry moved to /root/.mplayer/registry

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@173 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-03-20 21:11:45 +00:00
parent 22bc7b9ece
commit 92c8f49ad1
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ static void open_registry()
pwent=getpwuid(getuid());
pathname=(char*)malloc(strlen(pwent->pw_dir)+20);
strcpy(pathname, pwent->pw_dir);
strcat(pathname, "/.registry");
strcat(pathname, "/.mplayer/registry");
fd=open(pathname, O_RDONLY);
free(pathname);
if(fd==-1)
@ -125,7 +125,7 @@ static void save_registry()
pwent=getpwuid(getuid());
pathname=(char*)malloc(strlen(pwent->pw_dir)+20);
strcpy(pathname, pwent->pw_dir);
strcat(pathname, "/.registry");
strcat(pathname, "/.mplayer/registry");
fd=open(pathname, O_WRONLY | O_CREAT, 00777);
free(pathname);
if(fd==-1)