Skip to content
Snippets Groups Projects
Commit ffc9388d authored by ballen4705's avatar ballen4705
Browse files

I have been reading W. Richard Stevens "Advanced Programming in the UNIX Environment".

We need to flush all buffered IO streams before fork(), else both parent and child end
up with copies and will eventually flush them, resulting in two copies.


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@375 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent b7f2be7e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment