projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
alignof: Avoid collision with stdalign module.
[gnulib.git]
/
lib
/
symlink.c
diff --git
a/lib/symlink.c
b/lib/symlink.c
index
89ddddb
..
2896cc9
100644
(file)
--- a/
lib/symlink.c
+++ b/
lib/symlink.c
@@
-1,5
+1,5
@@
/* Stub for symlink().
/* Stub for symlink().
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009
-2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-37,7
+37,7
@@
rpl_symlink (char const *contents, char const *name)
{
struct stat st;
if (lstat (name, &st) == 0)
{
struct stat st;
if (lstat (name, &st) == 0)
- errno = EEXIST;
+
errno = EEXIST;
return -1;
}
return symlink (contents, name);
return -1;
}
return symlink (contents, name);
@@
-47,8
+47,8
@@
rpl_symlink (char const *contents, char const *name)
/* The system does not support symlinks. */
int
/* The system does not support symlinks. */
int
-symlink (char const *contents _
UNUSED_PARAMETER_
,
-
char const *name _UNUSED_PARAMETER_
)
+symlink (char const *contents _
GL_UNUSED
,
+
char const *name _GL_UNUSED
)
{
errno = ENOSYS;
return -1;
{
errno = ENOSYS;
return -1;