Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Lucian Langa
6b7e6b69d1 drop unneeded files 2014-01-24 13:31:59 +01:00
2 changed files with 0 additions and 27 deletions

View file

@ -1,15 +0,0 @@
--- simh/makefile 2008-06-06 15:00:46.000000000 +0300
+++ simh-mod/makefile 2008-12-24 11:39:05.000000000 +0200
@@ -12,10 +12,10 @@
OS_CCDEFS = -lrt -lm -D_GNU_SOURCE
endif
endif
- CC = gcc -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I .
+ CC = gcc -std=gnu89 -U__STRICT_ANSI__ -g $(OS_CCDEFS) $(OPT) -I .
ifeq ($(USE_NETWORK),)
else
- NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
+ NETWORK_OPT = -DUSE_NETWORK -lpcap
endif
else
#Win32 Environments

View file

@ -1,12 +0,0 @@
diff -Naur simh-3.8.1/ALTAIR/altair_dsk.c simh-3.8.1-mod/ALTAIR/altair_dsk.c
--- simh-3.8.1/ALTAIR/altair_dsk.c 2005-08-26 21:47:22.000000000 +0300
+++ simh-3.8.1-mod/ALTAIR/altair_dsk.c 2009-11-14 21:22:23.000000000 +0200
@@ -325,6 +325,8 @@
cur_sect[cur_disk]);*/
pos = DSK_TRACSIZE * cur_track[cur_disk];
pos += DSK_SECTSIZE * cur_sect[cur_disk];
+ if ((uptr == NULL) || (uptr->fileref == NULL))
+ return 0;
rtn = fseek(uptr -> fileref, pos, 0);
rtn = fread(dskbuf, 137, 1, uptr -> fileref);
cur_byte[cur_disk] = 1;