aboutsummaryrefslogtreecommitdiff
path: root/misc/mkostemps.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-01 11:13:37 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-01 11:13:37 -0700
commitb8625cfc6f629f146aa3944b5cfc65025884bd44 (patch)
tree167e6a27e1af51cff4c84a08cd709068419ca21d /misc/mkostemps.c
parent3f55550c148593f4a0db9eec939554bcf3f0bcd4 (diff)
downloadglibc-b8625cfc6f629f146aa3944b5cfc65025884bd44.tar
glibc-b8625cfc6f629f146aa3944b5cfc65025884bd44.tar.gz
glibc-b8625cfc6f629f146aa3944b5cfc65025884bd44.tar.bz2
glibc-b8625cfc6f629f146aa3944b5cfc65025884bd44.zip
Clean up mkostemps64 definition for O_LARGEFILE==0.
Diffstat (limited to 'misc/mkostemps.c')
-rw-r--r--misc/mkostemps.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/mkostemps.c b/misc/mkostemps.c
index 64dd477fdf..aca487dca8 100644
--- a/misc/mkostemps.c
+++ b/misc/mkostemps.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -41,3 +41,7 @@ mkostemps (template, suffixlen, flags)
return __gen_tempname (template, suffixlen, flags, __GT_FILE);
}
+
+#if !defined O_LARGEFILE || O_LARGEFILE == 0
+weak_alias (mkostemps, mkostemps64)
+#endif