sys/kernel_termios.h sys/msq_buf.h sys/sem_buf.h \
sys/shm_buf.h sys/socketcall.h
+.PHONY: remove-old-headers
remove-old-headers:
rm -f $(addprefix $(inst_includedir)/, $(headers2_0))
AC_MSG_WARN(*** During \"make install\" old headers from glibc 2.0.x will)
AC_MSG_WARN(*** be removed.)
fi
+AC_SUBST(old_glibc_headers)
AC_SUBST(libc_cv_slibdir)
AC_SUBST(libc_cv_sysconfdir)
_IO_list_all; _IO_stderr_; _IO_stdin_; _IO_stdout_;
- __libc_pid; __libc_uid;
+ __libc_pid;
# This is for sparc only.
.div; .mul; .rem; .udiv; .umul; .urem;
1998-06-26 Ulrich Drepper <drepper@cygnus.com>
+ * sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Correct
+ for new definition of pthread_rwlock_t.
+
* spinlock.c: Correct test whether to compile
__pthread_compare_and_swap or not.
/* Fast locks (not abstract because mutexes and conditions aren't abstract). */
struct _pthread_fastlock
{
- long status; /* "Free" or "taken" or head of waiting list */
+ long int status; /* "Free" or "taken" or head of waiting list */
int spinlock; /* For compare-and-swap emulation */
};
} pthread_rwlock_t;
# define PTHREAD_RWLOCK_INITIALIZER \
- { 0, 0, 0, {0, 0}, {0, 0}, \
+ { {0, 0}, 0, NULL, NULL, NULL, \
PTHREAD_RWLOCK_DEFAULT_NP, PTHREAD_PROCESS_PRIVATE }
#endif
if (name == NULL)
goto close_master;
- slave open (name, O_RDWR);
+ slave = open (name, O_RDWR);
if (slave == -1)
goto close_master;
@comment BSD
@deftypefun int forkpty (int *@var{amaster}, char *@var{name}, struct termios *@var{termp}, struct winsize *@var{winp})
This function is similar to the @code{openpty} function, but in
-addition, forks creates a new process (@pxref{Creating a Process}) and
-makes the newly opened slave pseudo-terminal device the controlling
-terminal (@pxref{Controlling Terminal}) for the child process.
+addition, forks a new process (@pxref{Creating a Process}) and makes the
+newly opened slave pseudo-terminal device the controlling terminal
+(@pxref{Controlling Terminal}) for the child process.
If the operation is successful, there are then both parent and child
processes and both see @code{forkpty} return, but with different values: