From dfd4b66c48106edfcbdd1b32e733640e2587acbb Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Thu, 3 Dec 2009 12:21:55 +0000 Subject: documentation: Fix bugs introduced in the SGML to XML transition In the transition from SGML to XML (several releases ago), bugs were introduced in the documentation, for instance "\n" replaced by newlines. Correct those bugs. Also correct double backslashes. They seem to have been introduced very early in the development of OTP. According to Lars they "solved" a bug in the generation of HTML &c. Now that standard tools are used instead of docbuilder, the bug has become visible. --- lib/stdlib/doc/src/win32reg.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/stdlib/doc/src/win32reg.xml') diff --git a/lib/stdlib/doc/src/win32reg.xml b/lib/stdlib/doc/src/win32reg.xml index d8055047b0..28960cd098 100644 --- a/lib/stdlib/doc/src/win32reg.xml +++ b/lib/stdlib/doc/src/win32reg.xml @@ -48,7 +48,7 @@

Paths to keys are left to right, with sub-keys to the right and backslash between keys. (Remember that backslashes must be doubled in Erlang strings.) Case is preserved but not significant. - Example: "\\\\hkey_local_machine\\\\software\\\\Ericsson\\\\Erlang\\\\5.0" is the key + Example: "\\hkey_local_machine\\software\\Ericsson\\Erlang\\5.0" is the key for the installation data for the latest Erlang release.

There are six entry points in the Windows registry, top level keys. They can be abbreviated in the win32reg module as:

@@ -66,7 +66,7 @@ current_config HKEY_CURRENT_CONFIG hkcc HKEY_CURRENT_CONFIG dyn_data HKEY_DYN_DATA hkdd HKEY_DYN_DATA -

The key above could be written as "\\\\hklm\\\\software\\\\ericsson\\\\erlang\\\\5.0".

+

The key above could be written as "\\hklm\\software\\ericsson\\erlang\\5.0".

The win32reg module uses a current key. It works much like the current directory. From the current key, values can be fetched, sub-keys can be listed, and so on.

@@ -96,7 +96,7 @@ hkdd HKEY_DYN_DATA

Changes the current key to another key. Works like cd. The key can be specified as a relative path or as an - absolute path, starting with \\.

+ absolute path, starting with \.

-- cgit v1.2.3