Branch: Tag:

2006-05-11

2006-05-11 13:30:40 by Martin Stjernholm <mast@lysator.liu.se>

Include the working directory in the report.

Rev: server/config_interface/actions/debug_summary.pike:1.12

1:   /* -  * $Id: debug_summary.pike,v 1.11 2004/05/25 16:33:12 anders Exp $ +  * $Id: debug_summary.pike,v 1.12 2006/05/11 13:30:40 mast Exp $    */   #include <stat.h>   #include <roxen.h>
70:    string res = make_headline("Environment");    res+=sprintf(" %-30s %s\n", "Roxen version:", roxen_version());    res+=sprintf(" %-30s %s\n", "Pike version:", version()); +  res+=sprintf(" %-30s %s\n", "Working directory:", getcwd());    res+=sprintf(" %-30s %s", "Time:", ctime(time()));    res+=sprintf(" %-30s %s\n", "Host:", gethostname());   #ifdef __NT__