commit | bfa2c0f2504021248854f71e114b9f5ebb0e2c03 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | Tue May 24 23:18:38 2005 -0700 |
committer | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | Tue May 24 23:18:38 2005 -0700 |
tree | a01595e5d488ab81b18d1258508996106f719bad | |
parent | 44acbaf1564f0202f8bc73a5f5f7e8b055feb238 [diff] |
Let klcc pass input from STDIN to gcc Some packages want to pass input to gcc via STDIN (iptables for example) This patch lets klcc accept '-' as a valid input filename, prevents it from setting -x in that case and changes the invocation of gcc from system() to open3() so that gcc's STDIN can be connected to klcc's STDIN. Daniel Thaler