Otto, Thanks for considering it. Here is the patch which worked for me:
# # BEGIN PATCH SPLIT(1) # --- split.c Tue Oct 17 09:19:24 2006 +++ split_new.c Tue Oct 17 09:20:15 2006 @@ -59,7 +59,7 @@ #define DEFLINE 1000 /* Default num lines per file. */ -long bytecnt; /* Byte count to split on. */ +long long bytecnt; /* Byte count to split on. */ long numlines; /* Line count to split on. */ int file_open; /* If a file open. */ int ifd = -1, ofd = -1; /* Input/output file descriptors. */ @@ -105,7 +105,7 @@ ifd = 0; break; case 'b': /* Byte count. */ - if ((bytecnt = strtol(optarg, &ep, 10)) <= 0 || + if ((bytecnt = strtoll(optarg, &ep, 10)) <= 0 || (*ep != '\0' && *ep != 'k' && *ep != 'm')) errx(EX_USAGE, "%s: illegal byte count", optarg); @@ -171,7 +171,7 @@ void split1(void) { - long bcnt; + long long bcnt; int dist, len; char *C; # # END PATCH SPLIT(1) # Otto Moerbeek ([EMAIL PROTECTED]) wrote: > > send a diff and we will consider it. > > -Otto