Touch bug

Paul Blumstein paulb at ncc1701.tti.com
Sat Apr 8 00:50:00 AEST 1989


paulb at ttidca.tti.com (Paul Blumstein) writes:
+Our network has some machines on 3.5 and some on 4.0.  If you have a zero
+length file existing on a 4.0 machine and are trying to touch that file
+over NFS (rw permissions, of course) from a 3.5 machine, touch does not
+complain but does not modify the date.  This has caused makefile problems
+that rely on touch to update dates.

I received this reply from SUN and am posting it because others may have
the same problem:

From: cs at sun.com (Carl Smith)
Organization: Sun Microsystems, Mountain View

Fixed some time ago.  If you have suppport, a fix is available.
Meanwhile, if you're just creating some empty files and updating them to
keep track of which targets need to be made, try make TOUCH='date >',
assuming of course that the people who wrote your makefiles were smart
enough to write

	${TOUCH} mumble

rather than

	touch mumble


			Carl



More information about the Comp.sys.sun mailing list