public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44252]  New: fixincludes fork vs. vms
@ 2010-05-23 10:31 jay dot krell at cornell dot edu
  2010-05-23 10:33 ` [Bug c/44252] " jay dot krell at cornell dot edu
  0 siblings, 1 reply; 2+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-23 10:31 UTC (permalink / raw)
  To: gcc-bugs

Vms doesn't have fork.
  It does have vfork/exec.
Fixincludes uses fork.
It appears fixincludes uses it in two ways:
 1) can be replaced by vfork?
 2) subject to configuration and easily avoided


Really -- I would suggest just use the more portable form in the case of #2 and
don't bother with any need to configure anything. It is to much slower to be
worth any hassle?


As well, libiberty's pex might be useful here -- to replace (v)fork/exe use.


I have an obvious two line patch but it is not yet tested -- fork -> vfork and
add a line to autoconf.


Also the two lines that check for x86-mingw and x86_64-mingw should just check
for mingw imho.


-- 
           Summary: fixincludes fork vs. vms
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jay dot krell at cornell dot edu
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: alpha-dec-vms
GCC target triplet: alpha-dec-vms


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44252


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/44252] fixincludes fork vs. vms
  2010-05-23 10:31 [Bug c/44252] New: fixincludes fork vs. vms jay dot krell at cornell dot edu
@ 2010-05-23 10:33 ` jay dot krell at cornell dot edu
  0 siblings, 0 replies; 2+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-23 10:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jay dot krell at cornell dot edu  2010-05-23 10:33 -------
Created an attachment (id=20729)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20729&action=view)
trivial two line untested patch


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44252


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-23 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-23 10:31 [Bug c/44252] New: fixincludes fork vs. vms jay dot krell at cornell dot edu
2010-05-23 10:33 ` [Bug c/44252] " jay dot krell at cornell dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).