This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

other/2141: set -C in gccbug not portable



>Number:         2141
>Category:       other
>Synopsis:       set -C in gccbug not portable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 01 12:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Orth
>Release:        3.0 20010221 (prerelease)
>Organization:
University of Bielefeld, Faculty of Technology
>Environment:
System: SunOS eiche 5.8 Generic sun4u sparc SUNW,Ultra-250
Architecture: sun4

	
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: /vol/gnu/src/gcc/gcc-3.0-branch/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --enable-shared --disable-nls
>Description:
gccbug uses set -C to avoid overwriting files with I/O redirection.
Unfortunately, this isn't portable: none of Solaris 2.8, IRIX 6.2, or Tru64 UNIX
V5.1 /bin/sh support it, while bash and ksh do.
>How-To-Repeat:
% /bin/sh ./gccbug
./gccbug: -C: bad option(s)
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]