MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/task/3/cwd/usr/lib/python2.4/Tools/scripts/fixcid.pyo
mò
‚=5Dc@sÍdkZdkZdkZdkTdkZeiiZeZei	iZ
d„Zd„ZdZ
d„Zd„Zd„ZdZd	Zd
ZdZdZd
ZdZdZededeZdZdedZdeZedeZedeZeeeeefZddi eƒdZ!ei"e!ƒZ#eeefZ$ddi e$ƒdZ%ei"e%ƒZ&d„Z'd„Z(da)d„Z*da+d„Z,hZ-hZ.d„Z/e0djoeƒndS(N(t*cCs‡tid}td|dƒtdƒtdƒtdƒtdƒtdƒtdƒtd	ƒtd
ƒtdƒtdƒdS(
NisUsage: s/ [-c] [-r] [-s file] ... file-or-directory ...
s
s*-c           : substitute inside comments
s:-r           : reverse direction for following -s options
s+-s substfile : add a file of substitutions
s<Each non-empty non-comment line in a substitution file must
s>contain exactly two words: an identifier and its replacement.
s:Comments start with a # character and end at end of line.
s=If an identifier is preceded with a *, it is not substituted
s,inside a comment even when -c is specified.
(tsystargvtprognameterr(R((t*/usr/lib/python2.4/Tools/scripts/fixcid.pytusage/s









cCsƒy#titiddƒ\}}WnDtij
o5}tdt|ƒdƒt	ƒti
dƒnXd}|pt	ƒti
dƒnx_|D]W\}}|djotƒn|djotƒn|d	jot|ƒq–q–Wx~|D]v}tii|ƒot|ƒo
d}qnqøtii|ƒot|d
ƒd}qøt|ƒo
d}qøqøWti
|ƒdS(Niscrs:sOptions error: s
iis-cs-rs-ss": will not process symbolic links
(tgetoptRRtoptstargsterrortmsgRtstrRtexittbadtopttargt
setdocommentst
setreversetaddsubsttostpathtisdirtrecursedowntislinktfix(RR	RRRR((Rtmain>s:#





s^[a-zA-Z0-9_]+\.[ch]$cCstit|ƒdjS(Ni(tregextmatchtWantedtname(R((Rtwanted\scCsJtd|fƒd}yti|ƒ}Wn8tij
o)}t|dt	|ƒdƒdSnX|i
ƒg}x¦|D]ž}|ti
tifjoq|ntii||ƒ}tii|ƒoq|tii|ƒo|i|ƒq|t|ƒot|ƒo
d}qq|q|Wx%|D]}t|ƒo
d}q%q%W|S(Nsrecursedown(%r)
is: cannot list directory: s
i(tdbgtdirnameRRtlistdirtnamesR
RRRtsorttsubdirsRtcurdirtpardirRtjointfullnameRRtappendRRR(R!RR%RR#RR)((RR_s4	



cCsO|djoti}
ti}	nƒyt|dƒ}
Wn5tj
o)}t	|dt
|ƒdƒdSnXtii
|ƒ\}}tii|d|ƒ}d}	d}tƒxh|
iƒ}|pPn|d}xB|dd	jo0|
iƒ}|pPn||}|d}qÚWt|ƒ}||joÅ|	djo„yt|d
ƒ}	Wn?tj
o3}|
iƒt	|dt
|ƒdƒdSnX|
idƒd}tƒt|dƒqµntt|ƒdƒtd
|ƒtd|ƒn|	dj	o|	i|ƒqµqµW|djodSn|
iƒ|	pdSny+ti|ƒ}ti!||t"d@ƒWn4ti#j
o%}t	|dt
|ƒdƒnXyti$||dƒWn4ti#j
o%}t	|dt
|ƒdƒnXyti$||ƒWn8ti#j
o)}t	|dt
|ƒdƒdSnXdS(Nt-trs: cannot open: s
it@iiþÿÿÿs\
tws: cannot create: s:
s< s> iÿs: warning: chmod failed (s)
t~s: warning: backup failed (s: rename failed ((%tfilenameRtstdintftstdouttgtopentIOErrorRRRRRtsplittheadttailR(ttempnametNonetlinenotinitfixlinetreadlinetlinetnextlinetfixlinetnewlinetclosetseektreptreprtwritetstattstatbuftchmodtST_MODER
trename(R0RIR9R<RR@R8RBR?R4R2R:((RRus‚
	
	




	



!!	s"\(struct \)?[a-zA-Z_][a-zA-Z0-9_]+s"\([^
\"]\|\\.\)*"s'\([^
\']\|\\.\)*'s/\*s\*/s0[xX][0-9a-fA-F]*[uUlL]*s0[0-7]*[uUlL]*s[1-9][0-9]*[uUlL]*s\|s[eE][-+]?[0-9]+s\([0-9]+\.[0-9]*\|\.[0-9]+\)\(s\)?s[0-9]+s\(s\)cCs
tadS(N(tOutsideCommentProgramtProgram(((RR=ÞscCsCd}x6|t|ƒjo"ti||ƒ}|djoPntidƒ}t|ƒdjo2|djo
taq”|djo
taq”nt|ƒ}t
i|ƒo€t
|}ttjo?t
pdG|GH||}q	nti|ƒo
|}qn|| ||||}t|ƒ}n||}q	W|S(Niis/*s*/sFound in comment:(titlenR?RNtsearchtgrouptfoundtInsideCommentProgramRMtntDictthas_keytsubstt
DocommentstNotInComment(R?RORURXRS((RRAâs6





	
icCs
dadS(Ni(RY(((RR	scCstadS(N(tReverse(((RRsc	Csyt|dƒ}Wn>tj
o2}t|dt|ƒdƒtidƒnXd}x¬|i
ƒ}|pPn|d}y|idƒ}Wntj
o
d}nX|| iƒ}|pq]nt|ƒdjo2|dd	jo!|dd
|dg|d*n6t|ƒdjo"t|d|||fƒq]nto|\}}n
|\}}|dd
jo|d}n|dd
jo|d}|t|<nti|ƒo9td||||fƒtd||t|fƒn|t|<q]W|iƒdS(NR,s: cannot read substfile: s
iit#iÿÿÿÿitstructt is%s:%r: warning: bad line: %rRs"%s:%r: warning: overriding: %r %r
s%s:%r: warning: previous: %r
(R5t	substfiletfpR6RRRRR
R<R>R?tindexROt
ValueErrorR7twordsRPR[tvaluetkeyRZRVRWRC(	R_R`RdRcReROR<RR?((RRsJ
$!
t__main__(1RRRRHRtstderrRGRR R3RERRRRRRt
IdentifiertStringtChartCommentStartt
CommentEndt	Hexnumbert	Octnumbert	Decnumbert	IntnumbertExponentt
PointfloattExpfloattFloatnumbertNumbertOutsideCommentR(tOutsideCommentPatterntcompileRMt
InsideCommenttInsideCommentPatternRTR=RARYRR[RRVRZRt__name__((RRqRtRMR RlRRzRpRVRRRiR=RERnRRRRRTRoRRwRvRZRyRhRARrRmRRRRuRjRsRkRR((Rt?%sX									O
		&			%