Project

General

Profile

Actions

Bug #2509

open

Redefinition of DIRBLKSIZ in restore(8)

Added by swildner over 11 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/07/2013
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions #1

Updated by tuxillo over 2 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF