[MPlayer-cvslog] CVS: main/libmpdvdkit2 bsdi_ioctl.c,1.2,1.3

Sascha Sommer CVS syncmail at mplayerhq.hu
Fri Feb 4 19:46:57 CET 2005


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libmpdvdkit2
In directory mail:/var2/tmp/cvs-serv17800/libmpdvdkit2

Modified Files:
	bsdi_ioctl.c 
Log Message:
bzero is deprecated patch by  Gianluigi Tiesi <mplayer at netfarm.it>

Index: bsdi_ioctl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdvdkit2/bsdi_ioctl.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bsdi_ioctl.c	8 Feb 2003 00:22:38 -0000	1.2
+++ bsdi_ioctl.c	4 Feb 2005 18:46:55 -0000	1.3
@@ -694,7 +694,7 @@
 	struct	cdrom_tocentry entry;
 	int	ret, i;
 
-	bzero(tracks, sizeof (*tracks));
+	memset(tracks, 0, sizeof (*tracks));
 	ret = cdrom_ioctl(fd, CDROMREADTOCHDR, &header);
 /*
  * This whole business is a crock anyhow so we don't bother distinguishing




More information about the MPlayer-cvslog mailing list