#include "error.h"
#include "quotearg.h"
#include "quote.h"
+#include "unlocked-io.h"
/* When reporting an invalid argument, show nonprinting characters
by using the quoting style ARGMATCH_QUOTING_STYLE. Do not use
/* closeout.c - close standard output
- Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "closeout.h"
#include "error.h"
#include "quotearg.h"
+#include "unlocked-io.h"
#include "__fpending.h"
static int default_exit_status = EXIT_FAILURE;
#endif
#include "error.h"
+#include "unlocked-io.h"
#ifndef _
# define _(String) String
#include "exclude.h"
#include "fnmatch.h"
+#include "unlocked-io.h"
#include "xalloc.h"
#ifndef SIZE_MAX
#endif
#include "fatal.h"
+#include "unlocked-io.h"
/* Like error, but always exit with EXIT_FAILURE. */
may define-away `const'. We want the prototype for get_date to have
the same signature as the function definition. */
#include "getdate.h"
+#include "unlocked-io.h"
#ifndef gmtime
struct tm *gmtime ();
-/* Copyright (C) 1992,93,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,93,94,95,96,97,98,99,2000, 2001 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
#include <termios.h>
#include <unistd.h>
#include "getline.h"
+#include "unlocked-io.h"
/* It is desirable to use this bit on systems that have it.
The only bit of terminal state we want to twiddle is echoing, which is
/* getstr.c -- core function for GNU C library getline replacement function
- Copyright (C) 1993, 1996-2000 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1996-2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
char *malloc (), *realloc ();
#endif
+#include "unlocked-io.h"
+
/* Always add at least this many bytes when extending the buffer. */
#define MIN_CHUNK 64
/* getusershell.c -- Return names of valid user shells.
- Copyright (C) 1991, 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1997, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
# include <stdlib.h>
#endif
#include <ctype.h>
+#include "unlocked-io.h"
#include "xalloc.h"
#if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII))
/* linebuffer.c -- read arbitrarily long lines
- Copyright (C) 1986, 1991, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1991, 1998, 1999, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <stdio.h>
#include <sys/types.h>
#include "linebuffer.h"
+#include "unlocked-io.h"
char *xmalloc ();
char *xrealloc ();
/* md5.c - Functions to compute MD5 message digest of files or memory blocks
according to the definition of MD5 in RFC 1321 from April 1992.
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu.
#endif
#include "md5.h"
+#include "unlocked-io.h"
#ifdef _LIBC
# include <endian.h>
#include <stdio.h>
#include <sys/types.h>
#include "mountlist.h"
+#include "unlocked-io.h"
#ifdef STDC_HEADERS
# include <stdlib.h>
/* Parse dates for touch and date.
- Copyright (C) 1989, 1990, 1991, 1998, 2000 Free Software Foundation Inc.
+ Copyright (C) 1989, 1990, 1991, 1998, 2000, 2001 Free Software Foundation Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#endif
#include "posixtm.h"
+#include "unlocked-io.h"
/* ISDIGIT differs from isdigit, as follows:
- Its arg may be any int or unsigned int; it need not be an unsigned char.
/* readtokens.c -- Functions for reading tokens from an input stream.
- Copyright (C) 1990-1991, 1999 Jim Meyering.
+ Copyright (C) 1990-1991, 1999, 2001 Jim Meyering.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#endif /* not STDC_HEADERS and not HAVE_STRING_H */
#include "readtokens.h"
+#include "unlocked-io.h"
void *xmalloc ();
void *xrealloc ();
/* GNU's read utmp module.
- Copyright (C) 1992-2000 Free Software Foundation, Inc.
+ Copyright (C) 1992-2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#endif /* STDC_HEADERS || HAVE_STRING_H */
#include "readutmp.h"
+#include "unlocked-io.h"
char *xmalloc ();
char *realloc ();
# undef INSIDE_RECURSION
# endif
#endif
+#include "unlocked-io.h"
#ifdef INSIDE_RECURSION
/* Common operations on the compiled pattern. */
/* sha.c - Functions to compute the SHA1 hash (message-digest) of files
or blocks of memory. Complies to the NIST specification FIPS-180-1.
- Copyright (C) 2000 Scott G. Miller
+ Copyright (C) 2000, 2001 Scott G. Miller
Credits:
Robert Klep <robert@ilse.nl> -- Expansion function fix
#include "md5.h"
#include "sha.h"
+#include "unlocked-io.h"
/*
Not-swap is a macro that does an endian swap on architectures that are
#endif
#include <stdio.h>
+#include "unlocked-io.h"
#include "version-etc.h"
#if ENABLE_NLS
/* yesno.c -- read a yes/no response from stdin
- Copyright (C) 1990, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1998, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
# include <stdlib.h>
#endif
#include <stdio.h>
+#include "unlocked-io.h"
/* Read one line from standard input
and return nonzero if that line begins with y or Y,