Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171248632
D19829.id55873.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.id55873.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
Thu, Sep 10, 8:16 PM (12 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38617899
Default Alt Text
D19829.id55873.diff (575 B)
Attached To
Mode
D19829: Write string constant differently to improve readability.
Attached
Detach File
Event Timeline
Log In to Comment