~vcs-imports/eglibc/trunk

« back to all changes in this revision

Viewing changes to libc/sysdeps/unix/sysv/linux/grantpt.c

  • Committer: joseph
  • Date: 2013-08-20 16:23:48 UTC
  • Revision ID: svn-v4:7b3dc134-2b1b-0410-93df-9e9f96275f8d:trunk:23785
Merge changes between r23517 and r23715 from /fsf/trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
#include "pty-private.h"
13
13
 
14
 
 
 
14
#if HAVE_PT_CHOWN
15
15
/* Close all file descriptors except the one specified.  */
16
16
static void
17
17
close_all_fds (void)
38
38
      __dup2 (STDOUT_FILENO, STDERR_FILENO);
39
39
    }
40
40
}
41
 
#define CLOSE_ALL_FDS() close_all_fds()
 
41
# define CLOSE_ALL_FDS() close_all_fds()
 
42
#endif
42
43
 
43
44
#include <sysdeps/unix/grantpt.c>