Merge pull request #1453 from xexyl/anonymous2001-open
This commit is contained in:
2 files changed
+2
-3
No files matched your search
@@ -31,7 +31,7 @@ l an(d, sl){ c \
|
||||
r=V(014 )&63,an##i(d,sl); }
|
||||
#define add(Ev,Gv) Ev(){ i=((a-=16)+C(r,4))/4,(\
|
||||
Gv?Ev() :0) ; } Ev##n(){ a=C(r,5),Ev(); }
|
||||
l f;
|
||||
int f;
|
||||
Tr(L,r, C(r,3)&&C(r,3)<=d?(l)(((int)B)+d+C(r,4)-C(r,3)):(((int)B)^d)>>24&&--\
|
||||
r,(l)d) Tr(Run,a,(ss=strcmp((F*)B+C((V(12)>>16),4)+C(--r,0),A(.strtab))?ss:(F\
|
||||
*)B+C(r ,4),C(r,1)-2),0) add(Sca ,V(-~i)-P+2) add(ru,strcmp(ss+V(i),A(main)))
|
||||
|
||||
+1
-2
@@ -2380,8 +2380,7 @@ binary. But again see [bugs.md](/bugs.md) here.
|
||||
These also had to be done:
|
||||
|
||||
- when `open()`ing the file the file descriptor had to be saved so it could be
|
||||
closed prior to executing the program. This is the `f` variable which is of type
|
||||
`l`, a `#define` for `int *`.
|
||||
closed prior to executing the program. This is the `f` variable which an `int`.
|
||||
- `munmap()` also had to be called prior to executing the program. This involved
|
||||
a new `off_t N` which was added in the `mmap()` call which was then used in
|
||||
the `munmap()` call.
|
||||
|
||||
Reference in new issue
Block a user