projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git]
/
lib
/
times.c
diff --git
a/lib/times.c
b/lib/times.c
index
f71889a
..
87cbcd7
100644
(file)
--- a/
lib/times.c
+++ b/
lib/times.c
@@
-1,6
+1,6
@@
/* Get process times
/* Get process times
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
-2014
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-13,8
+13,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Simon Josefsson <simon@josefsson.org>, 2008. */
/* Written by Simon Josefsson <simon@josefsson.org>, 2008. */
@@
-55,7
+54,7
@@
times (struct tms * buffer)
FILETIME creation_time, exit_time, kernel_time, user_time;
if (GetProcessTimes (GetCurrentProcess (), &creation_time, &exit_time,
FILETIME creation_time, exit_time, kernel_time, user_time;
if (GetProcessTimes (GetCurrentProcess (), &creation_time, &exit_time,
- &kernel_time, &user_time) == 0)
+
&kernel_time, &user_time) == 0)
return (clock_t) -1;
buffer->tms_utime = filetime2clock (user_time);
return (clock_t) -1;
buffer->tms_utime = filetime2clock (user_time);