File: 13-maximum-file-name-length.patch

package info (click to toggle)
unace-nonfree 2.5-10
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 2,044 kB
  • sloc: ansic: 14,564; makefile: 48; sh: 32; cpp: 21
file content (16 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: P Stahlman <https://launchpad.net/~pstahlman>
Description: Increase buffer to cater for maximum file name length (LP: #179684).
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/unace-nonfree/+bug/179684
Origin: https://launchpadlibrarian.net/35753473/acefuncs.c.patch

--- unace-nonfree-2.5.orig/source/apps/exe/acefuncs/acefuncs.c
+++ unace-nonfree-2.5/source/apps/exe/acefuncs/acefuncs.c
@@ -27,7 +27,7 @@
 
 void    APPS_EXE_ACEFUNCS_List(BOOL Verbose)
 {
-CHAR      ShortStr[80],
+CHAR      ShortStr[BASE_LFN_MAXLEN],
           SizeStr1[80],
           SizeStr2[80],
           OutputStr[160];