summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-13 13:13:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-13 13:13:35 +0200
commitf492e45dd2fd1f0ef59f37cd0c3f125203831e98 (patch)
tree0bb97e503a14a64b2c4a581f7ed82367c9ebe7e2 /sal/osl
parentd62b6d845c75e9c6074d821b425035fbee9c1559 (diff)
Convert sal/osl/unx/tempfile.c to C++
...for easier future maintenance Change-Id: I501076882daa7f36f414f9fa62f790eb85ac3259
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/tempfile.cxx (renamed from sal/osl/unx/tempfile.c)2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/tempfile.c b/sal/osl/unx/tempfile.cxx
index 9ae785b7ae95..3d643b8a01ea 100644
--- a/sal/osl/unx/tempfile.c
+++ b/sal/osl/unx/tempfile.cxx
@@ -217,7 +217,7 @@ static oslFileError osl_create_temp_file_impl_(
offset_file_name++;
}
- while(1) /* try until success */
+ while(true) /* try until success */
{
osl_gen_random_name_impl_(&rand_name);