]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 14 Apr 2002 08:52:10 +0000 (08:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 14 Apr 2002 08:52:10 +0000 (08:52 +0000)
* posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.

ChangeLog
posix/bsd-getpgrp.c

index a281a1981f34a1d5c0dc900a595b3bc5bfed32b6..8228fea23e6313eb162d1d4eea79905fb01966ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,6 +21,7 @@
        * sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid.
        * sysdeps/generic/getpid.c: Likewise.
        * sysdeps/unix/syscalls.list: Add __getpid_internal alias.
+       * posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.
 
        * include/unistd.h: Declare __getpgid_internal and define
        __getpgid macro if not NOT_IN_libc.
index a95d2948e3789076ea49da1eed796130fcc5fa61..ba49008583e66709dcef08b89f856f1dd26adf1d 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD-compatible versions of getpgrp function.
-   Copyright (C) 1991, 92, 94, 95, 96, 97, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,92,94,95,96,97,2000,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 /* Don't include unistd.h because it declares a conflicting
    prototype for the POSIX.1 `getpgrp' function.  */
 extern pid_t __getpgid (pid_t);
+extern pid_t __getpgid_internal (pid_t);
 extern pid_t __bsd_getpgrp (pid_t);
 
 pid_t
 __bsd_getpgrp (pid_t pid)
 {
-  return __getpgid (pid);
+  return INTUSE(__getpgid) (pid);
 }