Jan Engelhardt schreef op 2014-10-16 13:28:
I have created a new package wcd for openSUSE. Wcd is a shell utility to change directory fast on the command line.
The "wcd" function is prone to race conditions because all invocations use the same file.
No. Every user has its own 'go script'. And a user will not type the wcd command twice at the same time.
That raises the question, why use a file at all? At least on Linux where pipes properly work and ttys exist, there is no need for additional temporary files.
A file works fine.
The documentation directory should probably be called /usr/share/doc/packages/wcd rather than wcd-5.2.25 since it is impossible to coinstall two versions currently.
Thanks. I fixed that. best regards, -- Erwin Waterlander http://waterlan.home.xs4all.nl/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org