]> git.pld-linux.org Git - packages/arj.git/blob - strnlen.patch
- release 5 (by relup.sh)
[packages/arj.git] / strnlen.patch
1 --- arj-3.10.22/fardata.c.org   2009-08-20 10:28:36.000000000 +0000
2 +++ arj-3.10.22/fardata.c       2009-08-20 10:28:53.000000000 +0000
3 @@ -190,7 +190,7 @@
4  
5  /* Length-limited strlen() */
6  
7 -static int strnlen(const char FAR *s, int count)
8 +static int strnlen_arj(const char FAR *s, int count)
9  {
10   const char FAR *sc;
11  
12 @@ -569,7 +569,7 @@
13      if(!s)
14       s="(null)";
15  #endif
16 -    len=strnlen(s, precision);
17 +    len=strnlen_arj(s, precision);
18      if(!(flags&LEFT))
19      {
20       while(len<field_width--)
This page took 0.053238 seconds and 3 git commands to generate.