#ifdef IPTC_DEBUG2
{
int fd = open("/tmp/libiptc-so_get_entries.blob",
- O_CREAT|O_WRONLY);
+ O_CREAT|O_WRONLY, 0644);
if (fd >= 0) {
write(fd, h->entries, tmp);
close(fd);
#ifdef IPTC_DEBUG2
{
int fd = open("/tmp/libiptc-so_set_replace.blob",
- O_CREAT|O_WRONLY);
+ O_CREAT|O_WRONLY, 0644);
if (fd >= 0) {
write(fd, repl, sizeof(*repl) + repl->size);
close(fd);
#ifdef IPTC_DEBUG2
{
int fd = open("/tmp/libiptc-so_set_add_counters.blob",
- O_CREAT|O_WRONLY);
+ O_CREAT|O_WRONLY, 0644);
if (fd >= 0) {
write(fd, newcounters, counterlen);
close(fd);