Re: [PATCH 5/6] src/fssum: Allow single file input

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



On 05/31, Amir Goldstein wrote:
> > I might be doing something wrong but I can't seem to get
> > AT_EMPTY_PATH to work with fstatat. I don't see it on the man
> > page and when I pass it to fstatat it errors out with invalid
> > argument.
> >
> 
> https://www.man7.org/linux/man-pages/man2/stat.2.html
> 
> Says:
>        AT_EMPTY_PATH (since Linux 2.6.39)
> ... This flag is Linux-specific; define _GNU_SOURCE to obtain its definition.
> 
> And I see that fssum.c does define _GNU_SOURCE, so not sure what the
> problem is.

Ah yes, it is in the documentation, and I've got it working now!
Must've been some other issue I had... I apologize for the delay,
I'll send out a v2 shortly.

Thanks,
Arvind



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux