ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/CV.xs
(Generate patch)

Comparing CV/CV.xs (file contents):
Revision 1.41 by root, Sat Mar 1 04:11:26 2008 UTC vs.
Revision 1.42 by root, Sun Sep 14 12:47:59 2008 UTC

22#define RAND (seed = (seed + 7141) * 54773 % 134456) 22#define RAND (seed = (seed + 7141) * 54773 % 134456)
23 23
24#define LINELENGTH 240 24#define LINELENGTH 240
25 25
26#define ELLIPSIS "\xe2\x80\xa6" 26#define ELLIPSIS "\xe2\x80\xa6"
27
28typedef char *octet_string;
27 29
28struct jpg_err_mgr 30struct jpg_err_mgr
29{ 31{
30 struct jpeg_error_mgr err; 32 struct jpeg_error_mgr err;
31 jmp_buf setjmp_buffer; 33 jmp_buf setjmp_buffer;
202 204
203 OUTPUT: 205 OUTPUT:
204 RETVAL 206 RETVAL
205 207
206const char * 208const char *
207magic (const char *path) 209magic (octet_string path)
208 CODE: 210 CODE:
209{ 211{
210 static magic_t cookie; 212 static magic_t cookie;
211 213
212 if (!cookie) 214 if (!cookie)
223} 225}
224 OUTPUT: 226 OUTPUT:
225 RETVAL 227 RETVAL
226 228
227const char * 229const char *
228magic_mime (const char *path) 230magic_mime (octet_string path)
229 CODE: 231 CODE:
230{ 232{
231 static magic_t cookie; 233 static magic_t cookie;
232 234
233 if (!cookie) 235 if (!cookie)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines