~brianaker/gearmand/osx9-fixes

« back to all changes in this revision

Viewing changes to libtest/stream.h

  • Committer: Brian Aker
  • Date: 2013-06-30 02:48:43 UTC
  • mto: This revision was merged to the branch mainline in revision 793.
  • Revision ID: brian@tangent.org-20130630024843-cyeuwxib5634s6tr
Fix for fork test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#include <ctime>
43
43
#include <ostream>
44
44
 
 
45
#include <sys/types.h>
 
46
#include <unistd.h>
 
47
 
45
48
namespace libtest {
46
49
namespace stream {
47
50
 
65
68
          << ":" 
66
69
          << line_number 
67
70
          << ": in " 
68
 
          << func << "() "
 
71
          << func << "() pid("
 
72
          << getpid() << ") "
69
73
          << s.str()
70
74
          << std::endl;
71
75
      }
97
101
          << ":" 
98
102
          << line_number 
99
103
          << ": in " 
100
 
          << func << "() "
 
104
          << func << "() pid("
 
105
          << getpid() << ") "
101
106
          << s.str()
102
107
          << std::endl;
103
108
      }