(no subject)

From: bstat_private
Date: Mon Apr 20 1998 - 11:14:35 PDT

  • Next message: Matthieu Herrb: "Re: xdm problems"

    More Sunsite buggy soft:
    
       - ftp://sunsite.unc.edu/pub/Linux/apps/video/qcam-0.7c-5.tar.gz
       - ftp://sunsite.unc.edu/pub/Linux/apps/video/sqcam-0.1.tar.gz
    
    
    We can see their Makefiles:
    install:: all
            install -s -m 4755 -o root sqcam $(BINPATH)
    
    and
    
    install:: all
            install -s -m 4755 -o root qcam $(BINPATH)
            install -s -m 4755 -o root xqcam $(BINPATH)
    
    then in the .c's:
    
         [...]
         sprintf(lockfile,"/tmp/LOCK.qcam.0x%x",q->port);
         if (-1 == (q->fd = open(lockfile, O_WRONLY | O_CREAT, 0666)))
         [...]
    
     Nothing to say here...
    
         [...]
         if (f == NULL) {
           sprintf(buf, "Cannot open configuration file %s!", file);
           perror(buf);
           return 1;
      }
      /* Where _file_ is a command line option */
    
     Nothing to say here neither...
    
    Btw: Nothing to say ;)
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:49:40 PDT