Bug 152499 - Redirections in es may take effect in the shell itself
Summary: Redirections in es may take effect in the shell itself
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 22:20 UTC by Harald Hanche-Olsen
Modified: 2010-11-24 21:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Hanche-Olsen 2010-11-22 22:20:08 UTC
In es, redirections in failed commands take effect in the parent shell.

How-To-Repeat: Method 1: Start es, then execute
; foo > bar
where foo is an unknown command. The shell's stdout is now redirected to the file bar.

Method 2: Start es, then execute
; sleep 60 > bar
and then interrupt sleep with Ctrl-C. Again, the shell's stdout is redirected to bar.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2010-11-23 13:25:15 UTC
State Changed
From-To: open->closed

This does not look like an issue with FreeBSD port.  Bugs in the software 
please report to the vendor.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-11-24 21:25:32 UTC
pav         2010-11-24 21:25:27 UTC

  FreeBSD ports repository

  Modified files:
    shells/es            Makefile 
  Log:
  - Fix runtime error by disabling gcc optimizations
  
  PR:             ports/152499
  Submitted by:   Harald Hanche-Olsen <hanche@math.ntnu.no>
  
  Revision  Changes    Path
  1.19      +1 -0      ports/shells/es/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"