Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath
Commits
d0fcdfb2
Commit
d0fcdfb2
authored
Aug 29, 2013
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove whitespace - no planking
parent
823498d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
longpath.h
src/include/longpath/longpath.h
+22
-22
longpath.c
src/longpath.c
+2
-2
No files found.
src/include/longpath/longpath.h
View file @
d0fcdfb2
...
...
@@ -231,9 +231,9 @@ extern int creatl(const char *, mode_t);
extern
int
statl
(
const
char
*
,
struct
stat
*
);
extern
int
linkl
(
const
char
*
,
const
char
*
);
extern
int
unlinkl
(
const
char
*
);
extern
int
chownl
(
const
char
*
,
uid_t
,
gid_t
);
extern
int
chownl
(
const
char
*
,
uid_t
,
gid_t
);
extern
int
chmodl
(
const
char
*
,
mode_t
);
extern
int
mknodl
(
const
char
*
,
mode_t
,
dev_t
);
extern
int
mknodl
(
const
char
*
,
mode_t
,
dev_t
);
extern
int
mkfifol
(
const
char
*
,
mode_t
);
extern
int
rmdirl
(
const
char
*
);
extern
int
mkdirl
(
const
char
*
,
mode_t
);
...
...
@@ -245,40 +245,40 @@ extern int utimel(const char *, const struct utimbuf *);
/* at funcs */
#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || \
defined(_ATFILE_SOURCE)
extern
int
openatl
(
int
,
const
char
*
,
int
,
...);
extern
int
openatl
(
int
,
const
char
*
,
int
,
...);
#ifdef HAVE_ATTROPEN
extern
int
attropenl
(
const
char
*
,
const
char
*
,
int
,
...);
extern
int
attropenl
(
const
char
*
,
const
char
*
,
int
,
...);
#endif
extern
int
fstatatl
(
int
,
const
char
*
,
struct
stat
*
,
int
);
#if defined(HAVE_LINKAT)
extern
int
linkatl
(
int
,
const
char
*
,
int
,
const
char
*
,
int
);
extern
int
linkatl
(
int
,
const
char
*
,
int
,
const
char
*
,
int
);
#endif
extern
int
unlinkatl
(
int
,
const
char
*
,
int
);
extern
int
unlinkatl
(
int
,
const
char
*
,
int
);
#if defined(HAVE_SYMLINKAT)
extern
int
symlinkatl
(
const
char
*
,
int
,
const
char
*
);
extern
int
symlinkatl
(
const
char
*
,
int
,
const
char
*
);
#endif
#if defined(HAVE_READLINKAT)
extern
int
readlinkatl
(
int
,
const
char
*
,
char
*
,
size_t
);
extern
int
readlinkatl
(
int
,
const
char
*
,
char
*
,
size_t
);
#endif
extern
int
fchownatl
(
int
,
const
char
*
,
uid_t
,
gid_t
,
int
);
extern
int
fchownatl
(
int
,
const
char
*
,
uid_t
,
gid_t
,
int
);
#if defined(HAVE_MKNODAT)
extern
int
mknodatl
(
int
,
const
char
*
,
mode_t
,
dev_t
);
extern
int
mknodatl
(
int
,
const
char
*
,
mode_t
,
dev_t
);
#endif
#if defined(HAVE_MKFIFOAT)
extern
int
mkfifoatl
(
int
,
const
char
*
,
mode_t
);
extern
int
mkfifoatl
(
int
,
const
char
*
,
mode_t
);
#endif
extern
int
rmdiratl
(
int
,
const
char
*
);
extern
int
rmdiratl
(
int
,
const
char
*
);
#if defined(HAVE_MKDIRAT)
extern
int
mkdiratl
(
int
,
const
char
*
,
mode_t
);
extern
int
mkdiratl
(
int
,
const
char
*
,
mode_t
);
#endif
extern
int
renameatl
(
int
,
const
char
*
,
int
,
const
char
*
);
extern
int
renameatl
(
int
,
const
char
*
,
int
,
const
char
*
);
#endif
/* times at */
#if defined(__EXTENSIONS__) || \
(!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
/* || defined(_XPG7) */
extern
int
futimesatl
(
int
,
const
char
*
,
const
struct
timeval
*
);
extern
int
futimesatl
(
int
,
const
char
*
,
const
struct
timeval
*
);
extern
int
utimensatl
(
int
,
const
char
*
,
const
struct
timespec
*
,
int
);
#endif
...
...
@@ -287,7 +287,7 @@ extern int utimensatl(int, const char *, const struct timespec *, int);
extern
int
lstatl
(
const
char
*
,
struct
stat
*
);
extern
int
symlinkl
(
const
char
*
,
const
char
*
);
extern
int
readlinkl
(
const
char
*
,
char
*
,
size_t
);
extern
int
lchownl
(
const
char
*
,
uid_t
,
gid_t
);
extern
int
lchownl
(
const
char
*
,
uid_t
,
gid_t
);
#endif
/* mkstemp */
...
...
@@ -298,7 +298,7 @@ extern int mkstempsl(char *, int);
/* mkstemp GNU */
#if defined(_GNU_SOURCE)
extern
int
mkostempl
(
char
*
,
int
);
extern
int
mkostempsl
(
char
*
,
int
,
int
);
extern
int
mkostempsl
(
char
*
,
int
,
int
);
#endif
DIR
*
opendirl
(
const
char
*
);
...
...
@@ -314,18 +314,18 @@ extern int lsetxattrl(const char *, const char *, const void *, size_t, int);
/* 64 */
#if defined(_LARGEFILE64_SOURCE) && !((_FILE_OFFSET_BITS == 64) && \
!defined(__PRAGMA_REDEFINE_EXTNAME))
extern
int
openl64
(
const
char
*
,
int
,
...);
extern
int
openl64
(
const
char
*
,
int
,
...);
extern
int
creatl64
(
const
char
*
,
mode_t
);
extern
int
statl64
(
const
char
*
,
struct
stat64
*
);
/* 64 at funcs */
#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || \
defined(_ATFILE_SOURCE)
extern
int
openatl64
(
int
,
const
char
*
,
int
,
...);
extern
int
openatl64
(
int
,
const
char
*
,
int
,
...);
#ifdef HAVE_ATTROPEN
extern
int
attropenl64
(
const
char
*
,
const
char
*
,
int
,
...);
extern
int
attropenl64
(
const
char
*
,
const
char
*
,
int
,
...);
#endif
extern
int
fstatatl64
(
int
,
const
char
*
,
struct
stat64
*
,
int
);
extern
int
fstatatl64
(
int
,
const
char
*
,
struct
stat64
*
,
int
);
#endif
/* 64 lstat */
...
...
@@ -339,7 +339,7 @@ extern int mkstempsl64(char *, int);
/* 64 mkstemp GNU*/
#if defined(_GNU_SOURCE)
extern
int
mkostempl64
(
char
*
,
int
);
extern
int
mkostempsl64
(
char
*
,
int
,
int
);
extern
int
mkostempsl64
(
char
*
,
int
,
int
);
#endif
#endif
/* 64 */
#else
/* defined(__STDC__) */
...
...
src/longpath.c
View file @
d0fcdfb2
...
...
@@ -374,12 +374,12 @@ openl64(const char *path, int oflag, ...) {
int
creatl
(
const
char
*
path
,
mode_t
mode
)
{
return
_openatl
(
AT_FDCWD
,
path
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
,
mode
);
return
_openatl
(
AT_FDCWD
,
path
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
,
mode
);
}
#if !defined(_LP64)
int
creatl64
(
const
char
*
path
,
mode_t
mode
)
{
return
_openatl64
(
AT_FDCWD
,
path
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
,
mode
);
return
_openatl64
(
AT_FDCWD
,
path
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
,
mode
);
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment