<commit_before>#include "SerialController.h"
#include <utils/threadutils.h>
#include <utils/AnyCollection.h>
#include <signal.h>

SerialController::SerialController(Robot& robot,const string& _servAddr,Real _writeRate)
  :RobotController(robot),servAddr(_servAddr),writeRate(_writeRate),lastWriteTime(0),endVCmdTime(-1)
{
  //HACK: is this where the sigpipe ignore should be?
  signal(SIGPIPE, SIG_IGN);
<commit_msg>SIGPIPE does not exist on windows systems<commit_after>#include "SerialController.h"
#include <utils/threadutils.h>
#include <utils/AnyCollection.h>
#include <signal.h>

SerialController::SerialController(Robot& robot,const string& _servAddr,Real _writeRate)
  :RobotController(robot),servAddr(_servAddr),writeRate(_writeRate),lastWriteTime(0),endVCmdTime(-1)
{
  //HACK: is this where the sigpipe ignore should be?
#ifndef WIN32
  signal(SIGPIPE, SIG_IGN);
#endif

{'fraction_non_alphanumeric': 0.12485811577752554, 'fraction_numerical': 0.00681044267877412, 'mean_word_length': 8.382978723404255, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2984516', 'n_tokens_mistral': 292, 'n_tokens_neox': 290, 'n_words': 59}