bcallah bf5351cfff Import lang/regina, an ANSI-compliant interpreter for REXX language.
ok benoit@

Regina is an ANSI-compliant Rexx interpreter. Rexx is a programming
language that was designed to be easy to use for inexperienced
programmers yet powerful enough for experienced users. It is also a
language ideally suited as a macro language for other applications.
2018-05-07 17:55:20 +00:00

26 lines
901 B
Plaintext

$OpenBSD: patch-stack_c,v 1.1.1.1 2018/05/07 17:55:20 bcallah Exp $
time_t requires %lld
Index: stack.c
--- stack.c.orig
+++ stack.c
@@ -1314,7 +1314,7 @@ int create_queue( tsd_t *TSD, const streng *queue_name
/*
* Create a unique queue name
*/
- sprintf(buf,"S%d-%ld-%d", getpid(), clock(), st->runner++ );
+ sprintf(buf,"S%d-%lld-%d", getpid(), clock(), st->runner++ );
new_queue = Str_cre_TSD( TSD, buf ) ;
}
else
@@ -1344,7 +1344,7 @@ int create_queue( tsd_t *TSD, const streng *queue_name
/*
* Create a unique queue name
*/
- sprintf(buf,"S%d-%ld-%d", getpid(), clock(), st->runner++ );
+ sprintf(buf,"S%d-%lld-%d", getpid(), clock(), st->runner++ );
new_queue = Str_cre_TSD( TSD, buf ) ;
rc = 1;
}