delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/28/19:42:04

From: VGris AT aironet DOT com ("Griswold, Victor")
Subject: (missed one) Cygnus Win32 B17.1: Port of Cyclic Software CVS 1.9
28 Feb 1997 19:42:04 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <c=US%a=_%p=TELXON%l=TELXON/TLXUSEX1/00038317.cygnus.gnu-win32@exchange.mis.telxon.com>
Mime-Version: 1.0
Original-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>
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT aironet DOT com
	(MIME) Victor DOT Griswold AT pobox DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019