diff options
Diffstat (limited to 'misc/ytree/files')
| -rw-r--r-- | misc/ytree/files/patch-filewin.c | 31 | ||||
| -rw-r--r-- | misc/ytree/files/patch-ytree.h | 10 |
2 files changed, 24 insertions, 17 deletions
diff --git a/misc/ytree/files/patch-filewin.c b/misc/ytree/files/patch-filewin.c index 77aac86429f9..ebf556d47673 100644 --- a/misc/ytree/files/patch-filewin.c +++ b/misc/ytree/files/patch-filewin.c @@ -1,20 +1,37 @@ ---- filewin.c.orig Sat Jun 16 23:16:26 2001 -+++ filewin.c Sat Jun 16 23:17:06 2001 -@@ -626,7 +626,7 @@ +--- filewin.c.orig ++++ filewin.c +@@ -92,14 +92,14 @@ + case MODE_1: len = (max_visual_linkname_len) ? max_visual_linkname_len + 4 : 0; /* linkname + " -> " */ + len += max_visual_filename_len + 38; /* filename + format */ + #ifdef HAS_LONGLONG +- len += 4; /* %11lld instead of %7d */ ++ len += 4; /* %11lld instead of %7qd */ + #endif + break; + + case MODE_2: len = (max_visual_linkname_len) ? max_visual_linkname_len + 4 : 0; /* linkname + " -> " */ + len += max_visual_filename_len + 40; /* filename + format */ + #ifdef HAS_LONGLONG +- len += 4; /* %11lld instead of %7d */ ++ len += 4; /* %11lld instead of %7qd */ + #endif + break; + +@@ -602,7 +602,7 @@ sym_link_name ); #else - (void) sprintf( format, "%%c%%c%%-%ds %%10s %%3d %%7d %%12s -> %%-%ds", + (void) sprintf( format, "%%c%%c%%-%ds %%10s %%3d %%7qd %%12s -> %%-%ds", - max_filename_len, - max_linkname_len + filename_width, + linkname_width ); -@@ -661,7 +661,7 @@ +@@ -637,7 +637,7 @@ modify_time ); #else - (void) sprintf( format, "%%c%%c%%%c%ds %%10s %%3d %%7d %%12s", + (void) sprintf( format, "%%c%%c%%%c%ds %%10s %%3d %%7qd %%12s", justify, - max_filename_len + filename_width ); diff --git a/misc/ytree/files/patch-ytree.h b/misc/ytree/files/patch-ytree.h deleted file mode 100644 index fb914dbef42d..000000000000 --- a/misc/ytree/files/patch-ytree.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ytree.h.orig -+++ ytree.h -@@ -14,6 +14,7 @@ - #include <stdio.h> - #include <ctype.h> - #include <math.h> -+#include <locale.h> - - #ifdef XCURSES - #include <xcurses.h> |
