]>
Commit | Line | Data |
---|---|---|
bd1c5dc2 MT |
1 | *** isdn4k-utils/capi20.new/capi20.c.org 2010-05-07 20:56:21.000000000 +0200 |
2 | --- isdn4k-utils/capi20.new/capi20.c 2010-05-07 22:01:45.000000000 +0200 | |
3 | *************** | |
4 | *** 590,598 **** | |
5 | psDir = opendir( pnModuleDir ); | |
6 | if ( psDir != NULL ) { | |
7 | /* read entry by entry */ | |
8 | while ( ( psEntry = readdir( psDir ) ) != NULL ) { | |
9 | ! /* skip ".", ".." and files which do not end with "so" */ | |
10 | nLen = strlen( psEntry -> d_name ); | |
11 | ||
12 | switch ( nLen ) { | |
13 | case 1: | |
14 | --- 590,598 ---- | |
15 | psDir = opendir( pnModuleDir ); | |
16 | if ( psDir != NULL ) { | |
17 | /* read entry by entry */ | |
18 | while ( ( psEntry = readdir( psDir ) ) != NULL ) { | |
19 | ! /* skip ".", ".." and files which do not end with "so.?" */ | |
20 | nLen = strlen( psEntry -> d_name ); | |
21 | ||
22 | switch ( nLen ) { | |
23 | case 1: | |
24 | *************** | |
25 | *** 605,613 **** | |
26 | continue; | |
27 | } | |
28 | break; | |
29 | default: | |
30 | ! if ( strncmp( psEntry -> d_name + nLen - 3, ".so", nLen ) ) { | |
31 | continue; | |
32 | } | |
33 | break; | |
34 | } | |
35 | --- 605,613 ---- | |
36 | continue; | |
37 | } | |
38 | break; | |
39 | default: | |
40 | ! if ( strncmp( psEntry -> d_name + nLen - 5, ".so.0", 4 ) ) { | |
41 | continue; | |
42 | } | |
43 | break; | |
44 | } |