~ubuntu-branches/ubuntu/precise/eglibc/precise-201308281639

« back to all changes in this revision

Viewing changes to sysdeps/unix/sysv/linux/fpathconf.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-02-08 01:58:09 UTC
  • mfrom: (1.5.3) (288.1.12 precise)
  • Revision ID: package-import@ubuntu.com-20120208015809-ulscst7uteq3e22z
Tags: 2.15~pre6-0ubuntu10
Merge from Debian (r5151, 2.13-26).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Get file-specific information about descriptor FD.  Linux version.
2
 
   Copyright (C) 1991,1995,1996,1998-2003,2008,2010
 
2
   Copyright (C) 1991,1995,1996,1998-2003,2008,2010,2011
3
3
   Free Software Foundation, Inc.
4
4
   This file is part of the GNU C Library.
5
5
 
40
40
  switch (name)
41
41
    {
42
42
    case _PC_LINK_MAX:
43
 
      return __statfs_link_max (__fstatfs (fd, &fsbuf), &fsbuf);
 
43
      return __statfs_link_max (__fstatfs (fd, &fsbuf), &fsbuf, NULL, fd);
44
44
 
45
45
    case _PC_FILESIZEBITS:
46
46
      return __statfs_filesize_max (__fstatfs (fd, &fsbuf), &fsbuf);