Select Git revision
Forked from
Nettle / nettle
Source project has a limited visibility.
-
Niels Möller authored
the S array swap was forgotten. * arcfour.c (arcfour_stream): Likewise. * arcfour-crypt.c (arcfour_crypt): Likewise. Rev: src/nettle/ChangeLog:1.233 Rev: src/nettle/arcfour-crypt.c:1.2 Rev: src/nettle/arcfour.c:1.6 Rev: src/nettle/x86/arcfour-crypt.asm:1.5
Niels Möller authoredthe S array swap was forgotten. * arcfour.c (arcfour_stream): Likewise. * arcfour-crypt.c (arcfour_crypt): Likewise. Rev: src/nettle/ChangeLog:1.233 Rev: src/nettle/arcfour-crypt.c:1.2 Rev: src/nettle/arcfour.c:1.6 Rev: src/nettle/x86/arcfour-crypt.asm:1.5
master.pike 14.23 KiB
/* $Id: master.pike,v 1.44 1997/05/31 22:03:42 grubba Exp $
*
* Master-file for Pike.
*/
#define UNDEFINED (([])[0])
#define error(X) throw( ({ (X), backtrace()[0..sizeof(backtrace())-2] }) )
string describe_backtrace(mixed *trace);
object low_cast_to_object(string oname, string current_file);
string pike_library_path;
string *pike_include_path=({});
string *pike_module_path=({});
string *pike_program_path=({});
mapping (string:string) environment=([]);
varargs mixed getenv(string s)
{
if(!s) return environment;
return environment[s];
}
void putenv(string var, string val)
{
environment[var]=val;
}
void add_include_path(string tmp)
{
tmp=combine_path(getcwd(),tmp);
pike_include_path-=({tmp});
pike_include_path=({tmp})+pike_include_path;
}
void remove_include_path(string tmp)
{
tmp=combine_path(getcwd(),tmp);
pike_include_path-=({tmp});
}
void add_module_path(string tmp)
{
tmp=combine_path(getcwd(),tmp);
pike_module_path-=({tmp});
pike_module_path=({tmp})+pike_module_path;
}
void remove_module_path(string tmp)
{
tmp=combine_path(getcwd(),tmp);
pike_module_path-=({tmp});
}
void add_program_path(string tmp)
{
tmp=combine_path(getcwd(),tmp);
pike_program_path-=({tmp});
pike_program_path=({tmp})+pike_module_path;
}
void remove_program_path(string tmp)
{
tmp=combine_path(getcwd(),tmp);
pike_program_path-=({tmp});