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

Comparing rxvt-unicode/src/misc.C (file contents):
Revision 1.42 by ayin, Mon Aug 27 20:00:26 2007 UTC vs.
Revision 1.43 by ayin, Mon Aug 27 20:53:16 2007 UTC

230void 230void
231rxvt_exit_failure () THROW ((class rxvt_failure_exception)) 231rxvt_exit_failure () THROW ((class rxvt_failure_exception))
232{ 232{
233 static class rxvt_failure_exception rxvt_failure_exception; 233 static class rxvt_failure_exception rxvt_failure_exception;
234 throw (rxvt_failure_exception); 234 throw (rxvt_failure_exception);
235}
236
237/*
238 * check that the first characters of S1 match S2
239 *
240 * No Match
241 * return: 0
242 * Match
243 * return: strlen (S2)
244 */
245int
246rxvt_Str_match (const char *s1, const char *s2) NOTHROW
247{
248 int n = strlen (s2);
249
250 return ((strncmp (s1, s2, n) == 0) ? n : 0);
251} 235}
252 236
253/* 237/*
254 * remove leading/trailing space and strip-off leading/trailing quotes. 238 * remove leading/trailing space and strip-off leading/trailing quotes.
255 * in place. 239 * in place.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines