[10220] in Athena Bugs
rsaix 7.4G: cc
daemon@ATHENA.MIT.EDU (Christina Diete DeMello)
Mon Jan 25 14:19:20 1993
To: bugs@Athena.MIT.EDU
Date: Mon, 25 Jan 93 14:19:11 EST
From: Christina Diete DeMello <cdemello@Athena.MIT.EDU>
System name: air-traffic-controller
Type and version: POWER 7.4G
Display type: graygda
What were you trying to do?
A user inadvertently typed:
cc file1 file2
as opposed to
cp file1 file2
What's wrong:
file1 was erased, and cc ONLY gave an error that file2
did not exist
What should have happened:
file1 should not have been erased. on a DEC5000/133 it
just gave an error that file1 was not C code, which makes
more sense.
Please describe any relevant documentation references:
/mit/cdemello/Tmp -->touch foobar
/mit/cdemello/Tmp -->ls
foobar
/mit/cdemello/Tmp -->cc foobar file2
xlc: 1501-228 input file file2 not found
/mit/cdemello/Tmp -->ls -a
. ..
/mit/cdemello/Tmp -->