summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/uuid/gen_uuid.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/libmisc: Cast getpid() before shiftingKinsey Moore2024-01-221-0/+5
| | | | | Cast getpid() before shifting to avoid truncation of upper bits before the 64bit XOR occurs.
* cpukit/libmisc/uuid: Check for invalid FDKinsey Moore2024-01-221-0/+6
|
* gen_uuid.c: Ignore return values from fcntl()Ryan Long2021-05-281-0/+6
| | | | | | | CID 1049146: Unchecked return value from library in get_clock(). CID 1049147: Unchecked return value from library in get_random_fd(). Closes #4280
* gen_uuid.c: Revert previous patch (597e4f476568a225d14dfaff02074cf269ad62ac)Joel Sherrill2021-03-241-8/+3
| | | | | | | | | | The patch was: gen_uuid.c: Fix two Unchecked return value from library errors CID 1049146: Unchecked return value from library in get_clock(). CID 1049147: Unchecked return value from library in get_random_fd(). Reopen #4280
* gen_uuid.c: Fix two Unchecked return value from library errorsRyan Long2021-03-081-3/+8
| | | | | | | CID 1049146: Unchecked return value from library in get_clock(). CID 1049147: Unchecked return value from library in get_random_fd(). Closes #4280
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* gettimeofday: Add restrict keywordBryan Dunsmore2013-11-291-1/+1
|
* uuid: make integer arithmetic conversion explicitGedare Bloom2013-09-051-1/+1
| | | | Upcast multiplication to 64-bit integer arithmetic.
* 2011-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-021-3/+16
| | | | | * libmisc/uuid/gen_uuid.c: Introduce PRIutime_t, SCNutime_t and "utime_t" for 64bit-time_t support.
* Whitespace removal.Ralf Corsepius2009-11-291-1/+1
|
* Add HAVE_CONFIG_H guard.Ralf Corsepius2009-10-221-1/+4
| | | | | | Include <limits.h>. Shift pid_t's by (sizeof(pid_t)*CHAR_BIT)>>1 instead of hard-coded 16 to permit building on non 16bit-int targets.
* 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-061-0/+5
| | | | | * libmisc/uuid/gen_uuid.c, libnetworking/lib/syslog.c, telnetd/telnetd.c: Fixed warnings.
* new filesThomas Doerfler2009-05-051-0/+662