[Mplayer-cvslog] CVS: main/loader registry.c,1.2,1.3

GEREOFFY arpi_esp at users.sourceforge.net
Tue Mar 20 22:11:47 CET 2001


Update of /cvsroot/mplayer/main/loader
In directory usw-pr-cvs1:/tmp/cvs-serv5237

Modified Files:
	registry.c 
Log Message:
registry moved to /root/.mplayer/registry

Index: registry.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/registry.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** registry.c	2001/03/18 01:01:02	1.2
--- registry.c	2001/03/20 21:11:45	1.3
***************
*** 79,83 ****
          pathname=(char*)malloc(strlen(pwent->pw_dir)+20);
  	strcpy(pathname, pwent->pw_dir);
!         strcat(pathname, "/.registry");
  	fd=open(pathname, O_RDONLY);
          free(pathname);
--- 79,83 ----
          pathname=(char*)malloc(strlen(pwent->pw_dir)+20);
  	strcpy(pathname, pwent->pw_dir);
!         strcat(pathname, "/.mplayer/registry");
  	fd=open(pathname, O_RDONLY);
          free(pathname);
***************
*** 126,130 ****
          pathname=(char*)malloc(strlen(pwent->pw_dir)+20);
  	strcpy(pathname, pwent->pw_dir);
!         strcat(pathname, "/.registry");
  	fd=open(pathname, O_WRONLY | O_CREAT, 00777);
          free(pathname);
--- 126,130 ----
          pathname=(char*)malloc(strlen(pwent->pw_dir)+20);
  	strcpy(pathname, pwent->pw_dir);
!         strcat(pathname, "/.mplayer/registry");
  	fd=open(pathname, O_WRONLY | O_CREAT, 00777);
          free(pathname);


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list