[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Re: bad glob in standard universe?



[Scott cc'd since he wrote this so long ago.]

On 6 May 2004, Scott Koranda <skoranda@xxxxxxxxxxxxxxxxxxxx> wrote:

> I am seeing the following in version 6.6.1. If I take this code
> 
> [skoranda@contra skoranda]$ cat globtest.c
> #include <stdio.h>
> #include <glob.h>
>  
> int main(void){
>  
>         char dirname[256] = "./*";
>         int ret;
>  
>         glob_t globbuf;
>  
>         ret = glob(dirname, GLOB_ERR, NULL, &globbuf);
>  
>         fprintf(stdout, "Found %d paths\n", (int) globbuf.gl_pathc);
>  
> }
> 
> and I compile and run it I see
> 
> [skoranda@contra skoranda]$ gcc -o globtest globtest.c
> [skoranda@contra skoranda]$ ./globtest
> Found 170 paths
> 
> But if I condor_compile I see this:
...
> [skoranda@contra skoranda]$ ./globtest
> Condor: Notice: Will checkpoint to ./globtest.ckpt
> Condor: Notice: Remote system calls disabled.
> Found 0 paths

I just wanted to report that I find the same behaviour with 6.7.2.  

Has anyone looked into fixing this?

Thanks,

Dan