aboutsummaryrefslogtreecommitdiff
path: root/modules/guile/getpw.scm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-18 00:12:31 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-18 00:12:31 +0300
commita851e1e1b2569cbe8187d9dba7fd17a1e0bcf269 (patch)
tree52bc391cda2ea29805661ec781a280a4a83e4a03 /modules/guile/getpw.scm
parent92dc2c763345b3593cbc0e4aa6e02ee85d48ecaa (diff)
downloadsmap-a851e1e1b2569cbe8187d9dba7fd17a1e0bcf269.tar.gz
smap-a851e1e1b2569cbe8187d9dba7fd17a1e0bcf269.tar.bz2
Fix Guile module loading.
* modules/guile/Makefile.am (AM_CPPFLAGS): Define ADDLOADPATH. * modules/guile/getpw.scm: Add comment. * modules/guile/guile.c (guile_init)[ADDLOADPATH]: Add it ti the current load path. * src/module.c (init_databases): Fix typo in diagnostic message.
Diffstat (limited to 'modules/guile/getpw.scm')
-rw-r--r--modules/guile/getpw.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/guile/getpw.scm b/modules/guile/getpw.scm
index d88657a..b3489a0 100644
--- a/modules/guile/getpw.scm
+++ b/modules/guile/getpw.scm
@@ -88,6 +88,9 @@
"UNIX socket")))
;; Select appropriate handler and call it
(let ((elt (assoc map map-list)))
+ ;; Whatever you write to the current output port, is buffered until
+ ;; the newline character, then converted into a proper `sockmap'
+ ;; protocol packet and sent back to the client as a reply.
(display
(cond
(elt

Return to:

Send suggestions and report system problems to the System administrator.