SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
misc/rocrail/patches/patch-rocs_impl_str_c
Normal file
29
misc/rocrail/patches/patch-rocs_impl_str_c
Normal file
|
@ -0,0 +1,29 @@
|
|||
Index: rocs/impl/str.c
|
||||
--- rocs/impl/str.c.orig
|
||||
+++ rocs/impl/str.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <time.h>
|
||||
+#include <ctype.h>
|
||||
|
||||
#include "rocs/public/str.h"
|
||||
#include "rocs/public/mem.h"
|
||||
@@ -520,7 +521,7 @@ static char* _createStampNoDotsID( RocsMemID id ) {
|
||||
}
|
||||
|
||||
|
||||
-static char* _isoDate( long tt ) {
|
||||
+static char* _isoDate( time_t tt ) {
|
||||
struct tm* t = NULL;
|
||||
|
||||
/* Alloc a string for the stamp; caller should freeup! */
|
||||
@@ -536,7 +537,7 @@ static char* _isoDate( long tt ) {
|
||||
return s;
|
||||
}
|
||||
|
||||
-static char* _isoTime( long tt ) {
|
||||
+static char* _isoTime( time_t tt ) {
|
||||
struct tm* t = NULL;
|
||||
|
||||
/* Alloc a string for the stamp; caller should freeup! */
|
Loading…
Add table
Add a link
Reference in a new issue