ado@elsie.UUCP (Arthur David Olson) (08/30/87)
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.