This file is indexed.

/usr/include/lua5.1/paths.h is in lua-torch-paths-dev 0~20161027-g2bc6460-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* -*- C -*- */

#include "lua.h"
#include "lauxlib.h"

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>

#if defined(_WIN32) || defined(LUA_WIN)
# ifdef paths_EXPORTS
#  define PATHS_API __declspec(dllexport)
# else
#  define PATHS_API __declspec(dllimport)
# endif
#else
# define PATHS_API /**/
#endif


#if defined(_WIN32) || defined(LUA_WIN)

# include <errno.h>
# include <windows.h>
# include <direct.h>
# include <io.h>
# include <time.h>
# include <process.h>
# include <fcntl.h>
# include <sys/types.h>
# include <sys/stat.h>

#else

#define HAVE_DIRENT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_UNISTD_H 1
#define HAVE_TIME_H 1
#define HAVE_SYS_TIME_H 1
/* #undef HAVE_SYS_NDIR_H */
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_UTSNAME_H 1
/* #undef HAVE_NDIR_H */
#define HAVE_GETCWD 1
#define HAVE_DLOPEN 1

# include <errno.h>
# include <sys/types.h>
# include <sys/stat.h>
# if HAVE_FCNTL_H
#  include <fcntl.h>
# endif
# if HAVE_UNISTD_H
#  include <unistd.h>
# endif
# if HAVE_SYS_TIME_H
#  include <sys/time.h>
# endif
# if HAVE_SYS_UTSNAME_H
#  include <sys/utsname.h>
# endif
# if HAVE_TIME_H
#  include <time.h>
# endif
# ifdef HAVE_UNISTD_H
#  include <unistd.h>
# endif
# ifdef HAVE_DIRENT_H
#  include <dirent.h>
#  define NAMLEN(dirent) strlen((dirent)->d_name)
# else
#  define dirent direct
#  define NAMLEN(dirent) (dirent)->d_namlen
#  if HAVE_SYS_NDIR_H
#   include <sys/ndir.h>
#  endif
#  if HAVE_SYS_DIR_H
#   include <sys/dir.h>
#  endif
#  if HAVE_NDIR_H
#   include <ndir.h>
#  endif
# endif

#endif


int luaopen_libpaths (lua_State *L);