#57 closed bug (fixed)
No terminal output after a redirect
Reported by: | mmlr | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
After redirecting some command to a file ("echo hello > hello.txt") the stdout is appearantly not restored correctly and following commands don't print their output to the terminal anymore. Tested with both terminals (Haiku Terminal and MiniTerminal).
Change History (4)
comment:1 by , 19 years ago
Resolution: | → fixed |
---|
comment:2 by , 19 years ago
Status: | new → closed |
---|
comment:3 by , 19 years ago
Note:
See TracTickets
for help on using tickets.
hrev14313 fixes this; our F_DUPFD, dup(), and dup2() calls didn't clear the close-on-exec flag as required by POSIX.