pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2004-10-09
2004-10-09 11:50:49 by Per Hedbor <ph@opera.com>
a0d5670c9517057705d41e371a0b602406deebcd (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Presumably even easier to understand
Rev: lib/master.pike.in:1.363
6:
// Pike is distributed under GPL, LGPL and MPL. See the file COPYING // for more information. //
-
// $Id: master.pike.in,v 1.
362
2004/10/09 11:
47
:
02
per Exp $
+
// $Id: master.pike.in,v 1.
363
2004/10/09 11:
50
:
49
per Exp $
#pike __REAL_VERSION__ //#pragma strict_types
2669:
if (err) { if( !file_stat(argv[0]) )
-
exit(1, "Could not find file %O.\n", argv[0]);
+
exit(1, "Could not find file %O.
%s.
\n", argv[0]
, strerror(errno(
)
))
;
if( !file_stat(argv[0])->isreg ) exit(1, "File %O is not a regular file.\n", argv[0]); if( !master_read_file(argv[0]) )
-
exit(1, "File %O is not readable.\n", argv[0]);
+
exit(1, "File %O is not readable.
%s.
\n", argv[0]
, strerror(errno(
)
))
;
error( "Pike: Failed to compile script:\n" "%s\n", stringp(err[0])?err[0]:describe_backtrace(err) ); }