projects
/
platform
/
upstream
/
findutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 4.5.14
[platform/upstream/findutils.git]
/
tests
/
sleep.c
diff --git
a/tests/sleep.c
b/tests/sleep.c
index
45b9d80
..
2d86b7e
100644
(file)
--- a/
tests/sleep.c
+++ b/
tests/sleep.c
@@
-1,5
+1,5
@@
/* Pausing execution of the current thread.
/* Pausing execution of the current thread.
- Copyright (C) 2007, 2009-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009-201
4
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
@@
-35,7
+35,7
@@
sleep (unsigned int seconds)
unsigned int remaining;
/* Sleep for 1 second many times, because
unsigned int remaining;
/* Sleep for 1 second many times, because
- 1. Sleep is not interrupti
p
le by Ctrl-C,
+ 1. Sleep is not interrupti
b
le by Ctrl-C,
2. we want to avoid arithmetic overflow while multiplying with 1000. */
for (remaining = seconds; remaining > 0; remaining--)
Sleep (1000);
2. we want to avoid arithmetic overflow while multiplying with 1000. */
for (remaining = seconds; remaining > 0; remaining--)
Sleep (1000);