DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2317
Version: 1.3-current
Fix Version: 1.3-current (r7452)


I'm no CMake expert, but saw the following go by in a recent patch:

+# On unix create backward compatibility symlinks
+if(NOT EXISTS @PREFIX_INCLUDE@/Fl)
+   EXECUTE_PROCESS(COMMAND ln -s FL Fl
+      WORKING_DIRECTORY @PREFIX_INCLUDE@
+      )
+endif(NOT EXISTS @PREFIX_INCLUDE@/Fl)

My question relates to all places where links could be created, not
just this specific example.

What happens if a "link name" already exists, but is not a link to
the desired target? Eg. the user has made a brute-force copy of a
target to the directory, or there is some debris from a previous
build where the link pointed to a different target.

Is there, or should there be, some sanity checking that stops and
warns the user to clean up before continuing?

D.


Link: http://www.fltk.org/str.php?L2317
Version: 1.3-current
Fix Version: 1.3-current (r7452)

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to