[DragonFlyBSD - Bug #2509] Redefinition of DIRBLKSIZ in restore(8)

Sascha Wildner via Redmine bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 7 11:48:16 PST 2013


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



More information about the Bugs mailing list