Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.unix.questions Subject: Why does System V make use SCCS's -p option when getting files? Message-ID: <7474@elsie.UUCP> Date: Sun, 30-Aug-87 11:40:11 EDT Article-I.D.: elsie.7474 Posted: Sun Aug 30 11:40:11 1987 Date-Received: Fri, 4-Sep-87 00:44:25 EDT Followup-To: poster Organization: NIH-LEC, Bethesda, MD Lines: 33 Keywords: SCCS make System V's make command uses SCCS's -p option when getting files, which sometimes makes for problems, as shown below: Script started on Sun Aug 30 11:24:13 1987 $ mkdir try try/SCCS $ cd try ./try $ echo %W% > try.c $ sccs admin -itry.c try.c $ rm try.c $ /usr/5bin/make try >>>>>> get -p SCCS/s.try.c > try.c 1.1 1 lines cc -O try.c -o try "try.c", line 1: illegal character: 100 (octal) "try.c", line 1: cannot recover from earlier errors: goodbye! *** Error code 1 Stop. $ sccs edit try.c >>>>>> ERROR [SCCS/s.try.c]: writable `try.c' exists (ge4) $ exit script done on Sun Aug 30 11:25:17 1987 Now I realize that by putting GET='umask 222 ; get' into the environment I can avoid problems. But my question is: why does make use the -p option, rather than just "get"ting the file? If you have any ideas, I'd appreciate hearing from you by mail. -- UUCP: elsie!ado Elsie and Ado are trademarks of Borden, Inc. and Ampex.