summaryrefslogtreecommitdiff
path: root/extra/thunar/fix-sorting-of-large-numbers-5356.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/thunar/fix-sorting-of-large-numbers-5356.patch')
-rw-r--r--extra/thunar/fix-sorting-of-large-numbers-5356.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/extra/thunar/fix-sorting-of-large-numbers-5356.patch b/extra/thunar/fix-sorting-of-large-numbers-5356.patch
deleted file mode 100644
index 1105eea83..000000000
--- a/extra/thunar/fix-sorting-of-large-numbers-5356.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 493db02bdbc6ec667cd04e75a77dff8366ec1bc0 Mon Sep 17 00:00:00 2001
-From: Eric Koegel <eric.koegel@gmail.com>
-Date: Sun, 06 Nov 2011 13:58:33 +0000
-Subject: Fix sorting of filenames with large numbers (bug #5356).
-
-Change compare_by_name_using_number() to use guint64.
-
-Signed-off-by: Jannis Pohlmann <jannis@xfce.org>
----
-diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
-index 909da25..44cdb31 100644
---- a/thunar/thunar-file.c
-+++ b/thunar/thunar-file.c
-@@ -3168,12 +3168,12 @@ static gint
- compare_by_name_using_number (const gchar *ap,
- const gchar *bp)
- {
-- guint anum;
-- guint bnum;
-+ guint64 anum;
-+ guint64 bnum;
-
- /* determine the numbers in ap and bp */
-- anum = strtoul (ap, NULL, 10);
-- bnum = strtoul (bp, NULL, 10);
-+ anum = strtouq (ap, NULL, 10);
-+ bnum = strtouq (bp, NULL, 10);
-
- /* compare the numbers */
- if (anum < bnum)
---
-cgit v0.9.0.2