summaryrefslogtreecommitdiff
path: root/console-client/current-vcs.c
AgeCommit message (Collapse)Author
2014-03-16Fix vcs_readlink propagating error returned by console_current_idSamuel Thibault
* console-client/current-vcs.c (vcs_readlink): Return error returned by `console_current_id' as a negative value.
2014-03-16Fix crash on accessing vcs without a console being activeSamuel Thibault
* console-client/current-vcs.c (vcs_readlink): Return error as negative values. (vcs_read): Convert errors returned by vcs_readlink before returning them.
2013-11-09Normalize whitespace at the end of each file to '\n'Justus Winter
Some files were not normalized. In console/motd.UTF8 the additional newline is intentional. Empty files were excluded as well.
2009-10-25Fix current_vcs driver loadSamuel Thibault
* console-client/current-vcs.c (vcs_repeat_init): Rename function into... (current_vcs_init): ... this. (vcs_repeat_start): Rename function into... (current_vcs_start): ... this. (vcs_repeat_fini): Rename function into... (current_vcs_fini): ... this.
2005-07-13Fix last change.Marcus Brinkmann
2005-07-132005-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* current-vcs.c (repeater_node): Set default.
2005-07-112005-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* Makefile (modules): Add `current-vcs' and its rules. * console.c (console_current_id): New function. * input.h (console_current_id): New prototype. * trans.c (struct netnode): New member `symlink_path'. (console_demuxer): Handle case when node it anonymous. (netfs_S_io_select): Likewise. (netfs_S_io_read): Likewise. (netfs_S_io_write): Likewise. (netfs_report_access): Likewise. (netfs_attempt_mksymlink): Implement symlinks. (netfs_attempt_lookup): Likewise. (netfs_attempt_unlink): Likewise. (netfs_attempt_link): Likewise. (netfs_attempt_mkfile): Likewise. (netfs_attempt_readlink): Likewise. (netfs_get_dirents): Likewise. (netfs_create_consnode): Likewise. * trans.h (struct consnode): New members `readlink' and `mksymlink'. * current-vcs.c: New file.