# HG changeset patch # User diego # Date 1319648527 0 # Node ID 3c0cf739f1e1e89d76d55e37542c314efdd75200 # Parent fadc00cc31d3a38f0087091714f3db1ab7f23ae1 libdvdcss: consistently use snprintf() instead of _snprintf() Both functions are available on Cygwin and MinGW nowadays so there is no need to be inconsistent anymore. This was committed to the libdvdcss Subversion repository as revision 242. diff -r fadc00cc31d3 -r 3c0cf739f1e1 libdvdcss/device.c --- a/libdvdcss/device.c Wed Oct 26 15:52:06 2011 +0000 +++ b/libdvdcss/device.c Wed Oct 26 17:02:07 2011 +0000 @@ -511,7 +511,7 @@ static int win2k_open ( dvdcss_t dvdcss, char const *psz_device ) { char psz_dvd[7]; - _snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] ); + snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] ); /* To work around an M$ bug in IOCTL_DVD_READ_STRUCTURE, we need read * _and_ write access to the device (so we can make SCSI Pass Through