SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
misc/deco/patches/patch-ut_c
Normal file
20
misc/deco/patches/patch-ut_c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- ut.c.orig Tue Jan 4 13:21:31 2000
|
||||
+++ ut.c Thu Mar 21 15:23:54 2002
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
static char pattern [] = "00-Mon-1900 00:00:00";
|
||||
|
||||
-char *timestr (long tim)
|
||||
+char *timestr (time_t tim)
|
||||
{
|
||||
struct tm *t = localtime (&tim);
|
||||
register char *p = pattern;
|
||||
@@ -49,7 +49,7 @@ char *timestr (long tim)
|
||||
return (p);
|
||||
}
|
||||
|
||||
-long timeval (long tim)
|
||||
+long timeval (time_t tim)
|
||||
{
|
||||
struct tm *t = localtime (&tim);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue