gitlog-to-changelog
gnu-make gnumakefile gnupload
group-member hard-locale hash hash-pjw host-os human idcache
+ ignore-value
inttostr inttypes isapipe
lchmod lchown lib-ignore linebuffer link-follow
long-options lstat malloc mbswidth memcasecmp mempcpy
#include "full-write.h"
#include "hash.h"
#include "hash-triple.h"
+#include "ignore-value.h"
#include "lchmod.h"
#include "quote.h"
#include "same.h"
/* We've failed to set *both*. Now, try to set just the group
ID, but ignore any failure here, and don't change errno. */
int saved_errno = errno;
- (void) fchown (dest_desc, -1, gid);
+ ignore_value (fchown (dest_desc, -1, gid));
errno = saved_errno;
}
}
/* We've failed to set *both*. Now, try to set just the group
ID, but ignore any failure here, and don't change errno. */
int saved_errno = errno;
- (void) lchown (dst_name, -1, gid);
+ ignore_value (lchown (dst_name, -1, gid));
errno = saved_errno;
}
}
#include "cp-hash.h"
#include "error.h"
#include "filenamecat.h"
+#include "ignore-value.h"
#include "lchmod.h"
#include "quote.h"
#include "stat-time.h"
}
/* Failing to preserve ownership is OK. Still, try to preserve
the group, but ignore the possible error. */
- (void) lchown (dst_name, -1, p->st.st_gid);
+ ignore_value (lchown (dst_name, -1, p->st.st_gid));
}
}
for (size_t i = 0; i < n; i++)
{
/* ignore failure */
- (void) unlinkat (dir_fd, vv[i]->name, 0);
+ unlinkat (dir_fd, vv[i]->name, 0);
}
cleanup: