Commit 3fea3144 authored by wanliofficial's avatar wanliofficial

update

parent dadb89fb
...@@ -37,6 +37,8 @@ logs/*.log.* ...@@ -37,6 +37,8 @@ logs/*.log.*
frontend/node_modules frontend/node_modules
frontend/dist frontend/dist
backend/*.c
backend/out
backend/logs/*.log backend/logs/*.log
backend/logs/*.log.* backend/logs/*.log.*
backend/nohup.out backend/nohup.out
......
{"lastModifyDateTime": 1622539747} {"lastModifyDateTime": 1624346271}
\ No newline at end of file \ No newline at end of file
...@@ -21,4 +21,4 @@ backup_dir = backup ...@@ -21,4 +21,4 @@ backup_dir = backup
evueapps_dir = evueapps evueapps_dir = evueapps
launcher_dir = launcher launcher_dir = launcher
host = 127.0.0.1 host = 127.0.0.1
port = 5001 port = 5000
\ No newline at end of file \ No newline at end of file
...@@ -24,6 +24,7 @@ def initConnect(): ...@@ -24,6 +24,7 @@ def initConnect():
signalManager.actionApplicationBuild.connect(appsManager.build) signalManager.actionApplicationBuild.connect(appsManager.build)
signalManager.actionGetConvertString.connect(apiManager.get_escape_text) signalManager.actionGetConvertString.connect(apiManager.get_escape_text)
signalManager.actionUpdatePassword.connect(apiManager.update_user_password) signalManager.actionUpdatePassword.connect(apiManager.update_user_password)
signalManager.actionOpqcp.connect(apiManager.opqcp)
# 登录模块 # 登录模块
signalManager.actionLogin.connect(loginManager.login) signalManager.actionLogin.connect(loginManager.login)
......
...@@ -15,6 +15,7 @@ import json ...@@ -15,6 +15,7 @@ import json
import logging import logging
import traceback import traceback
import subprocess import subprocess
import shutil
import uuid import uuid
from datetime import datetime from datetime import datetime
...@@ -57,21 +58,44 @@ class ApiManager(object): ...@@ -57,21 +58,44 @@ class ApiManager(object):
return True, "success" return True, "success"
def get_escape_text(self, data): def get_escape_text(self, data):
return convert_string(data['string']) fname = "./a.c"
with open("./a.c", "w+") as f:
f.write(data['string'])
result = os.system("./opqcp {i} ./out".format(i=fname))
print(result)
with open("./out/a.c") as f:
result = f.read()
return result
# return convert_string(data['string'])
def opqcp(self, params): def opqcp(self, params):
target_file = os.path.normpath(os.sep.join([config.get("UPLOAD_PATH"), params.get("filename")])) target_file = os.path.normpath(os.sep.join([config.get("UPLOAD_PATH"), params.get("filename")]))
print("--------->", params, target_file) print("--------->", params, target_file)
print(os.stat(target_file)) print(os.stat(target_file))
shutil.copy(target_file, os.getcwd())
# dtNowString = datetime.now().strftime("%Y%m%d%H%M%S%f") # dtNowString = datetime.now().strftime("%Y%m%d%H%M%S%f")
# fn, ex = os.path.splitext(params.get("filename")) # fn, ex = os.path.splitext(params.get("filename"))
output_path = os.path.dirname(target_file) output_path = os.sep.join([os.path.dirname(target_file), "out"])
if not os.path.exists(output_path):
os.makedirs(output_path)
print("#######", output_path) print("#######", output_path)
# print(os.path.dirname(os.getcwd()), os.path.abspath("../opqcp/opqcp"))
result = os.system("./opqcp {i} ./out".format(i=os.path.basename(target_file)))
print(result)
# command = ["./opqcp", target_file, output_path] command = ["./opqcp", os.path.basename(target_file), "./"]
fname = os.sep.join([os.getcwd(), "out", os.path.basename(target_file)])
shutil.copy(fname, output_path)
os.remove(fname)
# ret = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding="utf-8", timeout=5) # ret = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding="utf-8", timeout=5)
# if ret.returncode == 0: # if ret.returncode == 0:
...@@ -79,8 +103,8 @@ class ApiManager(object): ...@@ -79,8 +103,8 @@ class ApiManager(object):
# else: # else:
# print("error:", ret) # print("error:", ret)
ret = target_file # ret = target_file
return True, ret return True, os.sep.join([output_path.replace(config.get("UPLOAD_PATH"), ""), params.get("filename")])
apiManager = ApiManager() apiManager = ApiManager()
File added
...@@ -122,11 +122,6 @@ class EpkApp(object): ...@@ -122,11 +122,6 @@ class EpkApp(object):
files.insert(0, finfo) files.insert(0, finfo)
else: else:
files.append(finfo) files.append(finfo)
<<<<<<< HEAD
=======
>>>>>>> 735d39eb4d0c3134b62bf4fe1b7a2ca0ea8da1ca
if fext == ".evue": if fext == ".evue":
self.fileMD5(finfo) self.fileMD5(finfo)
......
...@@ -35,9 +35,9 @@ def action_opqcp(): ...@@ -35,9 +35,9 @@ def action_opqcp():
print(params) print(params)
signalManager.actionOpqcp.emit(params) result, message = signalManager.actionOpqcp.emit(params)
return response_result(ResponseCode.OK) return response_result(ResponseCode.OK, msg=message)
@api.route("/updatePassword", methods=['POST']) @api.route("/updatePassword", methods=['POST'])
@validate_schema(UpdatePasswordSchema) @validate_schema(UpdatePasswordSchema)
......
/* Licensed material, Copyright (c) 1985, University of Utah. */ /* Licensed material, Copyright (c) 1985, University of Utah. */
typedef long unsigned int l1; typedef long unsigned int l1;typedef unsigned char l2;typedef unsigned short
typedef l2 l3; int l3;typedef unsigned int l4;typedef unsigned long int l5;typedef l6 char l7
typedef unsigned char l4; ;typedef unsigned char l8;typedef l6 short int l9;typedef unsigned short int
typedef unsigned short int l5; l10;typedef l6 int l11;typedef unsigned int l12;typedef l6 long int l13;
typedef unsigned int l6; typedef unsigned long int l14;typedef long int l15;typedef unsigned long int
typedef unsigned long int l7; l16;typedef unsigned long int l17;typedef unsigned int l18;typedef unsigned
typedef l8 char l9; int l19;typedef unsigned long int l20;typedef unsigned long int l21;typedef
typedef unsigned char l10; unsigned int l22;typedef unsigned long int l23;typedef long int l24;typedef
typedef l8 short int l11; long int l25;typedef int l26;typedef struct{int l27[2];}l28;typedef long int
typedef unsigned short int l12; l29;typedef unsigned long int l30;typedef unsigned long int l31;typedef
typedef l8 int l13; unsigned int l32;typedef long int l33;typedef unsigned int l34;typedef long
typedef unsigned int l14; int l35;typedef int l36;typedef int l37;typedef int l38;typedef void*l39;
typedef l8 long int l15; typedef long int l40;typedef long int l41;typedef long int l42;typedef
typedef unsigned long int l16; unsigned long int l43;typedef unsigned long int l44;typedef unsigned long int
typedef l9 l17; l45;typedef unsigned long int l46;typedef long int l47;typedef long int l48;
typedef l10 l18; typedef long int l49;typedef unsigned long int l50;typedef l25 l51;typedef l15
typedef l11 l19; *l52;typedef char*l53;typedef long int l54;typedef unsigned int l55;struct l56
typedef l12 l20; ;typedef struct l56 l57;typedef struct l56 l58;typedef struct{int l59;union{
typedef l13 l21; unsigned int l60;char l61[4];}l62;}l63;typedef struct{l24 l64;l63 l65;}l66;
typedef l14 l22; typedef struct{l25 l64;l63 l65;}l67;typedef l68 l69;struct l70;struct l56;
typedef l15 typedef void l71;struct l72{struct l72*l73;struct l56*l74;int l75;};enum l76{
l23; l77,l78,l79,l80};struct l56{int l81;char*l82;char*l83;char*l84;char*l85;char*
typedef l16 l24; l86;char*l87;char*l88;char*l89;char*l90;char*l91;char*l92;struct l72*l93;
typedef long int l25; struct l56*l94;int l95;int l96;l24 l97;unsigned short l98;l6 char l99;char
typedef unsigned long int l26; l100[1];l71*l101;l25 l102;void*l103;void*l104;void*l105;void*l106;l1 l107;int
typedef long int l27; l108;char l109[15*sizeof(int)-4*sizeof(void*)-sizeof(l1)];};typedef struct l56
typedef unsigned long int l28; l56;struct l110;extern struct l110 l111;extern struct l110 l112;extern struct
typedef unsigned long int l110 l113;typedef l48 l114(void*l115,char*l116,l1 l117);typedef l48 l118(void
l29; *l115,l119 char*l116,l1 l120);typedef int l121(void*l115,l25*l64,int l122);
typedef unsigned int l30; typedef int l123(void*l115);extern int l124(l56*);extern int l125(l56*);
typedef unsigned int l31; extern int l126(l56*,int);extern int l127(l56*l128);extern int l129(int l130,
typedef unsigned long int l32; l56*l128);extern int l131(l56*l128)l132((l133,l134));extern int l135(l56*l128
typedef unsigned long int l33; )l132((l133,l134));extern int l136(l56*l128);extern void l137(l56*)l132((l133
typedef unsigned int l34; ,l134));extern void l138(l56*)l132((l133,l134));extern int l139(l56*)l132((
typedef unsigned long int l35; l133,l134));extern int l140(l56*l141,l119 char*l141,l69,int*l141);extern int
typedef long int l36; l142(l56*l141,l119 char*l141,l69);extern l48 l143(l56*,int,l48);extern l1 l144
typedef long int l37; (l56*,void*,l1);extern l25 l145(l56*,l25,int,int);extern l25 l146(l56*,l25,
typedef int int);extern void l147(l56*)l132((l133,l134));typedef l69 l148;typedef l24 l149
l38; ;typedef l48 l150;typedef l66 l151;extern struct l56*l152;extern struct l56*
typedef struct l153;extern struct l56*l154;extern int l155(l119 char*l156)l132((l133,l134));
{ extern int l157(l119 char*l158,l119 char*l159)l132((l133,l134));extern int
int l39[2]; l160(int l161,l119 char*l158,int l162,l119 char*l159)l132((l133,l134));extern
} l40; l57*l163(void);extern char*l164(char*l165)l132((l133,l134));extern char*l166(
typedef long int l41; char*l165)l132((l133,l134));extern char*l167(l119 char*l168,l119 char*l169)
typedef unsigned long int l42; l132((l133,l134))l132((l170));extern int l171(l57*l172);extern int l173(l57*
typedef unsigned long int l43; l172);extern int l174(l57*l172);extern l57*l175(l119 char*l141 l156,l119 char
typedef unsigned int l44; *l141 l176);extern l57*l177(l119 char*l141 l156,l119 char*l141 l176,l57*l141
typedef long int l45; l172);extern l57*l178(int l179,l119 char*l176)l132((l133,l134));extern l57*
typedef unsigned int l46; l180(void*l165,l1 l181,l119 char*l176)l132((l133,l134));extern l57*l182(char
typedef long int l47; **l183,l1*l184)l132((l133,l134));extern void l185(l57*l141 l172,char*l141 l116
typedef int l48; )l132((l133,l134));extern int l186(l57*l141 l172,char*l141 l116,int l176,l1
typedef int l49; l120)l132((l133,l134));extern void l187(l57*l141 l172,char*l141 l116,l1 l188)
typedef int l50; l132((l133,l134));extern void l189(l57*l172)l132((l133,l134));extern int l190
typedef void *l51; (l57*l141 l172,l119 char*l141 l191,...);extern int l192(l119 char*l141 l191,.
typedef long int l52; ..);extern int l193(char*l141 l165,l119 char*l141 l191,...)l132((l133));
typedef long int extern int l194(l57*l141 l165,l119 char*l141 l191,l69 l195);extern int l196(
l53; l119 char*l141 l191,l69 l195);extern int l197(char*l141 l165,l119 char*l141
typedef long int l54; l191,l69 l195)l132((l133));extern int l198(char*l141 l165,l1 l199,l119 char*
typedef unsigned long int l55; l141 l191,...)l132((l133))l132((l200(l201,3,4)));extern int l202(char*l141
typedef unsigned long int l56; l165,l1 l199,l119 char*l141 l191,l69 l195)l132((l133))l132((l200(l201,3,0)));
typedef unsigned long int l57; extern int l203(int l179,l119 char*l141 l204,l69 l195)l132((l200(l201,2,0)));
typedef unsigned long int l58; extern int l205(int l179,l119 char*l141 l204,...)l132((l200(l201,2,3)));
typedef long int l59; extern int l206(l57*l141 l172,l119 char*l141 l191,...);extern int l207(l119
typedef long int l60; char*l141 l191,...);extern int l208(l119 char*l141 l165,l119 char*l141 l191,.
typedef long int l61; ..)l132((l133,l134));extern int l206(l57*l141 l172,l119 char*l141 l191,...)
typedef unsigned long int l62; l209("""__isoc99_fscanf");extern int l207(l119 char*l141 l191,...)l209(""
typedef l37 l63; "__isoc99_scanf");extern int l208(l119 char*l141 l165,l119 char*l141 l191,...
typedef char *l64; )l209("""__isoc99_sscanf")l132((l133,l134));extern int l210(l57*l141 l165,
typedef long int l65; l119 char*l141 l191,l69 l195)l132((l200(l211,2,0)));extern int l212(l119 char
typedef unsigned int l66; *l141 l191,l69 l195)l132((l200(l211,1,0)));extern int l213(l119 char*l141 l165
typedef int l67; ,l119 char*l141 l191,l69 l195)l132((l133,l134))l132((l200(l211,2,0)));extern
typedef struct int l210(l57*l141 l165,l119 char*l141 l191,l69 l195)l209("""__isoc99_vfscanf"
{ )l132((l200(l211,2,0)));extern int l212(l119 char*l141 l191,l69 l195)l209(""
int l68; "__isoc99_vscanf")l132((l200(l211,1,0)));extern int l213(l119 char*l141 l165,
union l119 char*l141 l191,l69 l195)l209("""__isoc99_vsscanf")l132((l133,l134))l132(
{ (l200(l211,2,0)));extern int l214(l57*l172);extern int l215(l57*l172);extern
unsigned int l69; int l216(void);extern int l217(l57*l172);extern int l218(void);extern int l219
char l70 (l57*l172);extern int l220(int l130,l57*l172);extern int l221(int l130,l57*
[4]; l172);extern int l222(int l130);extern int l223(int l130,l57*l172);extern int
} l71; l224(int l130,l57*l172);extern int l225(int l130);extern int l226(l57*l172);
} l72; extern int l227(int l122,l57*l172);extern char*l228(char*l141 l165,int l120,
typedef struct l73 l57*l141 l172);extern char*l229(char*l165)l132((l230));extern l48 l231(char**
{ l141 l232,l1*l141 l120,int l233,l57*l141 l172);extern l48 l234(char**l141 l232
l36 l74; ,l1*l141 l120,int l233,l57*l141 l172);extern l48 l235(char**l141 l232,l1*l141
l72 l75; l120,l57*l141 l172);extern int l236(l119 char*l141 l165,l57*l141 l172);extern
} l76; int l237(l119 char*l165);extern int l238(int l130,l57*l172);extern l1 l239(
typedef struct l77 void*l141 l240,l1 l188,l1 l120,l57*l141 l172);extern l1 l241(l119 void*l141
{ l240,l1 l188,l1 l120,l57*l141 l165);extern l1 l242(void*l141 l240,l1 l188,l1
l37 l120,l57*l141 l172);extern l1 l243(l119 void*l141 l240,l1 l188,l1 l120,l57*
l74; l141 l172);extern int l244(l57*l172,long int l245,int l246);extern long int
l72 l75; l247(l57*l172);extern void l248(l57*l172);extern int l249(l57*l172,l24 l245,
} l78; int l246);extern l24 l250(l57*l172);extern int l251(l57*l141 l172,l151*l141
struct l79; l64);extern int l252(l57*l172,l119 l151*l64);extern void l253(l57*l172)l132((
typedef struct l79 l80; l133,l134));extern int l254(l57*l172)l132((l133,l134));extern int l255(l57*
struct l79; l172)l132((l133,l134));extern void l256(l57*l172)l132((l133,l134));extern int
typedef struct l257(l57*l172)l132((l133,l134));extern int l258(l57*l172)l132((l133,l134));
l79 l81; extern void l259(l119 char*l165);extern int l260;extern l119 char*l119 l261[]
struct l79; ;extern int l262(l57*l172)l132((l133,l134));extern int l263(l57*l172)l132((
struct l82; l133,l134));extern l57*l264(l119 char*l265,l119 char*l176);extern int l266(
struct l83; l57*l172);extern char*l267(char*l165)l132((l133,l134));extern void l268(l57*
struct l84; l172)l132((l133,l134));extern int l269(l57*l172)l132((l133,l134));extern void
typedef void l85; l270(l57*l172)l132((l133,l134));typedef char*l271;typedef int l272;typedef
struct char l273;typedef char*l274;extern l274 l275();extern long l276();typedef
l79 union{long l277;double l278;}l279;extern char*l280();l274 l275(l281)int l281;
{ {l279*l282;if((l282 = (l279*)l280((unsigned)(l281+sizeof(l279))))<= 0){l190(
int l86; l154,"\nNo Space in heap! %d bytes requested.\n",l281);l283(-1);}l282->l277 =
char *l87; (long)l281;return(l274)(l282+1);}long l276(l284)l274 l284;{return((l279*)l284
char *l88; -1)->l277;}l285(l284)l274 l284;{if(l284)l286((char*)((l279*)l284-1));}
char *l89;
char *l90;
char *l91;
char *l92;
char *l93;
char *l94;
char *l95;
char *l96;
char *l97;
struct l82 *l98;
struct l79 *l99;
int l100;
int l101;
l36 l102;
unsigned short l103;
l8 char l104;
char l105[1];
l85 *l106;
l37
l107;
struct l83 *l108;
struct l84 *l109;
struct l79 *l110;
void *l111;
l1 l112;
int
l113;
char l114[15 * sizeof(int) - 4 * sizeof(void *) - sizeof(l1)];
};
typedef l3 l115;
typedef l36 l116;
typedef l60 l117;
typedef l76 l118;
extern l81 *l119;
extern l81
*l120;
extern l81 *l121;
extern int l122(l123 char *l124) l125((l126, l127));
extern int l128(l123 char *l129, l123 char *l130) l125((l126, l127));
extern int l131(int
l132,
l123 char *l129, int l133, l123 char *l130) l125((l126, l127));
extern l81 *l134(void);
extern char *l135(char *l136) l125((l126, l127));
extern char *l137(char *
l136) l125((l126, l127));
extern char *l138(l123 char *l139, l123 char *l140) l125((
l126, l127)) l125((l141));
extern int l142(l81 *l143);
extern int l144(l81 *l143);
extern int l145(l81 *l143);
extern l81 *l146(l123 char *l147 l124, l123 char *l147
l148);
extern l81 *l149(l123 char *l147 l124, l123 char *l147 l148, l81 *l147 l143);
extern l81 *l150(int l151, l123 char *l148) l125((l126, l127));
extern l81 *l152(
void *l136, l1 l153, l123 char *l148) l125((l126, l127));
extern l81 *l154(char **l155, l1 *l156) l125((l126, l127));
extern void l157(l81 *l147 l143, char *l147 l158) l125((l126, l127));
extern int l159(l81 *l147 l143, char *l147 l158, int l148, l1 l160)
l125((l126, l127));
extern void l161(l81 *l147 l143, char *l147 l158, l1 l162) l125(
(l126, l127));
extern void l163(l81 *l143) l125((l126, l127));
extern int l164(l81 *
l147 l143,
l123 char *l147 l165, ...);
extern int l166(l123 char *l147 l165, ...);
extern int l167(char *l147 l136, l123 char *l147 l165, ...) l125((l126));
extern int
l168(l81 *l147 l136, l123 char *l147 l165, l3 l169);
extern int l170(l123 char *
l147 l165,
l3 l169);
extern int l171(char *l147 l136, l123 char *l147 l165, l3 l169) l125((l126));
extern int l172(char *l147 l136, l1 l173, l123 char *l147 l165, ...)
l125((l126)) l125((l174(l175, 3, 4)));
extern int l176(char *l147 l136, l1 l173,
l123 char *l147 l165, l3 l169) l125((l126)) l125((l174(l175, 3, 0)));
extern int l177(int l151, l123 char *l147 l178, l3 l169) l125((l174(l175, 2, 0)));
extern int l179(
int l151, l123 char *l147 l178, ...) l125((l174(l175, 2, 3)));
extern int l180(l81 *
l147 l143,
l123 char *l147 l165, ...);
extern int l181(l123 char *l147 l165, ...);
extern int l182(l123 char *l147 l136, l123 char *l147 l165, ...) l125((l126, l127));
extern int l180(l81 *l147 l143, l123 char *l147 l165, ...) l183(""
"__isoc99_fscanf");
extern int l181(l123 char *l147 l165, ...) l183(""
"__isoc99_scanf");
extern int l182(l123 char *l147 l136, l123 char *l147 l165, ...) l183(""
"__isoc99_sscanf") l125((l126, l127));
extern int l184(l81 *l147 l136,
l123 char *l147 l165, l3 l169) l125((l174(l185, 2, 0)));
extern int l186(l123 char *
l147 l165,
l3 l169) l125((l174(l185, 1, 0)));
extern int l187(l123 char *l147 l136,
l123 char *l147 l165, l3 l169) l125((l126, l127)) l125((l174(l185, 2, 0)));
extern int
l184(l81 *l147 l136, l123 char *l147 l165, l3 l169) l183(""
"__isoc99_vfscanf") l125((l174(l185, 2, 0)));
extern int l186(l123 char *l147 l165, l3 l169) l183(""
"__isoc99_vscanf") l125((l174(l185, 1, 0)));
extern int l187(l123 char *l147 l136,
l123 char *l147 l165, l3 l169) l183(""
"__isoc99_vsscanf") l125((l126, l127)) l125((l174(l185, 2, 0)));
extern int l188(l81 *l143);
extern int l189(l81 *l143);
extern int l190(void);
extern int l191(l81 *l143);
extern int l192(void);
extern int l193(l81 *l143);
extern int l194(int l195, l81 *l143);
extern int l196(int l195, l81 *
l143);
extern int l197(int l195);
extern int l198(int l195, l81 *l143);
extern int
l199(int l195, l81 *l143);
extern int l200(int l195);
extern int l201(l81 *l143);
extern int l202(int l203, l81 *l143);
extern char *l204(char *l147 l136, int l160,
l81 *l147 l143);
extern l60 l205(char **l147 l206, l1 *l147 l160, int l207, l81 *l147 l143);
extern l60 l208(char **l147 l206, l1 *l147 l160, int l207, l81 *l147 l143);
extern l60 l209(char **l147 l206, l1 *l147 l160, l81 *l147 l143);
extern int l210(
l123 char *l147 l136, l81 *l147 l143);
extern int l211(l123 char *l136);
extern int
l212(int l195, l81 *l143);
extern l1 l213(void *l147 l214, l1 l162, l1 l160, l81 *l147 l143);
extern l1 l215(l123 void *l147 l214, l1 l162, l1 l160, l81 *l147 l136);
extern l1 l216(void *l147 l214, l1 l162, l1 l160, l81 *l147 l143);
extern l1 l217(
l123 void *l147 l214, l1 l162, l1 l160, l81 *l147 l143);
extern int l218(l81 *l143,
long int l219, int l220);
extern long int l221(l81 *l143);
extern void l222(l81 *
l143);
extern int l223(l81 *l143, l36 l219, int l220);
extern l36 l224(l81 *l143);
extern int l225(l81 *l147 l143, l118 *l147 l74);
extern int l226(l81 *l143, l123
l118 *l74);
extern void l227(l81 *l143) l125((l126, l127));
extern int l228(l81 *
l143) l125((l126, l127));
extern int l229(l81 *l143) l125((l126, l127));
extern void
l230(l81 *l143) l125((l126, l127));
extern int l231(l81 *l143) l125((l126, l127));
extern int l232(l81 *l143) l125((l126, l127));
extern void l233(l123 char *l136);
extern int l234;
extern l123 char *l123 l235[];
extern int l236(l81 *l143) l125((
l126, l127));
extern int l237(l81 *l143) l125((l126, l127));
extern l81 *l238(l123 char *l239, l123 char *l148);
extern int l240(l81 *l143);
extern char *l241(char *
l136) l125((l126, l127));
extern void l242(l81 *l143) l125((l126, l127));
extern int
l243(l81 *l143) l125((l126, l127));
extern void l244(l81 *l143) l125((l126, l127));
extern int l245(l81 *);
extern int l246(l81 *, int);
typedef char *l247;
typedef int
l248;
typedef char l249;
typedef char *l250;
extern l250 l251();
extern long l252();
typedef union
{
long l253;
double l254;
} l255;
extern char *l256();
l250 l251(l257) int l257;
{
l255 *l258;
if ((l258 = (l255 *)l256((unsigned)(l257 + sizeof(l255)))) <=
0)
{
l164(l121, "\nNo Space in heap! %d bytes requested.\n", l257);
l259(-1);
}
l258
->l253 = (long)l257;
return (l250)(l258 + 1);
}
long l252(l260) l250 l260;
{
return ((
l255 *)l260 -
1)
->l253;
}
l261(l260) l250 l260;
{
if (l260)
l262((char *)((l255 *)l260 - 1));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment