if (argc > optind)
usage(argv[0], "Extraneous command\-line arguments\en");
\&
- if (stack_size >= 0 || guard_size > 0) {
+ if (stack_size != -1 || guard_size > 0) {
ret_attrp = attrp;
\&
s = pthread_attr_init(attrp);
errc(EXIT_FAILURE, s, "pthread_attr_init");
}
\&
- if (stack_size >= 0) {
+ if (stack_size != -1) {
if (!allocate_stack) {
s = pthread_attr_setstacksize(attrp, stack_size);
if (s != 0)
}
}
\&
- if (guard_size >= 0) {
+ if (guard_size != -1) {
s = pthread_attr_setguardsize(attrp, guard_size);
if (s != 0)
errc(EXIT_FAILURE, s, "pthread_attr_setstacksize");