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 <Filter
Name="ArchHooks" Name="ArchHooks"
Filter=""> Filter="">
<File
RelativePath="arch\ArchHooks\ArchHooks.cpp">
</File>
<File <File
RelativePath="arch\ArchHooks\ArchHooks.h"> RelativePath="arch\ArchHooks\ArchHooks.h">
</File> </File>
@@ -1906,9 +1909,6 @@ cl /Zl /nologo /c verstub.cpp /Fo&quot;$(IntDir)&quot;\
<File <File
RelativePath="AnnouncerManager.h"> RelativePath="AnnouncerManager.h">
</File> </File>
<File
RelativePath="arch\ArchHooks\ArchHooks.cpp">
</File>
<File <File
RelativePath="Bookkeeper.cpp"> RelativePath="Bookkeeper.cpp">
</File> </File>
@@ -12,7 +12,7 @@
#include "StepMania.h" /* for g_argv */ #include "StepMania.h" /* for g_argv */
#include "RageLog.h" /* for RageLog::GetAdditionalLog, etc, only */ #include "RageLog.h" /* for RageLog::GetAdditionalLog, etc, only */
#include <RageThreads.h> #include "RageThreads.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.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. */ /* 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; int tries = 3, ret;
do do
{ {
ret = write( fd, buf, count ); ret = write( fd, buf, count );
} }
while( tries-- && ret == -1 && errno == EINTR ); while( ret == -1 && errno == EINTR && tries-- );
return ret; return ret;
} }