Commit 9145242
committed
Remove unnecessary mention of os.fsync() from os.exec*() docs
Before a process is replaced by os.exec*(), userspace buffers usually
need to be flushed. However, it is not necessary to flush kernel buffers
to disk using os.fsync(). Flushing userspace buffer to kernel, and
flushing kernel buffer to disk, are two different things. In addition,
os.fsync() is not applicable to pipes or sockets. This patch removes
this confusing information.1 parent 345fdce commit 9145242
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4318 | 4318 | | |
4319 | 4319 | | |
4320 | 4320 | | |
4321 | | - | |
4322 | | - | |
4323 | | - | |
4324 | | - | |
4325 | | - | |
| 4321 | + | |
| 4322 | + | |
| 4323 | + | |
| 4324 | + | |
4326 | 4325 | | |
4327 | 4326 | | |
4328 | 4327 | | |
| |||
0 commit comments