diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-20 21:11:45 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-20 21:11:45 +0000 |
commit | 92c8f49ad10fc6a964d01e74c0386e99c47a9086 (patch) | |
tree | e52c72884fabafc80d989b6418904d27d2f3904e /loader | |
parent | 22bc7b9ece76c260558085b95eb350a33e9fcabd (diff) | |
download | mpv-92c8f49ad10fc6a964d01e74c0386e99c47a9086.tar.bz2 mpv-92c8f49ad10fc6a964d01e74c0386e99c47a9086.tar.xz |
registry moved to /root/.mplayer/registry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@173 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r-- | loader/registry.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |