Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ytree for openSUSE:Factory checked 
in at 2021-03-02 14:43:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ytree (Old)
 and      /work/SRC/openSUSE:Factory/.ytree.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ytree"

Tue Mar  2 14:43:18 2021 rev:2 rq:875899 version:2.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/ytree/ytree.changes      2020-06-27 
23:23:21.849976912 +0200
+++ /work/SRC/openSUSE:Factory/.ytree.new.2378/ytree.changes    2021-03-02 
15:34:10.110091166 +0100
@@ -1,0 +2,6 @@
+Sun Feb 28 20:22:18 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 2.0.3:
+  * cleanup + added LDFLAG "-ltinfo"
+
+-------------------------------------------------------------------

Old:
----
  ytree-2.02.tar.gz

New:
----
  ytree-2.03.tar.gz

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

Other differences:
------------------
++++++ ytree.spec ++++++
--- /var/tmp/diff_new_pack.WzHT24/_old  2021-03-02 15:34:10.490091412 +0100
+++ /var/tmp/diff_new_pack.WzHT24/_new  2021-03-02 15:34:10.490091412 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ytree
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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.02
+Version:        2.03
 Release:        0
 Summary:        A filemanager similar to XTree
 License:        GPL-2.0-only

++++++ ytree-2.02.tar.gz -> ytree-2.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/CHANGES new/ytree-2.03/CHANGES
--- old/ytree-2.02/CHANGES      2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/CHANGES      2021-01-01 15:19:20.000000000 +0100
@@ -165,3 +165,5 @@
     Debug crash when using "tagged rename"
 New in 2.02
     Crash during startup (group.c)
+New in 2.03
+    cleanup + added LDFLAG "-ltinfo" (needed for some newer ncurses versions) 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/Makefile new/ytree-2.03/Makefile
--- old/ytree-2.02/Makefile     2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/Makefile     2021-01-01 15:19:20.000000000 +0100
@@ -25,7 +25,7 @@
 # Uncomment the lines for your system (default is linux)
 
 ###########################
-# LINUX (testet with ncurses 5.6)
+# LINUX (tested with ncurses 5.6)
 # Attention Slackware users: 
 #           Maybe you have to change the MANDIR to $(DESTDIR)/man/man1
 ###########################
@@ -33,27 +33,27 @@
 #CLOCK     = -DCLOCK_SUPPORT # Experimental!
 READLINE    = -DREADLINE_SUPPORT
 CFLAGS      += -D_GNU_SOURCE $(COLOR) $(CLOCK) $(READLINE) $(ADD_CFLAGS)
-LDFLAGS     += -lncurses -lreadline
+LDFLAGS     += -lncurses -ltinfo -lreadline
 
 ###########################
-# LINUX with Wide character support (testet with ncurses 5.4)
+# LINUX with Wide character support (tested with ncurses 5.4)
 # Requires libncursesw!
 ###########################
 #COLOR       = -DCOLOR_SUPPORT 
 ##CLOCK            = -DCLOCK_SUPPORT # Experimental!
 #READLINE    = -DREADLINE_SUPPORT
 #CFLAGS      = -D_GNU_SOURCE -DWITH_UTF8 $(ADD_CFLAGS) $(COLOR) $(CLOCK) 
$(READLINE)
-#LDFLAGS     = -lncursesw -lreadline
+#LDFLAGS     = -lncursesw -ltinfo -lreadline
 
 ###########################
-# LINUX without libreadline (testet with ncurses 5.2)
+# LINUX without libreadline (tested with ncurses 5.2)
 # Attention Slackware users: 
 #           Maybe you have to change the MANDIR to $(DESTDIR)/man/man1
 ###########################
 #COLOR       = -DCOLOR_SUPPORT 
 #CLOCK      = -DCLOCK_SUPPORT # Experimental!
 #CFLAGS      = $(ADD_CFLAGS) $(COLOR) $(CLOCK)
-#LDFLAGS     = -lncurses
+#LDFLAGS     = -lncurses -ltinfo
 
 ###########################
 # LINUX (X11 using PDCurses) thanks to  Mark Hessling
@@ -65,7 +65,7 @@
 #LDFLAGS     = -lXCurses -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lSM -lICE 
-lXext
 
 ###########################
-# The Hurd (GNU) (testet with ncurses 5.0)
+# The Hurd (GNU) (tested with ncurses 5.0)
 ###########################
 #COLOR       = -DCOLOR_SUPPORT
 ##CLOCK      = -DCLOCK_SUPPORT # Experimental!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/copy.c new/ytree-2.03/copy.c
--- old/ytree-2.02/copy.c       2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/copy.c       2021-01-01 15:19:20.000000000 +0100
@@ -29,7 +29,6 @@
   char        from_path[PATH_LENGTH+1];
   char        from_dir[PATH_LENGTH+1];
   char        to_path[PATH_LENGTH+1];
-  char        temp_path[PATH_LENGTH+1];
   char        abs_path[PATH_LENGTH+1];
   char        buffer[20];
   FileEntry   *dest_file_entry;
