You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by White May <wh...@263.net> on 2000/06/16 08:40:59 UTC

general/6197: wrong function use

>Number:         6197
>Category:       general
>Synopsis:       wrong function use
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jun 15 23:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     whitemay@263.net
>Release:        2.0a4
>Organization:
apache
>Environment:
Redhat Linux 6.1 for x86 platform
>Description:
Line 109 in file src/os/unix/unix.c

    if ((pgrp = setpgrp(getpid(), 0)) == -1 ) {

Wrong use of function int setpgrp()
>How-To-Repeat:

>Fix:
function setpgrp() should be function setpgid(...)
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]