From: Ulf W. <ul...@wi...> - 2007-09-13 06:16:40
|
All small change to trunk, but an interface change (not that this particular interface was documented...) When using the file module in erlhive, the files are actually stored in mnesia, and committed with transaction semantics. Files under /tmp/ are removed when the transaction terminates and other users' public files can be accessed via /home/User/... (used to be /erlhive/User/...). This last detail was the interface change. (Let me know when I should start really worry about backward compatibility. ;-) BR, Ulf W ---------- Forwarded message ---------- From: uw...@us... <uw...@us...> Date: 2007-sep-13 08:11 Subject: SF.net SVN: erlhive: [61] trunk/lib/erlhive/src/otp/erlhive_prim_file.erl To: ul...@wi... Revision: 61 http://erlhive.svn.sourceforge.net/erlhive/?rev=61&view=rev Author: uwiger Date: 2007-09-12 23:11:33 -0700 (Wed, 12 Sep 2007) Log Message: ----------- changed /erlhive/ to /home/ Modified Paths: -------------- trunk/lib/erlhive/src/otp/erlhive_prim_file.erl Modified: trunk/lib/erlhive/src/otp/erlhive_prim_file.erl =================================================================== --- trunk/lib/erlhive/src/otp/erlhive_prim_file.erl 2007-09-07 14:09:35 UTC (rev 60) +++ trunk/lib/erlhive/src/otp/erlhive_prim_file.erl 2007-09-13 06:11:33 UTC (rev 61) @@ -1124,7 +1124,7 @@ throw({error,einval}) end. -i_get_user(["/","erlhive",U|_]) -> +i_get_user(["/","home",U|_]) -> list_to_binary(U); i_get_user(["/", "tmp" | _]) -> Acct#acct.name; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |