View | Details | Raw Unified
Collapse All | Expand All

(-)coreutils-8.21-alt1/src/ln.c (-1 / +1 lines)
 Lines 137-143    Link Here 
137
  char *targetdir = dir_name (target);
137
  char *targetdir = dir_name (target);
138
138
139
  char *realdest = canonicalize_filename_mode (targetdir, CAN_MISSING);
139
  char *realdest = canonicalize_filename_mode (targetdir, CAN_MISSING);
140
  char *realfrom = canonicalize_filename_mode (from, CAN_MISSING);
140
  char *realfrom = canonicalize_filename_mode (from, logical ? CAN_MISSING : CAN_MISSING | CAN_NOLINKS);
141
141
142
  /* Write to a PATH_MAX buffer.  */
142
  /* Write to a PATH_MAX buffer.  */
143
  char *relative_from = xmalloc (PATH_MAX);
143
  char *relative_from = xmalloc (PATH_MAX);