changeset 172:82a9977f7e04

registry moved to /root/.mplayer/registry
author arpi_esp
date Tue, 20 Mar 2001 21:11:45 +0000
parents 74d549cfd4a2
children fb67a2aa61fe
files loader/registry.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/registry.c	Tue Mar 20 20:51:17 2001 +0000
+++ b/loader/registry.c	Tue Mar 20 21:11:45 2001 +0000
@@ -78,7 +78,7 @@
         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 @@
         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)