File: 02_isnumber.patch

package info (click to toggle)
wise 2.4.1-27
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 39,204 kB
  • sloc: ansic: 276,369; makefile: 1,021; perl: 886; lex: 93; yacc: 81; sh: 25
file content (15 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Philipp Benner <mail@philipp-benner.de>
Description: Replace isnumber() (which does not exist on linux) by isdigit().
Forwarded: not-needed

--- wise-2.4.1.orig/src/models/phasemodel.c
+++ wise-2.4.1/src/models/phasemodel.c
@@ -20,7 +20,7 @@
     if( line[0] == '#' ) {
       continue;
     }
-    if( !isnumber(line[0]) ) {
+    if( !isdigit(line[0]) ) {
       warn("Bad looking line in intron file, %s",line);
       continue;
     }