This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
(missed one) Cygnus Win32 B17.1: Port of Cyclic Software CVS 1.9
- To: "'Cygnus:GNU-WIN32'" <gnu-win32 at cygnus dot com>, "'bug-cvs at prep dot ai dot mit dot edu'" <bug-cvs at prep dot ai dot mit dot edu>
- Subject: (missed one) Cygnus Win32 B17.1: Port of Cyclic Software CVS 1.9
- From: "Griswold, Victor" <VGris at aironet dot com>
- Date: Fri, 28 Feb 1997 16:51:30 -0500
It appears that this file-permissions-related edit our the Sun CVS
sources got missed in yesterday's posting. Apologies for any
inconvenience.
Victor J. Griswold, D.Sc.
Aironet Wireless Communications, Inc.
voice: 330-664-7987
fax: 330-664-7301
email: (MS-Mail) vgris@aironet.com
(MIME) Victor.Griswold@pobox.com
Index: CVS_src/src/filesubr.c
===================================================================
RCS file: s:/Software/AWC_Tools/CVSROOT/CVS_src/src/filesubr.c,v
retrieving revision 1.1.1.1.2.2
diff -c -r1.1.1.1.2.2 filesubr.c
*** filesubr.c 1997/02/28 18:37:36 1.1.1.1.2.2
--- filesubr.c 1997/02/28 20:14:43
***************
*** 62,67 ****
--- 62,69 ----
error (1, errno, "cannot open %s for copying", from);
if (fstat (fdin, &sb) < 0)
error (1, errno, "cannot fstat %s", from);
+ } else {
+ sb.st_mode = 0666;
}
if ((fdout = creat (to, (int) sb.st_mode & 07777)) < 0)
error (1, errno, "cannot create %s for copying", to);
***************
*** 71,76 ****
--- 73,80 ----
error (1, errno, "cannot open %s for copying", from);
if (fstat (fdin, &sb) < 0)
error (1, errno, "cannot fstat %s", from);
+ } else {
+ sb.st_mode = 0666;
}
if ((fdout = open (to, O_CREAT | O_TRUNC | O_RDWR | O_BINARY,
(int) sb.st_mode & 07777)) < 0)
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".