Subversion Repositories HelenOS

Rev

Rev 4215 | Rev 4273 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4215 Rev 4267
Line 223... Line 223...
223
   
223
   
224
    output[0] = 0;
224
    output[0] = 0;
225
   
225
   
226
    while ((hint = symtab_search_one(name, &pos))) {
226
    while ((hint = symtab_search_one(name, &pos))) {
227
        if ((found == 0) || (str_length(output) > str_length(hint)))
227
        if ((found == 0) || (str_length(output) > str_length(hint)))
228
            str_ncpy(output, hint, MAX_SYMBOL_NAME);
228
            str_cpy(output, MAX_SYMBOL_NAME, hint);
229
       
229
       
230
        pos++;
230
        pos++;
231
        found++;
231
        found++;
232
    }
232
    }
233
   
233
   
Line 239... Line 239...
239
            pos++;
239
            pos++;
240
        }
240
        }
241
    }
241
    }
242
   
242
   
243
    if (found > 0)
243
    if (found > 0)
244
        str_ncpy(input, output, size);
244
        str_cpy(input, size, output);
245
   
245
   
246
    return found;
246
    return found;
247
   
247
   
248
#else
248
#else
249
    return 0;
249
    return 0;