Author: Stan Eisenstat
Subject: Re: [Cs323] Dir.c only works on current directory?
Date: Sunday, 13 Sep 2020, 15:45:31
> Message Posted By: Unknown > > I compiled and ran the provided Dir.c script, and it only works correctly > when the path is "." How come lstat always makes it fail when a directory > other than the current one is used? Have you looked at the code in Hwk1/Dir.c? The name of the directory fixed as "." and argv[] is ignored. --Stan-PREV INDEX NEXT