This commit is contained in:
Glenn Maynard
2004-01-13 00:01:07 +00:00
parent 24016f1b84
commit d4338898e0
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -900,6 +900,9 @@ cl /Zl /nologo /c verstub.cpp /Fo"$(IntDir)"\
<Filter
Name="ArchHooks"
Filter="">
<File
RelativePath="arch\ArchHooks\ArchHooks.cpp">
</File>
<File
RelativePath="arch\ArchHooks\ArchHooks.h">
</File>
@@ -1906,9 +1909,6 @@ cl /Zl /nologo /c verstub.cpp /Fo&quot;$(IntDir)&quot;\
<File
RelativePath="AnnouncerManager.h">
</File>
<File
RelativePath="arch\ArchHooks\ArchHooks.cpp">
</File>
<File
RelativePath="Bookkeeper.cpp">
</File>
@@ -12,7 +12,7 @@
#include "StepMania.h" /* for g_argv */
#include "RageLog.h" /* for RageLog::GetAdditionalLog, etc, only */
#include <RageThreads.h>
#include "RageThreads.h"
#include <sys/types.h>
#include <sys/wait.h>
@@ -57,14 +57,14 @@ static void spawn_child_process(int from_parent)
}
/* write(), but retry a couple times on EINTR. */
int retried_write( int fd, const void *buf, size_t count )
static int retried_write( int fd, const void *buf, size_t count )
{
int tries = 3, ret;
do
{
ret = write( fd, buf, count );
}
while( tries-- && ret == -1 && errno == EINTR );
while( ret == -1 && errno == EINTR && tries-- );
return ret;
}