Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ed for openSUSE:Factory checked in at 2026-02-12 17:24:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ed (Old) and /work/SRC/openSUSE:Factory/.ed.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ed" Thu Feb 12 17:24:38 2026 rev:44 rq:1332319 version:1.22.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ed/ed.changes 2026-01-08 15:26:44.031322453 +0100 +++ /work/SRC/openSUSE:Factory/.ed.new.1977/ed.changes 2026-02-12 17:24:40.616443263 +0100 @@ -1,0 +2,8 @@ +Tue Feb 10 20:29:08 UTC 2026 - Andreas Stieger <[email protected]> + +- GNU ed 1.22.5: + * Use 'sizeof active_list[0]' instead of 'sizeof (line_node **)' + * A file name ending in slash '/' is now diagnosed as 'Invalid + filename'instead of 'Is a directory' + +------------------------------------------------------------------- Old: ---- ed-1.22.4.tar.xz New: ---- ed-1.22.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ed.spec ++++++ --- /var/tmp/diff_new_pack.sVtc3l/_old 2026-02-12 17:24:43.032545761 +0100 +++ /var/tmp/diff_new_pack.sVtc3l/_new 2026-02-12 17:24:43.036545930 +0100 @@ -18,7 +18,7 @@ Name: ed -Version: 1.22.4 +Version: 1.22.5 Release: 0 Summary: A line-oriented text editor License: GPL-3.0-or-later AND LGPL-2.1-or-later ++++++ ed-1.22.4.tar.xz -> ed-1.22.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/ChangeLog new/ed-1.22.5/ChangeLog --- old/ed-1.22.4/ChangeLog 2026-01-03 12:24:07.000000000 +0100 +++ new/ed-1.22.5/ChangeLog 2026-02-06 22:08:05.000000000 +0100 @@ -1,3 +1,11 @@ +2026-02-06 Antonio Diaz Diaz <[email protected]> + + * Version 1.22.5 released. + * global.c (set_active_node): Use 'sizeof active_list[0]' instead of + 'sizeof (line_node **)'. (Reported by Mikel Olasagasti Uranga). + * main.c: (may_access_filename): s/Is a directory/Invalid filename/. + (Reported by Douglas McIlroy). + 2026-01-03 Antonio Diaz Diaz <[email protected]> * Version 1.22.4 released. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/NEWS new/ed-1.22.5/NEWS --- old/ed-1.22.4/NEWS 2025-12-18 19:29:40.000000000 +0100 +++ new/ed-1.22.5/NEWS 2026-01-13 22:57:01.000000000 +0100 @@ -1,3 +1,11 @@ +Changes in version 1.22.5: + +Use 'sizeof active_list[0]' instead of 'sizeof (line_node **)'. +(Reported by Mikel Olasagasti Uranga). + +A file name ending in slash '/' is now diagnosed as 'Invalid filename' +instead of 'Is a directory'. (Reported by Douglas McIlroy). + Changes in version 1.22.4: 'make check' now skips the checking of file names with non-ASCII non-UTF-8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/carg_parser.c new/ed-1.22.5/carg_parser.c --- old/ed-1.22.4/carg_parser.c 2026-01-01 12:35:24.000000000 +0100 +++ new/ed-1.22.5/carg_parser.c 2026-01-04 00:13:00.000000000 +0100 @@ -26,7 +26,7 @@ static char is_number( const char * const p ) { - return isdigit( *p ) || ( *p == '.' && isdigit( p[1] ) ) || + return isdigit( (unsigned char)(p[*p=='.']) ) || strcmp( p, "inf" ) == 0 || strcmp( p, "Inf" ) == 0 || strcmp( p, "INF" ) == 0; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/configure new/ed-1.22.5/configure --- old/ed-1.22.4/configure 2026-01-03 12:24:07.000000000 +0100 +++ new/ed-1.22.5/configure 2026-02-06 22:08:05.000000000 +0100 @@ -6,7 +6,7 @@ # to copy, distribute, and modify it. pkgname=ed -pkgversion=1.22.4 +pkgversion=1.22.5 progname=ed srctrigger=doc/${pkgname}.texi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/doc/ed.1 new/ed-1.22.5/doc/ed.1 --- old/ed-1.22.4/doc/ed.1 2026-01-03 12:45:13.000000000 +0100 +++ new/ed-1.22.5/doc/ed.1 2026-02-06 22:24:12.000000000 +0100 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. -.TH ED "1" "January 2026" "GNU ed 1.22.4" "User Commands" +.TH ED "1" "February 2026" "GNU ed 1.22.5" "User Commands" .SH NAME ed \- line-oriented text editor .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/doc/ed.info new/ed-1.22.5/doc/ed.info --- old/ed-1.22.4/doc/ed.info 2026-01-03 12:24:13.000000000 +0100 +++ new/ed-1.22.5/doc/ed.info 2026-02-06 22:11:42.000000000 +0100 @@ -18,7 +18,7 @@ The GNU ed line editor ********************** -This manual is for GNU ed (version 1.22.4, 3 January 2026). +This manual is for GNU ed (version 1.22.5, 6 February 2026). * Menu: @@ -1605,20 +1605,20 @@ Tag Table: Node: Top529 -Node: Overview1899 -Node: Introduction to line editing4747 -Node: Invoking ed11960 -Node: Argument syntax16016 -Node: Line addressing17778 -Node: Regular expressions21794 -Node: Commands27964 -Ref: print suffixes28299 -Ref: shell escape command40812 -Node: The 's' Command42390 -Node: Limitations45284 -Node: Diagnostics46301 -Node: Problems47130 -Node: GNU Free Documentation License47662 +Node: Overview1900 +Node: Introduction to line editing4748 +Node: Invoking ed11961 +Node: Argument syntax16017 +Node: Line addressing17779 +Node: Regular expressions21795 +Node: Commands27965 +Ref: print suffixes28300 +Ref: shell escape command40813 +Node: The 's' Command42391 +Node: Limitations45285 +Node: Diagnostics46302 +Node: Problems47131 +Node: GNU Free Documentation License47663 End Tag Table diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/doc/ed.texi new/ed-1.22.5/doc/ed.texi --- old/ed-1.22.4/doc/ed.texi 2026-01-03 12:24:07.000000000 +0100 +++ new/ed-1.22.5/doc/ed.texi 2026-02-06 22:08:05.000000000 +0100 @@ -6,8 +6,8 @@ @finalout @c %**end of header -@set UPDATED 3 January 2026 -@set VERSION 1.22.4 +@set UPDATED 6 February 2026 +@set VERSION 1.22.5 @dircategory Basics @direntry diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/global.c new/ed-1.22.5/global.c --- old/ed-1.22.4/global.c 2026-01-03 12:24:07.000000000 +0100 +++ new/ed-1.22.5/global.c 2026-01-09 17:35:00.000000000 +0100 @@ -55,7 +55,7 @@ /* add a line node to the global-active list */ bool set_active_node( const line_node * const lp ) { - const unsigned min_size = ( active_len + 1 ) * sizeof (line_node **); + const unsigned min_size = ( active_len + 1 ) * sizeof active_list[0]; if( (unsigned)active_size < min_size ) { if( min_size >= INT_MAX ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ed-1.22.4/main.c new/ed-1.22.5/main.c --- old/ed-1.22.4/main.c 2026-01-03 12:24:07.000000000 +0100 +++ new/ed-1.22.5/main.c 2026-01-13 22:57:01.000000000 +0100 @@ -196,7 +196,7 @@ { const int len = strlen( name ); if( len <= 0 || name[len-1] == '/' ) - { set_error_msg( "Is a directory" ); return false; } + { set_error_msg( "Invalid filename" ); return false; } if( restricted_ ) { if( name[0] == '!' )
