From 92c8f49ad10fc6a964d01e74c0386e99c47a9086 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Tue, 20 Mar 2001 21:11:45 +0000 Subject: registry moved to /root/.mplayer/registry git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@173 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/registry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loader/registry.c') diff --git a/loader/registry.c b/loader/registry.c index d049cbdf7f..85699f56dd 100644 --- a/loader/registry.c +++ b/loader/registry.c @@ -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) -- cgit v1.2.3