--- loncom/lond 2004/11/27 17:23:08 1.266 +++ loncom/lond 2004/12/21 20:47:55 1.268 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.266 2004/11/27 17:23:08 raeburn Exp $ +# $Id: lond,v 1.268 2004/12/21 20:47:55 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -58,7 +58,7 @@ my $DEBUG = 0; # Non zero to ena my $status=''; my $lastlog=''; -my $VERSION='$Revision: 1.266 $'; #' stupid emacs +my $VERSION='$Revision: 1.268 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -1960,7 +1960,7 @@ sub fetch_user_file_handler { # Note that any regular files in the way of this path are # wiped out to deal with some earlier folly of mine. - if (!&mkpath($udir.'/')) { + if (!&mkpath($udir.'/'.$ufile)) { &Failure($client, "unable_to_create\n", $userinput); } @@ -2835,7 +2835,7 @@ sub store_handler { chomp($what); my @pairs=split(/\&/,$what); my $hashref = &tie_user_hash($udom, $uname, $namespace, - &GDBM_WRCREAT(), "P", + &GDBM_WRCREAT(), "S", "$rid:$what"); if ($hashref) { my $now = time;