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
5 psDir = opendir( pnModuleDir );
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 );
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 );
30 ! if ( strncmp( psEntry -> d_name + nLen - 3, ".so", nLen ) ) {
40 ! if ( strncmp( psEntry -> d_name + nLen - 5, ".so.0", 4 ) ) {