DragonFly bugs List (threaded) for 2013-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[DragonFlyBSD - Bug #2509] Redefinition of DIRBLKSIZ in restore(8)
Issue #2509 has been reported by swildner.
----------------------------------------
Bug #2509: Redefinition of DIRBLKSIZ in restore(8)
http://bugs.dragonflybsd.org/issues/2509
Author: swildner
Status: New
Priority: Normal
Assignee:
Category:
Target version:
I noticed that sbin/restore/interactive.c includes both <dirent.h> and <vfs/ufs/dir.h>, both of which define DIRBLKSIZ, but to different values.
In <dirent.h>:
#define DIRBLKSIZ 1024
In <vfs/ufs/dir.h>:
#define DIRBLKSIZ DEV_BSIZE
It seems to be a poor choice of names and ends up being 512 just by the ordering of includes in interactive.c.
Venkatesh told me to file a bug (so he doesn't forget), which I hereby did.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]