Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
632
Issues
632
List
Boards
Labels
Service Desk
Milestones
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
6ebd91a0
Commit
6ebd91a0
authored
Aug 29, 2008
by
Automatic Updater
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update copyright notice
parent
f0ecd0e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
bin/nsupdate/Makefile.in
bin/nsupdate/Makefile.in
+2
-2
lib/isc/win32/time.c
lib/isc/win32/time.c
+8
-8
No files found.
bin/nsupdate/Makefile.in
View file @
6ebd91a0
# Copyright (C) 2004, 2006
, 2007
Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2006
-2008
Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.2
8 2008/08/29 03:16:14 marka
Exp $
# $Id: Makefile.in,v 1.2
9 2008/08/29 23:47:22 tbox
Exp $
srcdir
=
@srcdir@
VPATH
=
@srcdir@
...
...
lib/isc/win32/time.c
View file @
6ebd91a0
/*
* Copyright (C) 2004, 2006
, 2007
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2006
-2008
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: time.c,v 1.4
4 2008/08/29 03:57:38 marka
Exp $ */
/* $Id: time.c,v 1.4
5 2008/08/29 23:47:22 tbox
Exp $ */
#include <config.h>
...
...
@@ -235,9 +235,9 @@ isc_time_formattimestamp(const isc_time_t *t, char *buf, unsigned int len) {
SYSTEMTIME
st
;
char
DateBuf
[
50
];
char
TimeBuf
[
50
];
static
const
char
badtime
[]
=
"99-Bad-9999 99:99:99.999"
;
REQUIRE
(
len
>
0
);
if
(
FileTimeToLocalFileTime
(
&
t
->
absolute
,
&
localft
)
&&
FileTimeToSystemTime
(
&
localft
,
&
st
))
{
...
...
@@ -245,10 +245,10 @@ isc_time_formattimestamp(const isc_time_t *t, char *buf, unsigned int len) {
DateBuf
,
50
);
GetTimeFormat
(
LOCALE_USER_DEFAULT
,
TIME_NOTIMEMARKER
|
TIME_FORCE24HOURFORMAT
,
&
st
,
NULL
,
TimeBuf
,
50
);
snprintf
(
buf
,
len
,
"%s %s.%03u"
,
DateBuf
,
TimeBuf
,
st
.
wMilliseconds
);
}
else
snprintf
(
buf
,
len
,
badtime
);
}
...
...
@@ -258,7 +258,7 @@ isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len) {
SYSTEMTIME
st
;
char
DateBuf
[
50
];
char
TimeBuf
[
50
];
REQUIRE
(
len
>
0
);
if
(
FileTimeToSystemTime
(
&
t
->
absolute
,
&
st
))
{
GetDateFormat
(
LOCALE_USER_DEFAULT
,
0
,
&
st
,
"ddd',', dd-MMM-yyyy"
,
...
...
@@ -266,7 +266,7 @@ isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len) {
GetTimeFormat
(
LOCALE_USER_DEFAULT
,
TIME_NOTIMEMARKER
|
TIME_FORCE24HOURFORMAT
,
&
st
,
"hh':'mm':'ss"
,
TimeBuf
,
50
);
snprintf
(
buf
,
len
,
"%s %s GMT"
,
DateBuf
,
TimeBuf
);
}
else
{
buf
[
0
]
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment