Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110040761
D26479.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
631 B
Referenced Files
None
Subscribers
None
D26479.diff
View Options
Index: head/usr.bin/grep/file.c
===================================================================
--- head/usr.bin/grep/file.c
+++ head/usr.bin/grep/file.c
@@ -55,12 +55,12 @@
#define MAXBUFSIZ (32 * 1024)
#define LNBUFBUMP 80
-static unsigned char *buffer;
-static unsigned char *bufpos;
+static char *buffer;
+static char *bufpos;
static size_t bufrem;
static size_t fsiz;
-static unsigned char *lnbuf;
+static char *lnbuf;
static size_t lnbuflen;
static inline int
@@ -97,7 +97,7 @@
char *
grep_fgetln(struct file *f, struct parsec *pc)
{
- unsigned char *p;
+ char *p;
char *ret;
size_t len;
size_t off;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 13, 9:04 PM (18 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16633067
Default Alt Text
D26479.diff (631 B)
Attached To
Mode
D26479: Fix -Wpointer-sign warnings in usr.bin/grep
Attached
Detach File
Event Timeline
Log In to Comment