Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ytree for openSUSE:Factory checked 
in at 2023-08-28 17:13:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ytree (Old)
 and      /work/SRC/openSUSE:Factory/.ytree.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ytree"

Mon Aug 28 17:13:11 2023 rev:4 rq:1105900 version:2.05

Changes:
--------
--- /work/SRC/openSUSE:Factory/ytree/ytree.changes      2021-11-08 
17:25:23.736741039 +0100
+++ /work/SRC/openSUSE:Factory/.ytree.new.1766/ytree.changes    2023-08-28 
17:13:12.604330505 +0200
@@ -1,0 +2,10 @@
+Wed Aug 23 07:14:17 UTC 2023 - Andrea Manzini <andrea.manz...@suse.com>
+
+- Update to 2.0.5:
+  * Uses regcomp instead of deprecated re_comp/re_exec (linux)
+  * Debug file sort issue for very large file sizes
+  * Reduced compiler warnings
+
+- run spec-clean
+
+-------------------------------------------------------------------

Old:
----
  ytree-2.04.tar.gz

New:
----
  ytree-2.05.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ytree.spec ++++++
--- /var/tmp/diff_new_pack.KD7LFI/_old  2023-08-28 17:13:13.660368427 +0200
+++ /var/tmp/diff_new_pack.KD7LFI/_new  2023-08-28 17:13:13.668368715 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ytree
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           ytree
-Version:        2.04
+Version:        2.05
 Release:        0
 Summary:        A filemanager similar to XTree
 License:        GPL-2.0-only
@@ -34,7 +34,7 @@
 %setup -q
 
 %build
-export CFLAGS="%optflags"
+export CFLAGS="%{optflags}"
 %make_build
 
 %install

++++++ ytree-2.04.tar.gz -> ytree-2.05.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/CHANGES new/ytree-2.05/CHANGES
--- old/ytree-2.04/CHANGES      2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/CHANGES      2023-08-17 19:03:01.000000000 +0200
@@ -169,4 +169,8 @@
     cleanup + added LDFLAG "-ltinfo" (needed for some newer ncurses versions) 
 New in 2.04
     Avoid security warning for mvprintw in input.c
+New in 2.05
+    Uses regcomp instead of deprecated re_comp/re_exec (linux)
+    Debug file sort issue for very large file sizes
+    Reduced compiler warnings
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/Makefile new/ytree-2.05/Makefile
--- old/ytree-2.04/Makefile     2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/Makefile     2023-08-17 19:03:23.000000000 +0200
@@ -249,7 +249,7 @@
 dirwin.o: config.h ytree.h dirwin.c
 disp.o: config.h ytree.h patchlev.h disp.c
 edit.o: config.h ytree.h edit.c
-error.o: config.h ytree.h error.c
+error.o: config.h ytree.h error.c patchlev.h
 execute.o: config.h ytree.h execute.c
 filespec.o: config.h ytree.h filespec.c
 filewin.o: config.h ytree.h filewin.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/dirwin.c new/ytree-2.05/dirwin.c
--- old/ytree-2.04/dirwin.c     2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/dirwin.c     2023-08-17 18:43:23.000000000 +0200
@@ -16,6 +16,16 @@
 static void ReadDirList(DirEntry *dir_entry);
 static void PrintDirEntry(WINDOW *win, int entry_no, int y, unsigned char 
hilight);
 static void BuildDirEntryList(DirEntry *dir_entry);
+static void HandleReadSubTree(DirEntry *dir_entry, DirEntry *start_dir_entry, 
BOOL *need_dsp_help);
+static void HandleUnreadSubTree(DirEntry *dir_entry, DirEntry *de_ptr, 
DirEntry *start_dir_entry, BOOL *need_dsp_help);
+static void MoveEnd(DirEntry **dir_entry);
+static void MoveHome(DirEntry **dir_entry);
+static void HandlePlus(DirEntry *dir_entry, DirEntry *de_ptr, char 
*new_login_path, DirEntry *start_dir_entry, BOOL *need_dsp_help);
+static void HandleTagDir(DirEntry *dir_entry, BOOL value);
+static void HandleTagAllDirs(DirEntry *dir_entry, BOOL value );
+static void HandleShowAllTagged(DirEntry *dir_entry,DirEntry *start_dir_entry, 
BOOL *need_dsp_help, int *ch);
+static void HandleShowAll(DirEntry *dir_entry, DirEntry *start_dir_entry, BOOL 
*need_dsp_help, int *ch);
+static void HandleSwitchWindow(DirEntry *dir_entry, DirEntry *start_dir_entry, 
BOOL *need_dsp_help, int *ch);
 
 static int dir_mode;
 
@@ -542,7 +552,7 @@
    return;
 }
 
-void MoveEnd(DirEntry **dir_entry)
+static void MoveEnd(DirEntry **dir_entry)
 {
     statistic.disp_begin_pos = MAXIMUM(0, total_dirs - window_height);
     statistic.cursor_pos     = total_dirs - statistic.disp_begin_pos - 1;
@@ -556,7 +566,7 @@
     return;
 }
 
-void MoveHome(DirEntry **dir_entry)
+static void MoveHome(DirEntry **dir_entry)
 {
     if( statistic.disp_begin_pos == 0 && statistic.cursor_pos == 0 )
     {  /* Position 1 bereits errecht */
@@ -578,8 +588,8 @@
     return;
 }
 
-void HandlePlus(DirEntry *dir_entry, DirEntry *de_ptr, char *new_login_path,
-               DirEntry *start_dir_entry, BOOL *need_dsp_help)
+static void HandlePlus(DirEntry *dir_entry, DirEntry *de_ptr, char 
*new_login_path,
+                      DirEntry *start_dir_entry, BOOL *need_dsp_help)
 {
     if( !dir_entry->not_scanned ) {
         beep();
@@ -599,7 +609,7 @@
     }
 }
 
-void HandleReadSubTree(DirEntry *dir_entry, DirEntry *start_dir_entry,
+static void HandleReadSubTree(DirEntry *dir_entry, DirEntry *start_dir_entry,
                       BOOL *need_dsp_help)
 {
     ScanSubTree( dir_entry );
@@ -611,7 +621,7 @@
     *need_dsp_help = TRUE;
 }
 
-void HandleUnreadSubTree(DirEntry *dir_entry, DirEntry *de_ptr,
+static void HandleUnreadSubTree(DirEntry *dir_entry, DirEntry *de_ptr,
                         DirEntry *start_dir_entry, BOOL *need_dsp_help)
 {
     if( dir_entry->not_scanned || (dir_entry->sub_tree == NULL) ) {
@@ -630,7 +640,7 @@
     return;
 }
 
-void HandleTagDir(DirEntry *dir_entry, BOOL value)
+static void HandleTagDir(DirEntry *dir_entry, BOOL value)
 {
     FileEntry *fe_ptr;
     for(fe_ptr=dir_entry->file; fe_ptr; fe_ptr=fe_ptr->next)
@@ -660,7 +670,7 @@
     return;
 }
 
-void HandleTagAllDirs(DirEntry *dir_entry, BOOL value )
+static void HandleTagAllDirs(DirEntry *dir_entry, BOOL value )
 {
     FileEntry *fe_ptr;
     long i;
@@ -695,7 +705,7 @@
     return;
 }
 
-void HandleShowAllTagged(DirEntry *dir_entry,DirEntry *start_dir_entry, BOOL 
*need_dsp_help, int *ch)
+static void HandleShowAllTagged(DirEntry *dir_entry,DirEntry *start_dir_entry, 
BOOL *need_dsp_help, int *ch)
 {
     if( statistic.disk_tagged_files )
     {
@@ -734,7 +744,7 @@
     return;
 }
 
-void HandleShowAll(DirEntry *dir_entry, DirEntry *start_dir_entry, BOOL 
*need_dsp_help, int *ch)
+static void HandleShowAll(DirEntry *dir_entry, DirEntry *start_dir_entry, BOOL 
*need_dsp_help, int *ch)
 {
     if( statistic.disk_matching_files )
     {
@@ -773,7 +783,7 @@
     return;
 }
 
-void HandleSwitchWindow(DirEntry *dir_entry, DirEntry *start_dir_entry, BOOL 
*need_dsp_help, int *ch)
+static void HandleSwitchWindow(DirEntry *dir_entry, DirEntry *start_dir_entry, 
BOOL *need_dsp_help, int *ch)
 {
     if( dir_entry->matching_files )
     {
@@ -1098,6 +1108,13 @@
                     need_dsp_help = TRUE;
                     break;
 
+      case 'B':
+      case 'b':      /* About Box */
+                     AboutBox();
+                     need_dsp_help = TRUE;
+                     break;
+
+
       case 'Q' & 0x1F:
                      need_dsp_help = TRUE;
                      QuitTo(dir_entry);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/disp.c new/ytree-2.05/disp.c
--- old/ytree-2.04/disp.c       2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/disp.c       2023-08-17 17:33:41.000000000 +0200
@@ -56,7 +56,7 @@
 static char *first_line ="1-5";
 
 
-static char dir_help_disk_mode_0[] = "DIR       (A)ttribute (D)elete  
(F)ilespec  (G)roup (L)og (M)akedir                 (Q)uit";
+static char dir_help_disk_mode_0[] = "DIR       (A)ttribute (D)elete  
(F)ilespec  (G)roup (L)og (M)akedir A(b)out         (Q)uit";
 static char dir_help_disk_mode_1[] = "COMMANDS  (O)wner (R)ename (S)howall 
(^S)how-tagged (T)ag (U)ntag e(X)ecute   (^F) dirmode"; 
 static char *dir_help[MAX_MODES][2] = 
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/error.c new/ytree-2.05/error.c
--- old/ytree-2.04/error.c      2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/error.c      2023-08-17 18:37:13.000000000 +0200
@@ -6,7 +6,7 @@
 
 
 #include "ytree.h"
-
+#include "patchlev.h"
 
 
 
@@ -14,22 +14,22 @@
 static void MapNoticeWindow(char *header);
 static void UnmapErrorWindow(void);
 static void PrintErrorLine(int y, char *str);
-static void DisplayErrorMessage(char *msg);
-static int  PrintErrorMessage(char *msg);
+static void DisplayMessage(char *msg);
+static int  PrintMessage(char *msg, BOOL do_beep);
 
 
 
 void Message(char *msg)
 {
   MapErrorWindow( "E R R O R" );
-  (void) PrintErrorMessage( msg );
+  (void) PrintMessage( msg, true );
 }
 
 
 void Notice(char *msg)
 {
   MapNoticeWindow( "N O T I C E" );
-  DisplayErrorMessage( msg );
+  DisplayMessage( msg );
   RefreshWindow( error_window );
   refresh();
 }
@@ -38,7 +38,22 @@
 void Warning(char *msg)
 {
   MapErrorWindow( "W A R N I N G" );
-  (void) PrintErrorMessage( msg );
+  (void) PrintMessage( msg, true );
+}
+
+
+void AboutBox()
+{
+  static char version[80];
+  
+  (void) sprintf( version, 
+                  "ytree Version %s %s*(Werner Bregulla)", 
+                  VERSION, 
+                  VERSIONDATE 
+                );
+
+  MapErrorWindow( "ABOUT" );
+  (void) PrintMessage( version, false );
 }
 
 
@@ -50,7 +65,7 @@
   (void) sprintf( buffer, "%s*In Module \"%s\"*Line %d", 
                  msg, module, line
                );
-  (void) PrintErrorMessage( buffer );
+  (void) PrintMessage( buffer, true );
 }
 
 
@@ -130,7 +145,7 @@
 
 
 
-static void DisplayErrorMessage(char *msg)
+static void DisplayMessage(char *msg)
 {
   int  y, i, j, count;
   char buffer[ERROR_WINDOW_WIDTH - 2 + 1];
@@ -162,12 +177,13 @@
 
 
 
-static int PrintErrorMessage(char *msg)
+static int PrintMessage(char *msg, BOOL do_beep)
 {
   int c;
   
-  DisplayErrorMessage( msg );
-  beep();
+  DisplayMessage( msg );
+  if(do_beep)
+    beep();
   RefreshWindow( error_window );
   doupdate();
   c = wgetch(error_window);
@@ -176,3 +192,6 @@
   return( c );
 }
 
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/filewin.c new/ytree-2.05/filewin.c
--- old/ytree-2.04/filewin.c    2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/filewin.c    2023-08-17 18:51:35.000000000 +0200
@@ -64,6 +64,7 @@
                                  );
 static void RereadWindowSize(DirEntry *dir_entry);
 static void ListJump( DirEntry * dir_entry, char *str );
+static char GetTypeOfFile(struct stat fst);
 
 
 
@@ -395,10 +396,17 @@
 
 static int SortBySize(FileEntryList *e1, FileEntryList *e2)
 {
-  if (order)
-     return( e1->file->stat_struct.st_size - e2->file->stat_struct.st_size );
-  else
-     return( - (e1->file->stat_struct.st_size - e2->file->stat_struct.st_size) 
);
+  int result = 0;
+
+  if(e1->file->stat_struct.st_size < e2->file->stat_struct.st_size)
+    result = 1;
+  else if (e1->file->stat_struct.st_size > e2->file->stat_struct.st_size)
+    result = -1;
+
+  if(order)
+    result *= -1;
+
+  return result;
 }
 
 
@@ -530,7 +538,7 @@
 }
 
 
-char GetTypeOfFile(struct stat fst)
+static char GetTypeOfFile(struct stat fst)
 {
        if ( S_ISLNK(fst.st_mode) )
                return '@';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/history.c new/ytree-2.05/history.c
--- old/ytree-2.04/history.c    2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/history.c    2023-08-17 18:57:07.000000000 +0200
@@ -8,6 +8,10 @@
 #include "ytree.h"
 
 
+static void PrintHstEntry(int entry_no, int y, int color, int start_x, int 
*hide_left, int *hide_right);
+static int DisplayHistory();
+
+
 
 #define MAX_HST_FILE_LINES 50
 #define MAX(a,b) (((a) > (b)) ? (a):(b))
@@ -123,8 +127,8 @@
 
 
 
-void PrintHstEntry(int entry_no, int y, int color, 
-                   int start_x, int *hide_left, int *hide_right)
+static void PrintHstEntry(int entry_no, int y, int color, 
+                          int start_x, int *hide_left, int *hide_right)
 {
   int     n;
   History *pp;
@@ -205,7 +209,7 @@
 
 
 
-int DisplayHistory()
+static int DisplayHistory()
 {
   int i, hilight_no, p_y;
   int hide_left, hide_right;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/input.c new/ytree-2.05/input.c
--- old/ytree-2.04/input.c      2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/input.c      2023-08-17 18:53:43.000000000 +0200
@@ -4,6 +4,7 @@
 #include "xmalloc.h"
 
 
+
 /***************************************************************************
  * InputStr                                                                *
  * Liest eine Zeichenkette an Position (y,x) mit der max. Laenge length    *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/keyhtab.c new/ytree-2.05/keyhtab.c
--- old/ytree-2.04/keyhtab.c    2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/keyhtab.c    2023-08-17 18:59:58.000000000 +0200
@@ -1,4 +1,13 @@
+/***************************************************************************
+ *
+ * Funktionen zum Key-Handling
+ *
+ ***************************************************************************/
+
+
 #include "ytree.h"
+
+
 #ifdef READLINE_SUPPORT
 #include "tilde.h"
 #include <readline/readline.h>
@@ -12,9 +21,13 @@
 static int cursor_pos     = 0;
 static int disp_begin_pos = 1;
 
+static void PrintMtchEntry(int entry_no, int y, int color, int start_x, int 
*hide_left, int *hide_right);
+static int DisplayMatches();
+
+
 
-void PrintMtchEntry(int entry_no, int y, int color, 
-                   int start_x, int *hide_left, int *hide_right)
+static void PrintMtchEntry(int entry_no, int y, int color, 
+                           int start_x, int *hide_left, int *hide_right)
 {
   int     n;
   char    buffer[BUFSIZ];
@@ -89,7 +102,7 @@
 
 
 
-int DisplayMatches()
+static int DisplayMatches()
 {
   int i, hilight_no, p_y;
   int hide_left, hide_right;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/match.c new/ytree-2.05/match.c
--- old/ytree-2.04/match.c      2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/match.c      2023-08-17 18:30:56.000000000 +0200
@@ -7,19 +7,15 @@
 
 #include "ytree.h"
 
-#if defined( sun ) || defined( linux ) || defined( __NeXT__ ) || defined( OSF1 
) ||  defined( __OpenBSD__ ) || defined(__NetBSD__) || defined( __FreeBSD__ ) 
|| defined( __GNU__ )
+
+#if defined( hpux ) || defined ( __APPLE__ ) || defined ( linux )
+#define HAS_REGCOMP
+#else
+#if defined( sun ) || defined( __NeXT__ ) || defined( OSF1 ) ||  defined( 
__OpenBSD__ ) || defined(__NetBSD__) || defined( __FreeBSD__ ) || defined( 
__GNU__ )
 #define HAS_REGEX
 #endif
-
-#ifdef linux
-/* To avoid warning about re_comp / re_exec */
-/* Maybe this would work on other architectures too */
-#define _REGEX_RE_COMP
 #endif
 
-#if defined( hpux ) || defined ( __APPLE__ )
-#define HAS_REGCOMP
-#endif
 
 
 #ifdef HAS_REGEX
@@ -37,8 +33,6 @@
 #else
 extern char *regcmp();
 extern char *regex();
-static char *file_spec_cmp = NULL;
-
 #endif /* HAS_REGEX */
 
 #if defined( HAS_REGCOMP )
@@ -47,13 +41,17 @@
 static BOOL    re_flag = FALSE;
 #endif
 
+#if ( !defined(HAS_REGEX) && !defined(HAS_REGCOMP) && !(defined(WIN32) || 
defined(__DJGPP__)) )
+static char *file_spec_cmp = NULL;
+#endif
+
+
 
 
 
 
 int SetMatchSpec(char *new_spec)
 {
-  char *result;
   char *buffer;
   char *b_ptr;
   BOOL meta_flag = FALSE;
@@ -95,7 +93,7 @@
 
 #if defined ( HAS_REGEX )
 
-  if( ( result = (char *) re_comp( buffer ) ) )
+  if( re_comp( buffer ) )
   {
     free( buffer );
     return( 1 );
@@ -123,18 +121,21 @@
 
 #if (!(defined(WIN32) || defined(__DJGPP__)))
 
-
-  if( ( result = regcmp( buffer, (char *) 0 ) ) == NULL )
   {
+    char *result;
+
+    if( ( result = regcmp( buffer, (char *) 0 ) ) == NULL )
+    {
+      free( buffer );
+      return( 1 );
+    }
+  
+    if( file_spec_cmp ) free( file_spec_cmp );
     free( buffer );
-    return( 1 );
+  
+    file_spec_cmp = result;
   }
 
-  if( file_spec_cmp ) free( file_spec_cmp );
-  free( buffer );
-
-  file_spec_cmp = result;
-
 #else
 
   /* WIN32 */
@@ -142,7 +143,6 @@
   /* z.Z. nicht unterstuetzt */
 
   free( buffer );
-  result = 0;
 
 #endif /* WIN32 */
 #endif /* HAS_REGCOMP */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/patchlev.h new/ytree-2.05/patchlev.h
--- old/ytree-2.04/patchlev.h   2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/patchlev.h   2023-08-17 17:53:21.000000000 +0200
@@ -5,6 +5,6 @@
  ***************************************************************************/
 
 
-#define        VERSION         "2.04"
+#define        VERSION         "2.05"
 #define        PATCHLEVEL      0
-#define VERSIONDATE    "Nov 06 2021"
+#define VERSIONDATE    "17 Aug 2023"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/view.c new/ytree-2.05/view.c
--- old/ytree-2.04/view.c       2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/view.c       2023-08-17 19:02:17.000000000 +0200
@@ -40,6 +40,18 @@
 
 static int ViewFile(DirEntry * dir_entry, char *file_path);
 static int ViewArchiveFile(char *file_path);
+static void hex_edit(char *file_path);
+static void printhexline(WINDOW *win, char *line, char *buf, int r, long 
offset);
+static void update_line(WINDOW *win, long line);
+static void scroll_down(WINDOW *win);
+static void scroll_up(WINDOW *win);
+static void update_all_lines(WINDOW *win, char l);
+static void Change2Edit(char *file_path);
+static void Change2View(char *file_path);
+static void SetupViewWindow(char *file_path);
+static unsigned char hexval(unsigned char v);
+static void change_char(int ch);
+static void move_right(WINDOW *win);
 
 
 
@@ -257,16 +269,18 @@
 
 
 
-char *strn2print(char *dest, char *src, int c)
+/*
+static char *strn2print(char *dest, char *src, int c)
 {
     dest[c]='\0';
     for( ;c >= 0;c--)
        dest[c] = (isprint(src[c]) ? src[c] : '.');
     return dest;
 }
+*/
 
 
-void printhexline(WINDOW *win, char *line, char *buf, int r, long offset)
+static void printhexline(WINDOW *win, char *line, char *buf, int r, long 
offset)
 {
     char *aux;
     int i;
@@ -309,7 +323,7 @@
     return;
 }
 
-void update_line(WINDOW *win, long line)
+static void update_line(WINDOW *win, long line)
 {
     int r;
     char *buf;
@@ -334,7 +348,7 @@
     xfree(buf);
 }
 
-void scroll_down(WINDOW *win)
+static void scroll_down(WINDOW *win)
 {
     scrollok(win,TRUE);
     wscrl(win,1);
@@ -345,7 +359,7 @@
     doupdate();    
 }
 
-void scroll_up(WINDOW *win)
+static void scroll_up(WINDOW *win)
 {
     scrollok(win,TRUE);
     wscrl(win,-1);
@@ -356,7 +370,7 @@
     doupdate();    
 }
 
-void update_all_lines(WINDOW *win, char l)
+static void update_all_lines(WINDOW *win, char l)
 {
     long i;
 
@@ -370,7 +384,7 @@
 }
 
 
-void Change2Edit(char *file_path)
+static void Change2Edit(char *file_path)
 {
     int i;
     char *str;
@@ -394,7 +408,7 @@
     return;
 }
 
-void Change2View(char *file_path)
+static void Change2View(char *file_path)
 {
     int i;
     char *str;
@@ -417,7 +431,7 @@
     return;
 }
 
-void SetupViewWindow(char *file_path)
+static void SetupViewWindow(char *file_path)
 {
     int i;
     char *str;
@@ -456,7 +470,7 @@
 
 
 
-unsigned char hexval(unsigned char v) {
+static unsigned char hexval(unsigned char v) {
        if (v >= 'a' && v <= 'f')
                v = v - 'a' + 10;
        else if (v >= '0' && v <= '9')
@@ -465,7 +479,7 @@
 }
 
 
-void change_char(int ch)
+static void change_char(int ch)
 {
 
     CHANGES *cambio=NULL;
@@ -537,7 +551,7 @@
 }
 
 
-void move_right(WINDOW *win)
+static void move_right(WINDOW *win)
 {
    fstat(fd,&fdstat);
    cursor_pos_x++;
@@ -568,7 +582,7 @@
     return;
 }
 
-void hex_edit(char *file_path)
+static void hex_edit(char *file_path)
 {
     int ch;
     char mensaje[50];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/ytree-2.04.lsm 
new/ytree-2.05/ytree-2.04.lsm
--- old/ytree-2.04/ytree-2.04.lsm       2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/ytree-2.04.lsm       1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-Begin4
-Title:         ytree-2.04
-Version:       2.04
-Entered-date:  2021-11-06
-Description:   Ytree is a nifty filemanager similar to xtree.
-               With some helper-applications (zip/zoo/tar/rpm etc.)
-               you can also browse archive files. Viewers for
-               "special" files are configurable (*.wav, *.gif etc.).
-               Even the commands/menus are now user configurable.
-               For a screenshot visit http://www.han.de/~werner/ytree.html
-Keywords:      file manager, browser, xtree
-Author:                wer...@frolix.han.de (Werner Bregulla)
-Maintained-by: wer...@frolix.han.de (Werner Bregulla)
-Primary-site:  http://www.han.de/~werner/ytree.html
-               ytree-2.04.tar.gz
-               ytree-2.04.lsm
-Copying-policy:        GPL
-End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/ytree-2.05.lsm 
new/ytree-2.05/ytree-2.05.lsm
--- old/ytree-2.04/ytree-2.05.lsm       1970-01-01 01:00:00.000000000 +0100
+++ new/ytree-2.05/ytree-2.05.lsm       2023-08-17 17:27:07.000000000 +0200
@@ -0,0 +1,18 @@
+Begin4
+Title:         ytree-2.05
+Version:       2.05
+Entered-date:  2023-08-17
+Description:   Ytree is a nifty filemanager similar to xtree.
+               With some helper-applications (zip/zoo/tar/rpm etc.)
+               you can also browse archive files. Viewers for
+               "special" files are configurable (*.wav, *.gif etc.).
+               Even the commands/menus are now user configurable.
+               For a screenshot visit http://www.han.de/~werner/ytree.html
+Keywords:      file manager, browser, xtree
+Author:                wer...@frolix.han.de (Werner Bregulla)
+Maintained-by: wer...@frolix.han.de (Werner Bregulla)
+Primary-site:  http://www.han.de/~werner/ytree.html
+               ytree-2.05.tar.gz
+               ytree-2.05.lsm
+Copying-policy:        GPL
+End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.04/ytree.h new/ytree-2.05/ytree.h
--- old/ytree-2.04/ytree.h      2021-11-06 14:38:10.000000000 +0100
+++ new/ytree-2.05/ytree.h      2023-08-17 18:55:53.000000000 +0200
@@ -941,6 +941,7 @@
 extern void Error(char *msg, char *module, int line);
 extern void Warning(char *msg);
 extern void Notice(char *msg);
+extern void AboutBox(void);
 extern void UnmapNoticeWindow(void);
 extern void SetFileMode(int new_file_mode);
 extern int  HandleFileWindow(DirEntry *dir_entry);
@@ -1094,8 +1095,9 @@
 extern char *GetUserDirAction(int chkey, int *pchremap);
 extern BOOL IsUserActionDefined(void);
 extern char *Getcwd(char *buffer, unsigned int len);
-extern int  RefreshDirWindow();
+extern int  RefreshDirWindow(void);
 extern char *StrLeft(const char *str, size_t count);
+extern char *StrRight(const char *str, size_t count);
 extern int  StrVisualLength(const char *str);
 extern int  WAttrAddStr(WINDOW *win, int attr, char *str);
 extern char *Strndup(const char *s, int len);

Reply via email to