in reply to Re^2: Error reading line from file: Operation timed out
in thread Error reading line from file: Operation timed out
You shouldn't make assumptions. I never said to go ahead and open the file even if it doesn't exist. If it doesn't exist, don't try to open it unless you are wanting to create it... I may not have been completely clear but there is some common sense involved here... "Checking -e after a failed open is prone to race conditions" says exactly what I'm saying. You also made the assumption that this file was in the "outside world" when that wasn't the case as per robertobouza's latest post. If the file is locally on his machine then just hammering it to see if it works is not the answer...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Error reading line from file: Operation timed out
by moritz (Cardinal) on May 13, 2009 at 20:24 UTC | |
by RoyCrowder (Monk) on May 13, 2009 at 20:34 UTC | |
|
Re^4: Error reading line from file: Operation timed out
by robertobouza (Initiate) on May 13, 2009 at 20:10 UTC |