From cd97c9668814f7ec6d03e3c7e3653a92b97651e6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Aug 2012 10:42:38 -0700 Subject: Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0. --- misc/mkostemp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'misc/mkostemp.c') diff --git a/misc/mkostemp.c b/misc/mkostemp.c index b78554b..2c5b272 100644 --- a/misc/mkostemp.c +++ b/misc/mkostemp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 1999, 2001, 2007, 2009 Free Software Foundation, Inc. +/* Copyright (C) 1998-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 @@ -33,3 +33,7 @@ mkostemp (template, flags) { return __gen_tempname (template, 0, flags, __GT_FILE); } + +#if !defined O_LARGEFILE || O_LARGEFILE == 0 +weak_alias (mkostemp, mkostemp64) +#endif -- cgit v1.1