};
char *group_member ();
-char *xmalloc ();
-char *xrealloc ();
static int change_dir_group __P ((const char *dir, int group,
const struct stat *statp));
void mode_string ();
void strip_trailing_slashes ();
-char *xmalloc ();
-char *xrealloc ();
static int change_dir_mode __P ((const char *dir,
const struct mode_change *changes,
char *parse_user_spec ();
void strip_trailing_slashes ();
-char *xmalloc ();
-char *xrealloc ();
enum Change_status
{
int full_write ();
int euidaccess ();
-char *xmalloc ();
int yesno ();
static int copy_internal __P ((const char *src_path, const char *dst_path,
/* cp-hash.c -- file copying (hash search routines)
- Copyright (C) 89, 90, 91, 95, 1996 Free Software Foundation.
+ Copyright (C) 89, 90, 91, 95, 1996, 1997 Free Software Foundation.
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
struct entry *hash[1]; /* Vector of pointers in `entry_tab'. */
};
-char *xmalloc ();
-char *xrealloc ();
-
struct htab *htab;
char new_file;
char *dirname ();
enum backup_type get_version ();
void strip_trailing_slashes ();
-char *xmalloc ();
char *xstrdup ();
/* Initial number of entries in each hash table entry's table of inodes. */
/* Use separate input and output buffers, and combine partial input blocks. */
#define C_TWOBUFS 04000
-char *xmalloc ();
int safe_read ();
int full_write ();
char *dirname ();
void strip_trailing_slashes ();
-char *xmalloc ();
char *xstrdup ();
char *xgetcwd ();
int stat ();
int lstat ();
-char *xmalloc ();
-char *xrealloc ();
-
static int hash_insert __P ((ino_t ino, dev_t dev));
static int hash_insert2 __P ((struct htab *_htab, ino_t ino, dev_t dev));
static long count_entry __P ((const char *ent, int top, dev_t last_dev,
#endif
char *base_name ();
-char *xmalloc ();
int safe_read ();
int full_write ();
int isdir ();
char *getuser ();
void strip_trailing_slashes ();
char *xstrdup ();
-char *xmalloc ();
-char *xrealloc ();
void invalid_arg ();
static char *make_link_path __P ((const char *path, const char *linkname));
if (files_index == nfiles)
{
nfiles *= 2;
- files = (struct fileinfo *) xrealloc (files, sizeof (*files) * nfiles);
+ files = (struct fileinfo *) xrealloc ((char *) files,
+ sizeof (*files) * nfiles);
}
files[files_index].linkname = 0;
char *base_name ();
int euidaccess ();
void strip_trailing_slashes ();
-char *xmalloc ();
int yesno ();
/* Forward dcl for recursively called function. */