← Commit list

96f92a1af

Denys Vlasenko
Denys Vlasenko
2014-01-08
SUCCESS Duration: 174s

Subject

libbb: FreeBSD fix for B baud rate constants not fitting into a short.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/speed_table.c+5 -0
@@ -10,7 +10,12 @@
#include "libbb.h"
struct speed_map {
+#if defined __FreeBSD__
+ /* On FreeBSD, B<num> constants don't fit into a short */
+ unsigned speed;
+#else
unsigned short speed;
+#endif
unsigned short value;
};