[PD-cvs] externals/hcs folder_list.c,1.11,1.12

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Jul 31 07:37:33 CEST 2006


Update of /cvsroot/pure-data/externals/hcs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6983

Modified Files:
	folder_list.c 
Log Message:
GLOB_ABORTED and GLOB_NOMATCH don't exist in Mac OS X before 10.4, so check to see if they exist before using them

Index: folder_list.c
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/folder_list.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** folder_list.c	31 Jul 2006 02:35:37 -0000	1.11
--- folder_list.c	31 Jul 2006 05:37:31 -0000	1.12
***************
*** 128,137 ****
--- 128,141 ----
  		  error("[folder_list] out of memory for \"%s\"",x->x_pattern->s_name); 
  		  break;
+ #ifdef GLOB_ABORTED
  	   case GLOB_ABORTED: 
  		  error("[folder_list] aborted \"%s\"",x->x_pattern->s_name); 
  		  break;
+ #endif
+ #ifdef GLOB_NOMATCH
  	   case GLOB_NOMATCH: 
  		  error("[folder_list] nothing found for \"%s\"",x->x_pattern->s_name); 
  		  break;
+ #endif
  	}
  	for(i = 0; i < glob_buffer.gl_pathc; i++)





More information about the Pd-cvs mailing list