diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-01 10:42:38 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-01 10:42:38 -0700 |
commit | cd97c9668814f7ec6d03e3c7e3653a92b97651e6 (patch) | |
tree | 80a8a9a6db13853b00be0380616f6127b4ab1556 /misc/mkstemp.c | |
parent | 09c0ee5f8c2e52ff64347c39a586e8a23b9421e5 (diff) | |
download | glibc-cd97c9668814f7ec6d03e3c7e3653a92b97651e6.tar glibc-cd97c9668814f7ec6d03e3c7e3653a92b97651e6.tar.gz glibc-cd97c9668814f7ec6d03e3c7e3653a92b97651e6.tar.bz2 glibc-cd97c9668814f7ec6d03e3c7e3653a92b97651e6.zip |
Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0.
Diffstat (limited to 'misc/mkstemp.c')
-rw-r--r-- | misc/mkstemp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/mkstemp.c b/misc/mkstemp.c index c03516bb7b..c10bdd9af0 100644 --- a/misc/mkstemp.c +++ b/misc/mkstemp.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 @@ -32,3 +32,7 @@ mkstemp (template) { return __gen_tempname (template, 0, 0, __GT_FILE); } + +#if !defined O_LARGEFILE || O_LARGEFILE == 0 +weak_alias (mkstemp, mkstemp64) +#endif |