[PD-cvs] externals/hcs stat.c,1.4,1.4.2.1
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Mon Jul 9 23:28:32 CEST 2007
Update of /cvsroot/pure-data/externals/hcs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3226
Modified Files:
Tag: branch-v0-39-2-extended
stat.c
Log Message:
minor code cleanup in prep for debugging 1750770, but then the bug went away... hmm... maybe the bug is related to the auto-build...
Index: stat.c
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/stat.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** stat.c 14 Jun 2006 23:38:05 -0000 1.4
--- stat.c 9 Jul 2007 21:28:30 -0000 1.4.2.1
***************
*** 178,191 ****
{
DEBUG(post("stat_output"););
- #ifdef _WIN32
- struct _stat stat_buffer;
- #else
- struct stat stat_buffer;
- #endif
int result;
-
#ifdef _WIN32
result = _stat(x->x_filename->s_name, &stat_buffer);
#else
result = stat(x->x_filename->s_name, &stat_buffer);
#endif /* _WIN32 */
--- 178,187 ----
{
DEBUG(post("stat_output"););
int result;
#ifdef _WIN32
+ struct _stat stat_buffer;
result = _stat(x->x_filename->s_name, &stat_buffer);
#else
+ struct stat stat_buffer;
result = stat(x->x_filename->s_name, &stat_buffer);
#endif /* _WIN32 */
More information about the Pd-cvs
mailing list