aboutsummaryrefslogtreecommitdiffstats
path: root/makewrappers
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2012-12-12 15:37:35 -0600
committerPeter Seebach <peter.seebach@windriver.com>2012-12-12 15:37:35 -0600
commit874bea3c664161c2297d5d5f4f93408330e005f5 (patch)
tree37d8595c1024446a027aad9ac642ffd07e7141db /makewrappers
parentb6c2409d786e53f62accc1c7a6538f39dd0ab601 (diff)
downloadpseudo-874bea3c664161c2297d5d5f4f93408330e005f5.tar.gz
pseudo-874bea3c664161c2297d5d5f4f93408330e005f5.tar.bz2
pseudo-874bea3c664161c2297d5d5f4f93408330e005f5.zip
add linkat() implementation
We never had an implementation for linkat() because no one used it; now someone uses it. link() is now implemented on top of linkat(). Note the abnormal AT_SYMLINK_FOLLOW (as opposed to _NOFOLLOW) flag.
Diffstat (limited to 'makewrappers')
-rwxr-xr-xmakewrappers4
1 files changed, 2 insertions, 2 deletions
diff --git a/makewrappers b/makewrappers
index 18dbbc0..168fd81 100755
--- a/makewrappers
+++ b/makewrappers
@@ -335,7 +335,7 @@ class Function:
alloc_paths.append(
"%s = pseudo_root_path(__func__, __LINE__, %s%s, %s, %s);" %
(path, prefix, self.dirfd, path, self.flags))
- return "\n\t\t\t".join(alloc_paths)
+ return "\n\t\t".join(alloc_paths)
def free_paths(self):
"""free any allocated paths"""
@@ -345,7 +345,7 @@ class Function:
# has been overwritten.
for path in self.paths_to_munge:
free_paths.append("free((void *) %s);" % path)
- return "\n\t\t\t".join(free_paths)
+ return "\n\t\t".join(free_paths)
def real_predecl(self):
if self.real_func: