X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ba30fb5c3cf640102352c6f4473e0b27e5161451..ecc7623e7faf75f6ba3dd7b5a416c52e2346ac7d:/pipe.c diff --git a/pipe.c b/pipe.c index da1b4de0..2326957d 100644 --- a/pipe.c +++ b/pipe.c @@ -1,8 +1,10 @@ -/* -*- c-file-style: "linux" -*- +/* + * Routines used to setup various kinds of inter-process pipes. * - * Copyright (C) 1996-2000 by Andrew Tridgell - * Copyright (C) Paul Mackerras 1996 - * Copyright (C) 2001, 2002 by Martin Pool + * Copyright (C) 1996-2000 Andrew Tridgell + * Copyright (C) 1996 Paul Mackerras + * Copyright (C) 2001, 2002 Martin Pool + * Copyright (C) 2004, 2005, 2006 Wayne Davison * * 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 @@ -14,9 +16,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "rsync.h" @@ -24,8 +26,8 @@ extern int am_sender; extern int am_server; extern int blocking_io; -extern int orig_umask; extern int filesfrom_fd; +extern mode_t orig_umask; extern struct chmod_mode_struct *chmod_modes; /**