Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5734/zexy/src
Modified Files: freadln.c fwriteln.c matchbox.c pack~.c zexy.c zexy.dsp zexy.h Log Message: win32 fixes
Index: freadln.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/freadln.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** freadln.c 16 Aug 2007 22:29:21 -0000 1.4 --- freadln.c 31 Oct 2007 10:46:46 -0000 1.5 *************** *** 27,36 **** //#include <fcntl.h>
! //#ifdef __WIN32__ ! //# include <io.h> //#else //# include <sys/types.h> //# include <unistd.h> ! //#endif
#define MIN_FREADLN_LENGTH 10 --- 27,37 ---- //#include <fcntl.h>
! #ifdef __WIN32__ ! # include <io.h> ! # include <stdlib.h> //#else //# include <sys/types.h> //# include <unistd.h> ! #endif
#define MIN_FREADLN_LENGTH 10
Index: zexy.h =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/zexy.h,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** zexy.h 30 Oct 2007 09:21:36 -0000 1.27 --- zexy.h 31 Oct 2007 10:46:46 -0000 1.28 *************** *** 120,124 **** * this should make zexy binary compatible with older pd versions again */ ! void verbose(int level, const char *fmt, ...); #else /* --- 120,126 ---- * this should make zexy binary compatible with older pd versions again */ ! # ifndef __WIN32__ ! void verbose(int level, const char *fmt, ...); ! # endif #else /*
Index: matchbox.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/matchbox.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** matchbox.c 30 Oct 2007 09:26:46 -0000 1.7 --- matchbox.c 31 Oct 2007 10:46:46 -0000 1.8 *************** *** 95,102 **** /* delete the _next_ element from the list */ static t_listlist* deletelistnext(t_listlist*list) { if(!list || !list->next)return list; /* nothing to delete */ ! t_listlist*ll=list->next; list->next=ll->next; if(ll->argv)freebytes(ll->argv, ll->argc*sizeof(t_atom)); ll->argv=0; ll->argc=0; --- 95,106 ---- /* delete the _next_ element from the list */ static t_listlist* deletelistnext(t_listlist*list) { + t_listlist*ll=0; + if(!list || !list->next)return list; /* nothing to delete */ ! ! ll=list->next; list->next=ll->next; if(ll->argv)freebytes(ll->argv, ll->argc*sizeof(t_atom)); + ll->argv=0; ll->argc=0;
Index: pack~.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/pack~.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pack~.c 30 Oct 2007 09:21:52 -0000 1.5 --- pack~.c 31 Oct 2007 10:46:46 -0000 1.6 *************** *** 44,49 **** i++; } #warning defer list-output to next block with a clock! ! outlet_list(x->x_obj.ob_outlet, &s_list, x->vector_length, x->buffer);
--- 44,50 ---- i++; } + #ifndef __WIN32__ #warning defer list-output to next block with a clock! ! #endif outlet_list(x->x_obj.ob_outlet, &s_list, x->vector_length, x->buffer);
Index: zexy.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/zexy.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** zexy.c 22 Oct 2007 10:18:48 -0000 1.19 --- zexy.c 31 Oct 2007 10:46:46 -0000 1.20 *************** *** 154,157 **** --- 154,158 ---- }
+ #ifndef __WIN32__ void verbose(int level, const char *fmt, ...){ char buf[MAXPDSTRING]; *************** *** 166,167 **** --- 167,169 ---- post("zverbose(%d): %s", level, buf); } + #endif \ No newline at end of file
Index: fwriteln.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/fwriteln.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** fwriteln.c 23 Sep 2007 19:14:54 -0000 1.9 --- fwriteln.c 31 Oct 2007 10:46:46 -0000 1.10 *************** *** 20,23 **** --- 20,24 ---- #ifdef __WIN32__ # define snprintf _snprintf + # include <stdlib.h> #endif
Index: zexy.dsp =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/zexy.dsp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** zexy.dsp 5 Jul 2007 14:49:23 -0000 1.9 --- zexy.dsp 31 Oct 2007 10:46:46 -0000 1.10 *************** *** 181,184 **** --- 181,188 ---- # Begin Source File
+ SOURCE=.\list2lists.c + # End Source File + # Begin Source File + SOURCE=.\list2symbol.c # End Source File *************** *** 189,192 **** --- 193,200 ---- # Begin Source File
+ SOURCE=.\listfind.c + # End Source File + # Begin Source File + SOURCE=.\lpt.c # End Source File *************** *** 329,332 **** --- 337,344 ---- # Begin Source File
+ SOURCE=.\tabread4~~.c + # End Source File + # Begin Source File + SOURCE=.\tabset.c # End Source File