(missed one) Cygnus Win32 B17.1: Port of Cyclic Software CVS 1.9
Griswold, Victor
VGris@aironet.com
Fri Feb 28 13:40:00 GMT 1997
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".
More information about the Cygwin
mailing list