Revision 2e679780
b/libcacard/Makefile | ||
---|---|---|
14 | 14 |
|
15 | 15 |
libcacard.lib-y=$(patsubst %.o,%.lo,$(libcacard-y)) |
16 | 16 |
|
17 |
vscclient: $(libcacard-y) $(QEMU_OBJS) vscclient.o cutils.o |
|
18 |
$(call quiet-command,$(CC) -o $@ $^ $(libcacard_libs) $(LIBS)," LINK $@") |
|
19 |
|
|
17 | 20 |
clean: |
18 | 21 |
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ vscclient *.lo */*.lo .libs/* */.libs/* *.la */*.la *.pc |
19 | 22 |
rm -Rf .libs */.libs |
b/libcacard/vcard_emul_nss.c | ||
---|---|---|
1169 | 1169 |
NEXT_TOKEN(vname) |
1170 | 1170 |
NEXT_TOKEN(type_params) |
1171 | 1171 |
type_params_length = MIN(type_params_length, sizeof(type_str)-1); |
1172 |
strncpy(type_str, type_params, type_params_length); |
|
1173 |
type_str[type_params_length] = 0; |
|
1172 |
pstrcpy(type_str, type_params_length, type_params); |
|
1174 | 1173 |
type = vcard_emul_type_from_string(type_str); |
1175 | 1174 |
|
1176 | 1175 |
NEXT_TOKEN(type_params) |
Also available in: Unified diff