Package: skyeye
Version: 1.2.5-2.1
Severity: normal

Hi, skyeye build on armel  in ubuntu has been failing with an error...
'__open_missing_mode' declared with attribute error: open with O_CREAT in
second argument needs 3 arguments

This has been fixed using the changes attached. These changes are also in
skyeye svn.

thanks



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages skyeye depends on:
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib

skyeye recommends no packages.

skyeye suggests no packages.

-- no debconf information
--- skyeye-1.2.5.orig/device/nandflash/nandflash_smallblock.c
+++ skyeye-1.2.5/device/nandflash/nandflash_smallblock.c
@@ -516,7 +516,7 @@
 #endif
        nf->writebuffer=(u8*)malloc(dev->pagedumpsize);
        //nf->memsize=528*32*4096;
-       if ((nf->fdump= open(dev->dump, FILE_FLAG)) < 0)
+       if ((nf->fdump= open(dev->dump, FILE_FLAG,  S_IRUSR |S_IWUSR )) < 0)
        {
                free(nf);
                printf("error open nandflash dump!\n");

Reply via email to