[Git][debian-gis-team/ruby-hdfeos5][master] 2 commits: Add patch: Use exist? insteaf of exists?, wihich is obsolete(Closes: #1092832)

Youhei SASAKI (@uwabami) gitlab at salsa.debian.org
Wed Jan 15 05:20:13 GMT 2025



Youhei SASAKI pushed to branch master at Debian GIS Project / ruby-hdfeos5


Commits:
607fafc6 by Youhei SASAKI at 2025-01-15T14:10:38+09:00
Add patch: Use exist? insteaf of exists?, wihich is obsolete(Closes: #1092832)

Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

- - - - -
ce652885 by Youhei SASAKI at 2025-01-15T14:20:02+09:00
Update d/changelog

Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0011-Use-exist-insteaf-of-exists-wihich-is-obsolete.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ruby-hdfeos5 (1.2-14) unstable; urgency=medium
+
+  * Add patch: Use exist? insteaf of exists?, 
+    which is obsolete(Closes: #1092832)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Wed, 15 Jan 2025 14:10:43 +0900
+
 ruby-hdfeos5 (1.2-13) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/patches/0011-Use-exist-insteaf-of-exists-wihich-is-obsolete.patch
=====================================
@@ -0,0 +1,22 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Wed, 15 Jan 2025 14:09:53 +0900
+Subject: Use exist? insteaf of exists?, wihich is obsolete
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ lib/hdfeos5.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/hdfeos5.rb b/lib/hdfeos5.rb
+index 152e640..cb882ec 100644
+--- a/lib/hdfeos5.rb
++++ b/lib/hdfeos5.rb
+@@ -16,7 +16,7 @@ module NumRu
+ 	call_create=true
+ 	mode="H5F_ACC_TRUNC"
+       when "a","a+","r+"             # append if exits
+-        if( File.exists?(filename))
++        if( File.exist?(filename))
+           call_create=true
+           mode="H5F_ACC_RDWR"
+         else


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@
 0008-Change-Encoding-Shift_JIS-to-UTF-8.patch
 gcc-14.patch
 0010-Fix-use-hsize_t.patch
+0011-Use-exist-insteaf-of-exists-wihich-is-obsolete.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/ruby-hdfeos5/-/compare/93174f93dd0f77a73d89bc1e8e9e3e9820cd3d19...ce652885321b240565544d90dc91cb0c74055694

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/ruby-hdfeos5/-/compare/93174f93dd0f77a73d89bc1e8e9e3e9820cd3d19...ce652885321b240565544d90dc91cb0c74055694
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20250115/8021a1fc/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list