diff options
Diffstat (limited to 'www/gatling/files/patch-gatling.c')
-rw-r--r-- | www/gatling/files/patch-gatling.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/gatling/files/patch-gatling.c b/www/gatling/files/patch-gatling.c new file mode 100644 index 000000000000..394658b14458 --- /dev/null +++ b/www/gatling/files/patch-gatling.c @@ -0,0 +1,11 @@ +--- gatling.c.orig Mon Jan 31 17:14:45 2005 ++++ gatling.c Sun Feb 20 17:02:12 2005 +@@ -3088,7 +3088,7 @@ void forkslave(int fd,buffer* in) { + } + } + error: +- write(fd,&code,4); ++ if (write(fd,&code,4)!=4) exit(0); + code=strlen(msg); + write(fd,&code,4); + { |