Skip to content

Tags: clan/runit

Tags

2.2.0-r2

Toggle 2.2.0-r2's commit message
fix compilation error(s): -Wincompatible-pointer-types

reported by gcc 15

buffer_put.c:75:20: error: passing argument 1 of‘allwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
buffer_put.c:50:5: error: conflicting types for ‘buffer_put’; have‘int(buffer *, char *, unsigned int)’
...

both read & write are used in buffer init, so remove const (for write)
from prototype

2.2.0-r1

Toggle 2.2.0-r1's commit message
fix compilation error(s): -Wincompatible-pointer-types

reported by gcc 15

buffer_put.c:75:20: error: passing argument 1 of‘allwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
buffer_put.c:50:5: error: conflicting types for ‘buffer_put’; have‘int(buffer *, char *, unsigned int)’
...

both read & write are used in buffer init, so remove const (for write)
from prototype

runit-2.2.0-r2

Toggle runit-2.2.0-r2's commit message
fix compilation error(s): -Wincompatible-pointer-types

reported by gcc 15

buffer_put.c:75:20: error: passing argument 1 of‘allwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
buffer_put.c:50:5: error: conflicting types for ‘buffer_put’; have‘int(buffer *, char *, unsigned int)’
...

both read & write are used in buffer init, so remove const (for write)
from prototype

2.1.2

Toggle 2.1.2's commit message
add README

2.1.2-r5

Toggle 2.1.2-r5's commit message
add sleep_microseconds to encapsulate (u|nano)sleep

man 3 usleep:
  POSIX.1-2001 declares it obsolete, suggesting nanosleep(2) instead.  Removed in POSIX.1-2008.

we use a feature test macro to select usleep or naosleep, while debian's patch replace
usleep with nanosleep.

links of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches
  0017-fix-replace-obsolete-usleep-with-nanosleep.patch