patch-src_LYUtils_c 495 B

123456789101112131415
  1. $MirOS: ports/www/lynx/patches/patch-src_LYUtils_c,v 1.3 2007/08/03 16:01:22 tg Exp $
  2. Important for upstream too
  3. --- lynx2-8-7.orig/src/LYUtils.c 2007-08-03 01:24:27.000000000 +0200
  4. +++ lynx2-8-7/src/LYUtils.c 2009-06-13 11:46:29.000000000 +0200
  5. @@ -5903,7 +5903,7 @@ static BOOL IsOurSymlink(const char *nam
  6. if (cutoff != 0) {
  7. HTSprintf0(&clone, "%.*s%s%s",
  8. - cutoff - name,
  9. + (int)(cutoff - name),
  10. name, PATHSEP_STR, buffer);
  11. FREE(buffer);
  12. buffer = clone;