http://www.riscos.info/bugzilla3/show_bug.cgi?id=228
Summary: SUL 1.12: system()/exec*() ignoring aliases of
existing non-module commands.
Product: GCC/GCCSDK
Version: other
Platform: Other
OS/Version: RISC OS
Status: NEW
Severity: normal
Priority: P1
Component: C compiler
AssignedTo: John.Tytgat@aaug.net
ReportedBy: duncan_moore@ntlworld.com
Estimated Hours: 0.0
GCCSDK GCC 4.1.2 Release 2 Development
ShareUnixLibrary 1.12
VRPC RISC OS 4.39
system() and exec*() are ignoring aliases of existing non-module commands.
For example, alias.c:
#include <stdlib.h>
int main(void) {
system("time");
system("ls");
return 0;
}
*gcc -o test alias.c
'ls' is a previously compiled Run$Path command.
*alias ls echo should see this
*alias time echo should see this
*ls
should see this
*time
should see this
*test
should see this
!Run c d Makefile o stat test
Previously, the output was:
should see this
should see this
--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment