~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/openat.c

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* provide a replacement openat function
2
 
   Copyright (C) 2004-2012 Free Software Foundation, Inc.
 
2
   Copyright (C) 2004-2013 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
28
28
#undef __need_system_fcntl_h
29
29
 
30
30
#if HAVE_OPENAT
31
 
static inline int
 
31
static int
32
32
orig_openat (int fd, char const *filename, int flags, mode_t mode)
33
33
{
34
34
  return openat (fd, filename, flags, mode);