Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172667485
D59777.id187003.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
407 B
Referenced Files
None
Subscribers
None
D59777.id187003.diff
View Options
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c
--- a/usr.sbin/pkg/pkg.c
+++ b/usr.sbin/pkg/pkg.c
@@ -168,7 +168,7 @@
{
struct archive *a;
struct archive_entry *ae;
- char *end;
+ const char *end;
int ret, r;
ret = -1;
@@ -1039,7 +1039,7 @@
static bool
pkg_is_pkg_pkg(const char *pkg)
{
- char *vstart, *basename;
+ const char *vstart, *basename;
size_t namelen;
/* Strip path. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 21, 2:03 AM (11 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39183301
Default Alt Text
D59777.id187003.diff (407 B)
Attached To
Mode
D59777: pkg(7): Preserve const qualifier on strrchr(3) results
Attached
Detach File
Event Timeline
Log In to Comment