阅读背景:

scandir()导致段错误,即使有效的绝对路径?

来源:互联网 

I'm not sure what I'm missing here, but I've been staring at this for quite a while. It seems that I get a segmentation fault when scanning what seems to be a valid directory. I'm just trying to print all dir entries and subdir entries. gdb run and backtrace:I'm not sure what I'm missing here, but I've be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: