freebsd-ports/biology/mapm3/files/patch-lib-syscode.c
Rong-En Fan 7e14529975 MAPMAKER/EXP is a linkage analysis package designed to help construct primary
linkage maps of markers segregating in experimental crosses. MAPMAKER/EXP
performs full multipoint linkage analysis (simultaneous estimation of all
recombination fractions from the primary data) for dominant, recessive, and co-
dominant (e.g.  RFLP-like) markers.  MAPMAKER/EXP is an experimental-cross-only
successor to the original MAPMAKER program.

MAPMAKER/QTL is a companion program to MAPMAKER/EXP which allows one to map
genes controlling polygenic quantitative traits in F2 intercrosses and BC1
backcrosses relative to a genetic linkage map. More information on MAPMAKER/QTL
can be found in the technical report (included with MAPMAKER/QTL).

WWW: http://www.broad.mit.edu/ftp/distribution/software/mapmaker3/

PR:		ports/122452
Submitted by:	Tassilo Philipp <tphilipp at potion-studios.com>
2008-04-06 04:49:05 +00:00

43 lines
1.6 KiB
C

--- lib/syscode.c.orig 2008-04-04 20:05:29.000000000 +0000
+++ lib/syscode.c 2008-03-27 21:03:12.000000000 +0000
@@ -198,7 +198,7 @@
long fseekvalue= 0L;
frewind(fp);
run while (fseekvalue < index-1) {
- fgetln(help_file);
+ fgetln_(help_file);
fseekvalue+=len(ln)+1;
} except_when(ENDOFILE) return(FALSE);
return(TRUE);
@@ -742,26 +742,26 @@
} else if (matches(argv[i]+1,"load")) {
check_file_arg(*argc_ptr-i,argv[i+1],file_arg[LOAD_FILE_ARG],
- "load","data",argv[0],READ);
+ WRS("load"),WRS("data"),argv[0],READ);
prep_it=FALSE;
argv[i++][0]='\0'; argv[i][0]='\0';
} else if (matches(argv[i]+1,"prep")) {
check_file_arg(*argc_ptr-i,argv[i+1],file_arg[LOAD_FILE_ARG],
- "prep","raw",argv[0],READ);
+ WRS("prep"),WRS("raw"),argv[0],READ);
prep_it=TRUE;
argv[i++][0]='\0'; argv[i][0]='\0';
} else if (matches(argv[i]+1,"run")) {
check_file_arg(*argc_ptr-i,argv[i+1],file_arg[RUN_FILE_ARG],
- "run","in",argv[0],READ);
+ WRS("run"),WRS("in"),argv[0],READ);
argv[i++][0]='\0'; argv[i][0]='\0';
} else if (matches(argv[i]+1,"photo")) {
check_file_arg(*argc_ptr-i,argv[i+1],file_arg[PHOTO_FILE_ARG],
- "photo","out",argv[0],APPEND);
+ WRS("photo"),WRS("out"),argv[0],APPEND);
append_it=TRUE;
argv[i++][0]='\0'; argv[i][0]='\0';
} else if (matches(argv[i]+1,"out")) {
check_file_arg(*argc_ptr-i,argv[i+1],file_arg[PHOTO_FILE_ARG],
- "photo","out",argv[0],WRITE);
+ WRS("photo"),WRS("out"),argv[0],WRITE);
append_it=FALSE;
argv[i++][0]='\0'; argv[i][0]='\0';
} else if (matches(argv[i]+1,"help")) {