Home
last modified time | relevance | path

Searched hist:"2875419215061 f767fe784f7a6f065e015daa325" (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libutil/
H A Duucplock.3diff 2875419215061f767fe784f7a6f065e015daa325 Wed Apr 02 05:38:29 CEST 1997 Andrey A. Chernov <ache@FreeBSD.org> Remove unused USE_PERROR define and syslog.h include
Use snprintf instead of sprintf to avoid buffer overflows
Use snprintf in uu_lockerr instead of lots of hardcoded constants
and not null-terminated strncpy
Return "" for OK and "device in use" for INUSE, it allows simple
strcpy(buf, uu_lockerr(retcode)) without testing for special OK
case (NULL was there) and obtaining meaningful result for INUSE
("" was there) without special testing for it too.
diff 2875419215061f767fe784f7a6f065e015daa325 Wed Apr 02 05:38:29 CEST 1997 Andrey A. Chernov <ache@FreeBSD.org> Remove unused USE_PERROR define and syslog.h include
Use snprintf instead of sprintf to avoid buffer overflows
Use snprintf in uu_lockerr instead of lots of hardcoded constants
and not null-terminated strncpy
Return "" for OK and "device in use" for INUSE, it allows simple
strcpy(buf, uu_lockerr(retcode)) without testing for special OK
case (NULL was there) and obtaining meaningful result for INUSE
("" was there) without special testing for it too.
H A Duucplock.cdiff 2875419215061f767fe784f7a6f065e015daa325 Wed Apr 02 05:38:29 CEST 1997 Andrey A. Chernov <ache@FreeBSD.org> Remove unused USE_PERROR define and syslog.h include
Use snprintf instead of sprintf to avoid buffer overflows
Use snprintf in uu_lockerr instead of lots of hardcoded constants
and not null-terminated strncpy
Return "" for OK and "device in use" for INUSE, it allows simple
strcpy(buf, uu_lockerr(retcode)) without testing for special OK
case (NULL was there) and obtaining meaningful result for INUSE
("" was there) without special testing for it too.
diff 2875419215061f767fe784f7a6f065e015daa325 Wed Apr 02 05:38:29 CEST 1997 Andrey A. Chernov <ache@FreeBSD.org> Remove unused USE_PERROR define and syslog.h include
Use snprintf instead of sprintf to avoid buffer overflows
Use snprintf in uu_lockerr instead of lots of hardcoded constants
and not null-terminated strncpy
Return "" for OK and "device in use" for INUSE, it allows simple
strcpy(buf, uu_lockerr(retcode)) without testing for special OK
case (NULL was there) and obtaining meaningful result for INUSE
("" was there) without special testing for it too.