Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168774019
D19829.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
575 B
Referenced Files
None
Subscribers
None
D19829.diff
View Options
Index: head/sbin/fsck_msdosfs/dir.c
===================================================================
--- head/sbin/fsck_msdosfs/dir.c
+++ head/sbin/fsck_msdosfs/dir.c
@@ -444,10 +444,8 @@
return FSOK;
}
-static const u_char dot_name[] = {
- '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' };
-static const u_char dotdot_name[] = {
- '.', '.',' ',' ',' ',' ',' ',' ',' ',' ',' ' };
+static const u_char dot_name[11] = ". ";
+static const u_char dotdot_name[11] = ".. ";
/*
* Basic sanity check if the subdirectory have good '.' and '..' entries,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 31, 2:19 AM (7 m, 35 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37643700
Default Alt Text
D19829.diff (575 B)
Attached To
Mode
D19829: Write string constant differently to improve readability.
Attached
Detach File
Event Timeline
Log In to Comment