66365b0e48
- drop MAINTAINER
29 lines
826 B
Plaintext
29 lines
826 B
Plaintext
$OpenBSD: patch-readv1_c,v 1.1 2009/10/01 14:09:55 sthen Exp $
|
|
--- readv1.c.orig Sat Apr 12 16:21:29 2008
|
|
+++ readv1.c Thu Oct 1 14:52:05 2009
|
|
@@ -32,11 +32,13 @@ extern int color;
|
|
|
|
/*------------------------------------------------------------------*/
|
|
|
|
+void
|
|
read_v1_status()
|
|
{
|
|
FILE *fp;
|
|
- int i, j, k;
|
|
- int line_num, stamp;
|
|
+ int i, k;
|
|
+ int line_num;
|
|
+ long stamp;
|
|
char buffer[MAX_CHARS_PER_LINE];
|
|
char *str_match;
|
|
char entry_type[MAX_STATUS_TYPE_LEN];
|
|
@@ -88,7 +90,7 @@ debug("status file is %s",STATUS_FILE);
|
|
continue;
|
|
}
|
|
|
|
- if ( sscanf(str_match,"[%d] %s",&stamp,entry_type) != 2 ) {
|
|
+ if ( sscanf(str_match,"[%ld] %s",&stamp,entry_type) != 2 ) {
|
|
endwin();
|
|
fprintf(stderr,"warning: ignoring %s line %d: could not parse entry\r\n",
|
|
STATUS_FILE,line_num);
|