> On Oct 4, 2017, at 3:34 PM, Joerg Schilling > <[email protected]> wrote: > > Igor Kozhukhov <[email protected] <mailto:[email protected]>> wrote: > >> Hi All, >> >> i?d like proposed try to update sys/typs.h by changes what are available in >> FreeBSD for better portality: >> >> igor@z172:~/users/igor/dilos-illumos$ g diff >> diff --git a/usr/src/uts/common/sys/types.h b/usr/src/uts/common/sys/types.h >> index dcb2c86283..a2e37263b8 100644 >> --- a/usr/src/uts/common/sys/types.h >> +++ b/usr/src/uts/common/sys/types.h >> @@ -58,6 +58,11 @@ >> #include <sys/types32.h> >> #endif >> >> +typedef uint8_t u_int8_t; /* unsigned integrals >> (deprecated) */ >> +typedef uint16_t u_int16_t; >> +typedef uint32_t u_int32_t; >> +typedef uint64_t u_int64_t; > > This may make portable applications to fail.
could you provide more information: when and how? without explanation and real example - your comment unuseful. i have provided real example where it is using - with APT port and others tools what are using APT. also, we can see on illumos tree the same redefinitions to the same time - who it can break it? your example where we can see - how it can break others apps? -Igor > Jörg > > -- > EMail:[email protected] <mailto:[email protected]> (home) > Jörg Schilling D-13353 Berlin > [email protected] > <mailto:[email protected]> (work) Blog: > http://schily.blogspot.com/ <http://schily.blogspot.com/> > URL: http://cdrecord.org/private/ <http://cdrecord.org/private/> > http://sf.net/projects/schilytools/files/' > <http://sf.net/projects/schilytools/files/'> > > ------------------------------------------ > openzfs-developer > Archives: > https://openzfs.topicbox.com/groups/developer/discussions/T0cc9a914d001ea54-M87fb656ff2838d1e72f447b0 > > <https://openzfs.topicbox.com/groups/developer/discussions/T0cc9a914d001ea54-M87fb656ff2838d1e72f447b0> > Powered by Topicbox: https://topicbox.com <https://topicbox.com/> ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T0cc9a914d001ea54-M98dbf5c6170a2aae7e8134c9 Powered by Topicbox: https://topicbox.com
