37 | | || `AC_FUNC_MMAP` || `src/machista1.0/libmachista.c:469` || |
38 | | || `AC_FUNC_REALLOC` || `src/cregistry/util.c:56` || |
39 | | || `AC_PROG_AWK` || `portmgr/packaging/buildall.sh:44` || |
40 | | || `AC_PROG_RANLIB` || `src/cregistry/Makefile:5` || |
| 37 | || `AC_FUNC_MMAP` || `src/machista1.0/libmachista.c:469` || `if ((data = mmap(NULL, st.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0)) == MAP_FAILED) {` || in mach-o file parser || `/* Map file into address space */` Checking how `mmap` works would be good for this. || |
| 38 | || `AC_FUNC_REALLOC` || `src/cregistry/util.c:56` || `new_dst = realloc(*dst, *dst_space * sizeof(char) + 1);` || in concatenation function || Again, memory management is just one of those things you check. || |
| 39 | || `AC_PROG_AWK` || `portmgr/packaging/buildall.sh:44` || `mysz=\`cd /; du -sk $i |awk '{print $1}'\`` || used in making chroot disk image || MacPorts actually uses `awk` in a lot of places; this should probably be given a value (one that gets substituted in) in `mk/macports.autoconf.mk.in` and then in either `src/port1.0/port_autoconf.tcl.in` or `src/macports1.0/macports_autoconf.tcl.in` (or both), as well. || |
| 40 | || `AC_PROG_RANLIB` || `src/cregistry/Makefile:5` || `RANLIB = ranlib` || variable definition || this should be substituted in by the `configure` script instead of set manually || |