Andrey A. Chernov 2875419215 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.
1997-04-02 03:38:29 +00:00
..
1997-02-22 15:12:41 +00:00
1997-04-01 13:53:16 +00:00
1997-04-01 22:52:43 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-03-23 23:17:22 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-04-01 22:51:48 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-03-08 19:42:41 +00:00
1997-02-22 15:12:41 +00:00
1997-04-01 22:51:48 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 11:38:21 +00:00
1997-02-22 15:12:41 +00:00
1997-02-07 03:58:36 +00:00