1 diff -u -r ../hexcurse-hexcurse-1.58/src/getopt.c ./src/getopt.c
2 --- ../hexcurse-hexcurse-1.58/src/getopt.c 2014-02-26 19:26:34.000000000 -0500
3 +++ ./src/getopt.c 2015-08-23 07:53:55.917711262 -0400
8 -/* The following modification was submited by Claudio Fanin. This change *
9 - * enables hexcurse to be compiled with SGI's proprietary compiler */
14 -#define __alloca alloca
16 -/* end of modification */
24 int nonopts_size = (last_nonopt - first_nonopt) * sizeof (char *);
25 - char **temp = (char **) __alloca (nonopts_size);
26 + char **temp = (char **) malloc(nonopts_size);
28 /* Interchange the two blocks of data in ARGV. */
31 my_bcopy ((char *) temp,
32 (char *) &argv[first_nonopt + optind - last_nonopt],
36 /* Update records for the slots the non-options now occupy. */