ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.335 by root, Mon Dec 24 06:51:37 2007 UTC vs.
Revision 1.336 by ayin, Wed Dec 26 13:52:11 2007 UTC

133 133
134// temporarily replace the process environment 134// temporarily replace the process environment
135extern char **environ; 135extern char **environ;
136extern char **rxvt_environ; // the original environ pointer 136extern char **rxvt_environ; // the original environ pointer
137 137
138static inline void
138static inline void set_environ (stringvec *envv) 139set_environ (stringvec *envv)
139{ 140{
140#if ENABLE_PERL 141#if ENABLE_PERL
141 assert (envv); 142 assert (envv);
142#else 143#else
143 if (envv) 144 if (envv)
144#endif 145#endif
145 environ = (char **)envv->begin (); 146 environ = (char **)envv->begin ();
146} 147}
147 148
148static inline void set_environ (char **envv) 149static inline void
150set_environ (char **envv)
149{ 151{
150#if ENABLE_PERL 152#if ENABLE_PERL
151 assert (envv); 153 assert (envv);
152#else 154#else
153 if (envv) 155 if (envv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines