Update of /cvsroot/pure-data/externals/hcs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30598
Modified Files: uname.c Log Message: fixed the crasher-bug on linux
Index: uname.c =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/uname.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** uname.c 14 Jun 2006 23:38:05 -0000 1.2 --- uname.c 29 Feb 2008 15:52:53 -0000 1.3 *************** *** 62,66 **** t_atom uname_data[5]; ! utsname_struct = malloc(sizeof(utsname_struct));
if ( uname(utsname_struct) > -1 ) --- 62,66 ---- t_atom uname_data[5]; ! utsname_struct = malloc(sizeof(*utsname_struct));
if ( uname(utsname_struct) > -1 )