search for: session_dump

Displaying 8 results from an estimated 8 matches for "session_dump".

2001 Sep 28
1
openssh-2.9.9p2 assumes pid_t, uid_t, etc. are not 'long'
...<eggert at twinsun.com> * authfile.c (key_perm_ok): Work even if system integer types are 'long', not 'int'. * entropy.c (prng_check_seedfile, prng_write_seedfile, prng_read_seedfile): Likewise. * serverloop.c (server_loop, server_loop2): Likewise. * session.c (session_dump, session_by_pid, session_exit_message, session_close_by_pid, session_have_children, session_close_by_channel): Likewise. * ssh-agent.c, sshd.c (main): Likewise. * sshpty.c (pty_setowner): Likewise. * uidswap.c: (temporarily_use_uid): Likewise. ===============================...
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It works fine when run as WEBrick ("ruby script/server"). As suggested in http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php , I tried running dispatch.fcgi on the command line. When I run it, no matter where I run it, it outputs: 500 Internal Server Error Both the #! (shebang)
2006 Jul 12
0
Strange error
...wrong number of arguments (1 for 0) Extracted source (around line #40): 37: <p><b>Parameters</b>: <%=h request_dump == "{}" ? "None" : request_dump %></p> 38: 39: <p><a href="#" onclick="document.getElementById(''session_dump'').style.display=''block''; return false;">Show session dump</a></p> 40: <div id="session_dump" style="display:none"><%= debug(@request.session.instance_variable_get("@data")) %></div> 41: 42: 43: <h2 s...
2001 Oct 25
2
SIGCHLD race *trivial* patch
...or(i = 0; i < MAX_SESSIONS; i++) { sessions[i].used = 0; sessions[i].self = i; } - did_init = 1; + did_init_sessions = 1; } for(i = 0; i < MAX_SESSIONS; i++) { Session *s = &sessions[i]; @@ -1622,6 +1622,27 @@ error("session_by_pid: unknown pid %d", pid); session_dump(); return NULL; +} + +int +session_still_used() +{ + int i; + if (!did_init_sessions) { + debug("session_new: init"); + for(i = 0; i < MAX_SESSIONS; i++) { + sessions[i].used = 0; + sessions[i].self = i; + } + did_init_sessions = 1; + } + debug("session_still_used")...
2007 Jan 29
6
RJS problem
Hi, I''m implementing a "digg-like" page, that once you digg. The score for each item will dynamically reflect your current action +1 . I am not sure what''s In the controller I have an action responsible for increase of the score.It has a corresponding rjs in view. -------------------------------------------------------------------------------- def arouse
2001 Apr 04
1
compiler warnings about format strings
...by_pid: pid %ld", (long)pid); for(i = 0; i < MAX_SESSIONS; i++) { Session *s = &sessions[i]; if (s->used && s->pid == pid) return s; } - error("session_by_pid: unknown pid %d", pid); + error("session_by_pid: unknown pid %ld", (long)pid); session_dump(); return NULL; } @@ -1905,8 +1905,8 @@ if (c == NULL) fatal("session_close: session %d: no channel %d", s->self, s->chanid); - debug("session_exit_message: session %d channel %d pid %d", - s->self, s->chanid, s->pid); + debug("session_exit...
2009 Jun 22
1
getting error can't modify frozen hash
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error ''can''t modify frozen hash'' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? Thanks,
2001 Jul 11
0
Solaris 2.6: Undefined symbol seed_rng
...PATH_SSH_PROGRAM=\"/home/eedalf/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/home/eedalf/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/home/eedalf/libexec/sftp-server\" -D_PATH_SSH_PIDDIR=\"/home/eedalf/etc\" -DHAVE_CONFIG_H -c session.c session.c: In function `session_dump': session.c:1568: warning: int format, pid_t arg (arg 6) session.c: In function `session_by_pid': session.c:1609: warning: int format, pid_t arg (arg 2) session.c:1615: warning: int format, pid_t arg (arg 2) session.c: In function `session_exit_message': session.c:1896: warning: int for...