components/libsndfile/patches/test_strncpy_crlf.c.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Thu, 07 May 2015 10:31:56 -0700
branchs11-update
changeset 4259 03635257972b
parent 290 4a5d715e84b4
permissions -rw-r--r--
20831561 problem in LIBRARY/GD2

*** libsndfile-1.0.23/src/test_strncpy_crlf.c	Mon Oct  4 04:14:50 2010
--- libsndfile-1.0.23/src/test_strncpy_crlf.c.new	Mon Jun  6 08:22:40 2011
***************
*** 28,34 ****
  void
  test_strncpy_crlf (void)
  {	const char *src = "a\nb\nc\n" ;
! 	char *dest ;
  	int dest_len ;
  
  	print_test_name ("Testing psf_strncpy_crlf") ;
--- 28,34 ----
  void
  test_strncpy_crlf (void)
  {	const char *src = "a\nb\nc\n" ;
! 	unsigned char *dest ;
  	int dest_len ;
  
  	print_test_name ("Testing psf_strncpy_crlf") ;