523
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
523
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
523
|
20 |
|
21 */ |
|
22 |
|
23 #ifdef HAVE_CONFIG_H |
1192
|
24 #include <config.h> |
523
|
25 #endif |
|
26 |
1341
|
27 #include <cerrno> |
|
28 #include <cstdio> |
|
29 #include <cstddef> |
|
30 #include <cstdlib> |
|
31 #include <cstring> |
|
32 |
1728
|
33 #include <string> |
|
34 |
1832
|
35 #ifdef HAVE_UNISTD_H |
2442
|
36 #ifdef HAVE_SYS_TYPES_H |
1832
|
37 #include <sys/types.h> |
2442
|
38 #endif |
1832
|
39 #include <unistd.h> |
|
40 #endif |
|
41 |
2926
|
42 #include "file-ops.h" |
|
43 #include "file-stat.h" |
|
44 #include "glob-match.h" |
4051
|
45 #include "lo-sstream.h" |
2926
|
46 #include "oct-env.h" |
1755
|
47 #include "str-vec.h" |
|
48 |
5102
|
49 #include "Cell.h" |
1355
|
50 #include "defun.h" |
1781
|
51 #include "dir-ops.h" |
1355
|
52 #include "dirfns.h" |
|
53 #include "error.h" |
1402
|
54 #include "gripes.h" |
1750
|
55 #include "oct-obj.h" |
1355
|
56 #include "pager.h" |
|
57 #include "procstream.h" |
|
58 #include "sysdep.h" |
1750
|
59 #include "toplev.h" |
1449
|
60 #include "unwind-prot.h" |
523
|
61 #include "utils.h" |
1742
|
62 #include "variables.h" |
523
|
63 |
2926
|
64 // XXX FIXME XXX -- changing the plotter directory should be handled |
|
65 // by registering a function for octave_env::chdir to call so that |
|
66 // this function can be eliminated. |
523
|
67 |
1328
|
68 static int |
3523
|
69 octave_change_to_directory (const std::string& newdir) |
1328
|
70 { |
2926
|
71 int cd_ok = octave_env::chdir (newdir); |
1328
|
72 |
|
73 if (cd_ok) |
5102
|
74 // XXX FIXME XXX -- this should be handled as a list of functions |
|
75 // to call so users can add their own chdir handlers. |
|
76 /* do_external_plotter_cd (newdir) */; |
1328
|
77 else |
3531
|
78 { |
|
79 using namespace std; |
|
80 |
|
81 error ("%s: %s", newdir.c_str (), strerror (errno)); |
|
82 } |
1328
|
83 |
|
84 return cd_ok; |
|
85 } |
|
86 |
4208
|
87 DEFCMD (cd, args, , |
3301
|
88 "-*- texinfo -*-\n\ |
|
89 @deffn {Command} cd dir\n\ |
|
90 @deffnx {Command} chdir dir\n\ |
|
91 Change the current working directory to @var{dir}. If @var{dir} is\n\ |
|
92 omitted, the current directory is changed to the users home\n\ |
|
93 directory. For example,\n\ |
523
|
94 \n\ |
3301
|
95 @example\n\ |
|
96 cd ~/octave\n\ |
|
97 @end example\n\ |
|
98 \n\ |
|
99 @noindent\n\ |
|
100 Changes the current working directory to @file{~/octave}. If the\n\ |
|
101 directory does not exist, an error message is printed and the working\n\ |
|
102 directory is not changed.\n\ |
|
103 @end deffn") |
523
|
104 { |
2086
|
105 octave_value_list retval; |
523
|
106 |
1755
|
107 int argc = args.length () + 1; |
|
108 |
1965
|
109 string_vector argv = args.make_argv ("cd"); |
1755
|
110 |
|
111 if (error_state) |
|
112 return retval; |
523
|
113 |
|
114 if (argc > 1) |
|
115 { |
3523
|
116 std::string dirname = file_ops::tilde_expand (argv[1]); |
523
|
117 |
1750
|
118 if (dirname.length () > 0 |
1755
|
119 && ! octave_change_to_directory (dirname)) |
523
|
120 { |
|
121 return retval; |
|
122 } |
|
123 } |
|
124 else |
|
125 { |
3523
|
126 std::string home_dir = octave_env::get_home_directory (); |
2926
|
127 |
|
128 if (home_dir.empty () || ! octave_change_to_directory (home_dir)) |
|
129 return retval; |
523
|
130 } |
|
131 |
|
132 return retval; |
|
133 } |
|
134 |
611
|
135 DEFALIAS (chdir, cd); |
|
136 |
661
|
137 // Get a directory listing. |
|
138 |
1965
|
139 static void |
|
140 cleanup_iprocstream (void *p) |
|
141 { |
2800
|
142 delete static_cast <iprocstream *> (p); |
1965
|
143 } |
|
144 |
4691
|
145 DEFCMD (ls, args, nargout, |
3301
|
146 "-*- texinfo -*-\n\ |
|
147 @deffn {Command} ls options\n\ |
|
148 List directory contents. For example,\n\ |
523
|
149 \n\ |
3301
|
150 @example\n\ |
|
151 ls -l\n\ |
|
152 @print{} total 12\n\ |
|
153 @print{} -rw-r--r-- 1 jwe users 4488 Aug 19 04:02 foo.m\n\ |
|
154 @print{} -rw-r--r-- 1 jwe users 1315 Aug 17 23:14 bar.m\n\ |
|
155 @end example\n\ |
|
156 \n\ |
|
157 The @code{dir} and @code{ls} commands are implemented by calling your\n\ |
|
158 system's directory listing command, so the available options may vary\n\ |
|
159 from system to system.\n\ |
|
160 @end deffn") |
523
|
161 { |
4691
|
162 octave_value retval; |
523
|
163 |
1755
|
164 int argc = args.length () + 1; |
|
165 |
1965
|
166 string_vector argv = args.make_argv ("ls"); |
1755
|
167 |
|
168 if (error_state) |
|
169 return retval; |
523
|
170 |
4051
|
171 OSSTREAM ls_buf; |
523
|
172 |
|
173 ls_buf << "ls -C "; |
|
174 for (int i = 1; i < argc; i++) |
2926
|
175 ls_buf << file_ops::tilde_expand (argv[i]) << " "; |
523
|
176 |
4051
|
177 ls_buf << OSSTREAM_ENDS; |
523
|
178 |
4051
|
179 iprocstream *cmd = new iprocstream (OSSTREAM_STR (ls_buf)); |
523
|
180 |
4051
|
181 OSSTREAM_FREEZE (ls_buf); |
1469
|
182 |
2985
|
183 unwind_protect::add (cleanup_iprocstream, cmd); |
523
|
184 |
1449
|
185 if (cmd && *cmd) |
|
186 { |
3147
|
187 char ch; |
|
188 |
4691
|
189 OSSTREAM output_buf; |
|
190 |
4489
|
191 for (;;) |
|
192 { |
|
193 if (cmd->get (ch)) |
4691
|
194 { |
|
195 octave_stdout << ch; |
|
196 output_buf << ch; |
|
197 } |
4489
|
198 else |
5144
|
199 break; |
4489
|
200 } |
4691
|
201 |
|
202 output_buf << OSSTREAM_ENDS; |
|
203 |
|
204 if (nargout > 0) |
|
205 retval = OSSTREAM_STR (output_buf); |
|
206 |
|
207 OSSTREAM_FREEZE (output_buf); |
1449
|
208 } |
|
209 else |
|
210 error ("couldn't start process for ls!"); |
523
|
211 |
2985
|
212 unwind_protect::run (); |
523
|
213 |
|
214 return retval; |
|
215 } |
|
216 |
1957
|
217 DEFUN (pwd, , nargout, |
3301
|
218 "-*- texinfo -*-\n\ |
|
219 @deftypefn {Built-in Function} {} pwd ()\n\ |
|
220 Return the current working directory.\n\ |
|
221 @end deftypefn") |
523
|
222 { |
4233
|
223 octave_value retval; |
523
|
224 |
3523
|
225 std::string directory = octave_env::getcwd (); |
523
|
226 |
2926
|
227 if (directory.empty ()) |
|
228 warning ("pwd: can't find working directory!"); |
523
|
229 else |
|
230 { |
1592
|
231 if (nargout == 0) |
2095
|
232 octave_stdout << directory << "\n"; |
1592
|
233 else |
|
234 retval = directory; |
523
|
235 } |
1592
|
236 |
523
|
237 return retval; |
|
238 } |
|
239 |
1957
|
240 DEFUN (readdir, args, , |
3301
|
241 "-*- texinfo -*-\n\ |
|
242 @deftypefn {Built-in Function} {[@var{files}, @var{err}, @var{msg}] =} readdir (@var{dir})\n\ |
4691
|
243 Return names of the files in the directory @var{dir} as a cell array of\n\ |
|
244 strings. If an error occurs, return an empty cell array in @var{files}.\n\ |
1389
|
245 \n\ |
3301
|
246 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
247 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
248 system-dependent error message.\n\ |
|
249 @end deftypefn") |
1389
|
250 { |
2086
|
251 octave_value_list retval; |
1389
|
252 |
3523
|
253 retval(2) = std::string (); |
2669
|
254 retval(1) = -1.0; |
4691
|
255 retval(0) = Cell (); |
2669
|
256 |
1401
|
257 if (args.length () == 1) |
1389
|
258 { |
3523
|
259 std::string dirname = args(0).string_value (); |
1389
|
260 |
1401
|
261 if (error_state) |
1781
|
262 gripe_wrong_type_arg ("readdir", args(0)); |
1401
|
263 else |
|
264 { |
2926
|
265 dir_entry dir (file_ops::tilde_expand (dirname)); |
1389
|
266 |
1401
|
267 if (dir) |
1389
|
268 { |
1781
|
269 string_vector dirlist = dir.read (); |
4691
|
270 retval(0) = Cell (dirlist.qsort ()); |
2669
|
271 retval(1) = 0.0; |
1401
|
272 } |
|
273 else |
|
274 { |
2669
|
275 retval(2) = dir.error (); |
1401
|
276 } |
1389
|
277 } |
|
278 } |
|
279 else |
|
280 print_usage ("readdir"); |
|
281 |
1401
|
282 return retval; |
|
283 } |
|
284 |
|
285 // XXX FIXME XXX -- should probably also allow second arg to specify |
|
286 // mode. |
|
287 |
1957
|
288 DEFUN (mkdir, args, , |
3301
|
289 "-*- texinfo -*-\n\ |
4928
|
290 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} mkdir (@var{dir})\n\ |
3301
|
291 Create a directory named @var{dir}.\n\ |
1401
|
292 \n\ |
3301
|
293 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
294 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
295 system-dependent error message.\n\ |
|
296 @end deftypefn") |
1401
|
297 { |
2086
|
298 octave_value_list retval; |
1401
|
299 |
3523
|
300 retval(1) = std::string (); |
2669
|
301 retval(0) = -1.0; |
1401
|
302 |
|
303 if (args.length () == 1) |
|
304 { |
3523
|
305 std::string dirname = args(0).string_value (); |
1401
|
306 |
|
307 if (error_state) |
1402
|
308 gripe_wrong_type_arg ("mkdir", args(0)); |
1489
|
309 else |
1401
|
310 { |
3523
|
311 std::string msg; |
2669
|
312 |
2926
|
313 int status = file_ops::mkdir (file_ops::tilde_expand (dirname), |
|
314 0777, msg); |
1489
|
315 |
4233
|
316 retval(0) = status; |
2669
|
317 |
|
318 if (status < 0) |
|
319 retval(1) = msg; |
1401
|
320 } |
|
321 } |
|
322 else |
|
323 print_usage ("mkdir"); |
|
324 |
|
325 return retval; |
|
326 } |
|
327 |
1957
|
328 DEFUN (rmdir, args, , |
3301
|
329 "-*- texinfo -*-\n\ |
|
330 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} rmdir (@var{dir})\n\ |
|
331 Remove the directory named @var{dir}.\n\ |
1401
|
332 \n\ |
3301
|
333 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
334 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
335 system-dependent error message.\n\ |
|
336 @end deftypefn") |
1401
|
337 { |
2086
|
338 octave_value_list retval; |
1401
|
339 |
3523
|
340 retval(1) = std::string (); |
2669
|
341 retval(0) = -1.0; |
1401
|
342 |
|
343 if (args.length () == 1) |
|
344 { |
3523
|
345 std::string dirname = args(0).string_value (); |
1401
|
346 |
|
347 if (error_state) |
1402
|
348 gripe_wrong_type_arg ("rmdir", args(0)); |
1489
|
349 else |
1401
|
350 { |
3523
|
351 std::string msg; |
2669
|
352 |
2926
|
353 int status = file_ops::rmdir (file_ops::tilde_expand (dirname), msg); |
1489
|
354 |
4233
|
355 retval(0) = status; |
2669
|
356 |
|
357 if (status < 0) |
|
358 retval(1) = msg; |
1401
|
359 } |
|
360 } |
1389
|
361 else |
1401
|
362 print_usage ("rmdir"); |
|
363 |
|
364 return retval; |
|
365 } |
|
366 |
3710
|
367 DEFUN (link, args, , |
|
368 "-*- texinfo -*-\n\ |
|
369 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} link (@var{old}, @var{new})\n\ |
|
370 Create a new link (also known as a hard link) to an existing file.\n\ |
|
371 \n\ |
|
372 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
373 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
374 system-dependent error message.\n\ |
|
375 @end deftypefn") |
|
376 { |
|
377 octave_value_list retval; |
|
378 |
|
379 retval(1) = std::string (); |
|
380 retval(0) = -1.0; |
|
381 |
|
382 if (args.length () == 2) |
|
383 { |
|
384 std::string from = args(0).string_value (); |
|
385 |
|
386 if (error_state) |
|
387 gripe_wrong_type_arg ("link", args(0)); |
|
388 else |
|
389 { |
|
390 std::string to = args(1).string_value (); |
|
391 |
|
392 if (error_state) |
|
393 gripe_wrong_type_arg ("link", args(1)); |
|
394 else |
|
395 { |
|
396 std::string msg; |
|
397 |
|
398 int status = file_ops::link (from, to, msg); |
|
399 |
4233
|
400 retval(0) = status; |
3710
|
401 |
|
402 if (status < 0) |
|
403 retval(1) = msg; |
|
404 } |
|
405 } |
|
406 } |
|
407 else |
|
408 print_usage ("link"); |
|
409 |
|
410 return retval; |
|
411 } |
|
412 |
|
413 DEFUN (symlink, args, , |
|
414 "-*- texinfo -*-\n\ |
|
415 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} symlink (@var{old}, @var{new})\n\ |
|
416 Create a symbolic link @var{new} which contains the string @var{old}.\n\ |
|
417 \n\ |
|
418 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
419 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
420 system-dependent error message.\n\ |
|
421 @end deftypefn") |
|
422 { |
|
423 octave_value_list retval; |
|
424 |
|
425 retval(1) = std::string (); |
|
426 retval(0) = -1.0; |
|
427 |
|
428 if (args.length () == 2) |
|
429 { |
|
430 std::string from = args(0).string_value (); |
|
431 |
|
432 if (error_state) |
|
433 gripe_wrong_type_arg ("symlink", args(0)); |
|
434 else |
|
435 { |
|
436 std::string to = args(1).string_value (); |
|
437 |
|
438 if (error_state) |
|
439 gripe_wrong_type_arg ("symlink", args(1)); |
|
440 else |
|
441 { |
|
442 std::string msg; |
|
443 |
|
444 int status = file_ops::symlink (from, to, msg); |
|
445 |
4233
|
446 retval(0) = status; |
3710
|
447 |
|
448 if (status < 0) |
|
449 retval(1) = msg; |
|
450 } |
|
451 } |
|
452 } |
|
453 else |
|
454 print_usage ("symlink"); |
|
455 |
|
456 return retval; |
|
457 } |
|
458 |
|
459 DEFUN (readlink, args, , |
|
460 "-*- texinfo -*-\n\ |
4169
|
461 @deftypefn {Built-in Function} {[@var{result}, @var{err}, @var{msg}] =} readlink (@var{symlink})\n\ |
3710
|
462 Read the value of the symbolic link @var{symlink}.\n\ |
|
463 \n\ |
|
464 If successful, @var{result} contains the contents of the symbolic link\n\ |
|
465 @var{symlink}, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
466 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
467 system-dependent error message.\n\ |
|
468 @end deftypefn") |
|
469 { |
|
470 octave_value_list retval; |
|
471 |
|
472 retval(2) = std::string (); |
|
473 retval(1) = -1.0; |
|
474 retval(0) = std::string (); |
|
475 |
|
476 if (args.length () == 1) |
|
477 { |
|
478 std::string symlink = args(0).string_value (); |
|
479 |
|
480 if (error_state) |
|
481 gripe_wrong_type_arg ("readlink", args(0)); |
|
482 else |
|
483 { |
|
484 std::string result; |
|
485 std::string msg; |
|
486 |
|
487 int status = file_ops::readlink (symlink, result, msg); |
|
488 |
|
489 retval(0) = result; |
|
490 |
4233
|
491 retval(1) = status; |
3710
|
492 |
|
493 if (status < 0) |
|
494 retval(2) = msg; |
|
495 } |
|
496 } |
|
497 else |
|
498 print_usage ("readlink"); |
|
499 |
|
500 return retval; |
|
501 } |
|
502 |
1957
|
503 DEFUN (rename, args, , |
3301
|
504 "-*- texinfo -*-\n\ |
|
505 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} rename (@var{old}, @var{new})\n\ |
|
506 Change the name of file @var{old} to @var{new}.\n\ |
1401
|
507 \n\ |
3301
|
508 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ |
|
509 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ |
|
510 system-dependent error message.\n\ |
|
511 @end deftypefn") |
1401
|
512 { |
2086
|
513 octave_value_list retval; |
1401
|
514 |
3523
|
515 retval(1) = std::string (); |
2669
|
516 retval(0) = -1.0; |
1401
|
517 |
|
518 if (args.length () == 2) |
|
519 { |
3523
|
520 std::string from = args(0).string_value (); |
1728
|
521 |
1401
|
522 if (error_state) |
1402
|
523 gripe_wrong_type_arg ("rename", args(0)); |
|
524 else |
1401
|
525 { |
3523
|
526 std::string to = args(1).string_value (); |
1728
|
527 |
1402
|
528 if (error_state) |
|
529 gripe_wrong_type_arg ("rename", args(1)); |
2669
|
530 else |
1402
|
531 { |
3523
|
532 std::string msg; |
2669
|
533 |
2926
|
534 int status = file_ops::rename (from, to, msg); |
2669
|
535 |
4233
|
536 retval(0) = status; |
2669
|
537 |
|
538 if (status < 0) |
|
539 retval(1) = msg; |
1402
|
540 } |
1401
|
541 } |
|
542 } |
|
543 else |
|
544 print_usage ("rename"); |
|
545 |
1389
|
546 return retval; |
|
547 } |
|
548 |
2495
|
549 DEFUN (glob, args, , |
3301
|
550 "-*- texinfo -*-\n\ |
|
551 @deftypefn {Built-in Function} {} glob (@var{pattern})\n\ |
4691
|
552 Given an array of strings in @var{pattern}, return a cell array of file\n\ |
|
553 names that match any of them, or an empty cell array if no patterns match.\n\ |
3690
|
554 Tilde expansion is performed on each of the patterns before looking for\n\ |
3301
|
555 matching file names. For example,\n\ |
2495
|
556 \n\ |
3301
|
557 @example\n\ |
|
558 @group\n\ |
|
559 glob (\"/vm*\")\n\ |
|
560 @result{} \"/vmlinuz\"\n\ |
|
561 @end group\n\ |
|
562 @end example\n\ |
|
563 @end deftypefn") |
2495
|
564 { |
|
565 octave_value retval; |
|
566 |
|
567 if (args.length () == 1) |
|
568 { |
|
569 string_vector pat = args(0).all_strings (); |
|
570 |
|
571 if (error_state) |
|
572 gripe_wrong_type_arg ("glob", args(0)); |
|
573 else |
|
574 { |
2926
|
575 glob_match pattern (file_ops::tilde_expand (pat)); |
2495
|
576 |
4691
|
577 retval = Cell (pattern.glob ()); |
2495
|
578 } |
|
579 } |
|
580 else |
|
581 print_usage ("glob"); |
|
582 |
|
583 return retval; |
|
584 } |
|
585 |
2496
|
586 DEFUN (fnmatch, args, , |
3301
|
587 "-*- texinfo -*-\n\ |
|
588 @deftypefn {Built-in Function} {} fnmatch (@var{pattern}, @var{string})\n\ |
|
589 Return 1 or zero for each element of @var{string} that matches any of\n\ |
|
590 the elements of the string array @var{pattern}, using the rules of\n\ |
|
591 filename pattern matching. For example,\n\ |
2496
|
592 \n\ |
3301
|
593 @example\n\ |
|
594 @group\n\ |
|
595 fnmatch (\"a*b\", [\"ab\"; \"axyzb\"; \"xyzab\"])\n\ |
|
596 @result{} [ 1; 1; 0 ]\n\ |
|
597 @end group\n\ |
|
598 @end example\n\ |
|
599 @end deftypefn") |
2496
|
600 { |
|
601 octave_value retval; |
|
602 |
|
603 if (args.length () == 2) |
|
604 { |
|
605 string_vector pat = args(0).all_strings (); |
|
606 string_vector str = args(1).all_strings (); |
|
607 |
|
608 if (error_state) |
|
609 gripe_wrong_type_arg ("fnmatch", args(0)); |
|
610 else |
|
611 { |
2926
|
612 glob_match pattern (file_ops::tilde_expand (pat)); |
2496
|
613 |
|
614 Array<bool> tmp = pattern.match (str); |
|
615 |
|
616 int n = tmp.length (); |
|
617 |
|
618 ColumnVector result (n); |
|
619 |
|
620 for (int i = 0; i < n; i++) |
|
621 result(i) = tmp(i); |
|
622 |
3418
|
623 retval = result; |
2496
|
624 } |
|
625 } |
|
626 else |
|
627 print_usage ("fnmatch"); |
|
628 |
|
629 return retval; |
|
630 } |
|
631 |
4264
|
632 void |
|
633 symbols_of_dirfns (void) |
|
634 { |
|
635 DEFCONST (filesep, file_ops::dir_sep_str, |
|
636 "-*- texinfo -*-\n\ |
|
637 @defvr {Built-in Variable} filesep\n\ |
|
638 The character used to separate directory names. The value\n\ |
|
639 of this variable is system dependent.\n\ |
|
640 @end defvr"); |
|
641 |
|
642 } |
|
643 |
523
|
644 /* |
|
645 ;;; Local Variables: *** |
|
646 ;;; mode: C++ *** |
|
647 ;;; End: *** |
|
648 */ |