@@ -401,8 +400,8 @@
 {
   char *command_line;
   char buffer[PATH_LENGTH + 3];
-  char from_p_aux[PATH_LENGTH + 3];
-  char to_p_aux[PATH_LENGTH + 3];
+  char from_p_aux[PATH_LENGTH + 1];
+  char to_p_aux[PATH_LENGTH + 1];
   char *archive;
   int result = -1;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/dirwin.c new/ytree-2.03/dirwin.c
--- old/ytree-2.02/dirwin.c     2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/dirwin.c     2021-01-01 15:19:20.000000000 +0100
@@ -824,7 +824,6 @@
   char new_name[PATH_LENGTH + 1];
   char new_login_path[PATH_LENGTH + 1];
   char *home, *p;
-  struct stat fdstat;
 
   unput_char = 0;
   de_ptr = NULL;
@@ -1195,13 +1194,11 @@
             int cursor_pos,
              char *path)
 {
-  DirEntry  *dir_entry;
   int ch;
   int result = -1;
   int win_width, win_height;
 
 
-  dir_entry = start_dir_entry;
   GetMaxYX(f2_window, &win_height, &win_width);
   MapF2Window();
   DisplayTree( f2_window, disp_begin_pos, disp_begin_pos + cursor_pos );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/filewin.c new/ytree-2.03/filewin.c
--- old/ytree-2.02/filewin.c    2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/filewin.c    2021-01-01 15:19:20.000000000 +0100
@@ -2857,7 +2857,6 @@
 {
   FileEntry *fe_ptr;
   int       i;
-  int       result = 0;
 
   
   for( i=0; i < (int)file_count; i++ )
@@ -2866,7 +2865,7 @@
 
     if( fe_ptr->tagged && fe_ptr->matching )
     {
-      result = fkt( fe_ptr, walking_package );
+      (void)fkt( fe_ptr, walking_package );
     }
   }
 }
@@ -3052,7 +3051,7 @@
 
     char *newStr = NULL;
     FileEntry * fe_ptr = NULL;
-    int i=0, j=0, n=0, start_x=0, ic=0, iq=0, tmp2=0;
+    int i=0, j=0, n=0, start_x=0, ic=0, tmp2=0;
     char * jumpmsg = "Press initial of file to jump to... ";
 
     ClearHelp();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/input.c new/ytree-2.03/input.c
--- old/ytree-2.02/input.c      2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/input.c      2021-01-01 15:19:20.000000000 +0100
@@ -17,7 +17,7 @@
 #ifdef WITH_UTF8
   mbstate_t state;
 #endif
-  char *rez, *p, *tmp;
+  char *rez, *tmp;
   size_t len, i;
 
 #ifdef WITH_UTF8
@@ -30,14 +30,12 @@
   len = 0;
 
   tmp = Strdup(str);
-  p = tmp; 
   for (i = 0; i < count; i++) {
 #ifdef WITH_UTF8
     len += mbrlen(p, 4, &state);
 #else
     len++;
 #endif
-    p = tmp + len;
   }
   free(tmp);
   
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/patchlev.h new/ytree-2.03/patchlev.h
--- old/ytree-2.02/patchlev.h   2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/patchlev.h   2021-01-01 15:41:54.000000000 +0100
@@ -7,6 +7,6 @@
  ***************************************************************************/
 
 
-#define        VERSION         "2.02"
+#define        VERSION         "2.03"
 #define        PATCHLEVEL      0
-#define VERSIONDATE    "Mar 15 2020"
+#define VERSIONDATE    "Jan 01 2021"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/pipe.c new/ytree-2.03/pipe.c
--- old/ytree-2.02/pipe.c       2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/pipe.c       2021-01-01 15:19:20.000000000 +0100
@@ -17,7 +17,7 @@
 
 int Pipe(DirEntry *dir_entry, FileEntry *file_entry)
 {
-  static char input_buffer[COMMAND_LINE_LENGTH + 1] = "| ";
+  static char input_buffer[PATH_LENGTH + 3] = "| ";
   char file_name_path[PATH_LENGTH+1];
   char file_name_p_aux[PATH_LENGTH+1];
   char *command_line;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/profile.c new/ytree-2.03/profile.c
--- old/ytree-2.02/profile.c    2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/profile.c    2021-01-01 15:19:20.000000000 +0100
@@ -106,7 +106,7 @@
 {
   int  l, result = -1;
   char buffer[1024], *n, *old;
-  unsigned char *name, *value, *cptr;
+  char *name, *value, *cptr;
   int section;
   Profile *p, key;
   Viewer *v, *new_v;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/stat.c new/ytree-2.03/stat.c
--- old/ytree-2.02/stat.c       2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/stat.c       2021-01-01 15:19:20.000000000 +0100
@@ -68,7 +68,7 @@
 
 void DisplayDirStatistic(DirEntry *dir_entry)
 {
-  char format[10];
+  char format[20];
   char buffer[PATH_LENGTH + 1];
   char auxbuff[PATH_LENGTH + 1];
 
@@ -120,7 +120,7 @@
 void DisplayDirParameter(DirEntry *dir_entry)
 {
   char *p, *f;
-  char format[10];
+  char format[20];
   char buffer[PATH_LENGTH + 1];
   char auxbuff[PATH_LENGTH + 1];
 
@@ -152,8 +152,8 @@
 void DisplayGlobalFileParameter(FileEntry *file_entry)
 {
   char buffer1[PATH_LENGTH+1];
-  char buffer2[PATH_LENGTH+1];
-  char format[10];
+  char buffer2[PATH_LENGTH+3];
+  char format[20];
 
   (void) sprintf( format, "[%%-%ds]", COLS - 10 );
   (void) GetPath( file_entry->dir_entry, buffer1 );
@@ -186,7 +186,7 @@
 
 void PrettyPrintNumber(int y, int x, LONGLONG number)
 {
-  char buffer[20];
+  char buffer[40];
   long terra, giga, mega, kilo, one;
   
   *buffer = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/tilde.c new/ytree-2.03/tilde.c
--- old/ytree-2.02/tilde.c      2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/tilde.c      2021-01-01 15:19:20.000000000 +0100
@@ -47,12 +47,6 @@
 #  endif /* !__STDC__ */
 #endif /* !NULL */
 
-/* If being compiled as part of bash, these will be satisfied from
-   variables.o.  If being compiled as part of readline, they will
-   be satisfied from shell.o. */
-extern char *sh_get_home_dir(void);
-extern char *sh_get_env_value(const char *);
-
 /* The default value of tilde_additional_prefixes.  This is set to
    whitespace preceding a tilde so that simple programs which do not
    perform any word separation get desired behaviour. */
@@ -206,11 +200,13 @@
      $HOME or the home directory of the current user, regardless of any
      preexpansion hook. */
   if (filename[1] == '\0' || filename[1] == '/') {
+      struct passwd *pwp;
       /* Prefix $HOME to the rest of the string. */
-      expansion = sh_get_env_value("HOME");
+      expansion = getenv("HOME");
       /* If there is no HOME variable, look up the directory in
         the password database. */
-      if (expansion == 0) expansion = sh_get_home_dir();
+      
+      if (expansion == 0) expansion = ((pwp = getpwuid(getuid())) == NULL) ? 0 
: pwp->pw_dir;
 
       return (glue_prefix_and_suffix (expansion, filename, 1));
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/util.c new/ytree-2.03/util.c
--- old/ytree-2.02/util.c       2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/util.c       2021-01-01 15:19:20.000000000 +0100
@@ -919,7 +919,7 @@
   char access_time[13];
   char format1[60];
   char format2[60];
-  int  i, n;
+  int  n;
   char owner[OWNER_NAME_MAX + 1];
   char group[GROUP_NAME_MAX + 1];
   char *owner_name_ptr;
@@ -961,7 +961,7 @@
   sprintf(format1, "%%-%ds", max_filename_len);
   sprintf(format2, "%%-%ds", max_linkname_len);
 
-  for(sptr=template, dptr=buffer, i=0; *sptr; ) {
+  for(sptr=template, dptr=buffer; *sptr; ) {
 
     if(*sptr == '%') {
       sptr++;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ytree-2.02/view.c new/ytree-2.03/view.c
--- old/ytree-2.02/view.c       2020-03-15 15:55:26.000000000 +0100
+++ new/ytree-2.03/view.c       2021-01-01 15:19:20.000000000 +0100
@@ -70,7 +70,6 @@
   char *command_line, *aux;
   int  compress_method;
   int  result = -1;
-  int  l;
   char *file_p_aux;
   BOOL notice_mapped = FALSE;
   char cwd[PATH_LENGTH+1];
@@ -114,7 +113,6 @@
   else 
   {
     compress_method = GetFileMethod( file_path );
-    l = strlen( file_path );
     if( compress_method == FREEZE_COMPRESS )
     {
       (void) sprintf( command_line, 
@@ -223,7 +221,6 @@
   char *command_line, *aux;
   char buffer[100];
   char *archive;
-  int  l;
   int  result = -1;
 
   if( ( command_line = malloc( COMMAND_LINE_LENGTH + 1 ) ) == NULL )
@@ -232,8 +229,6 @@
     exit( 1 );
   }
 
-  l = strlen( file_path );
-  
   if (( aux = GetExtViewer(file_path)) != NULL) {
      if (strstr(aux,"%s") != NULL) {
        (void) sprintf( buffer, "| %s", PAGER );
@@ -319,7 +314,7 @@
 void update_line(WINDOW *win, long line)
 {
     int r;
-    unsigned char *buf;
+    char *buf;
     char *line_string;
     char mensaje[50];
 
@@ -578,13 +573,11 @@
 void hex_edit(char *file_path)
 {
     int ch;
-    long cursor_byte;
     char mensaje[50];
 
     BOOL QUIT=FALSE;
 
     cursor_pos_x = cursor_pos_y = 0;
-    cursor_byte = 0;
     fd2 = fd;
     fd=open(file_path,O_RDWR);
     if (fd == -1){

Reply via email to