diff -r -u src/abstract/abstract_descriptor.e ../../ethz/origo/eposix/src/abstract/abstract_descriptor.e --- src/abstract/abstract_descriptor.e 2007-05-18 10:48:42.000000000 +0200 +++ ../../ethz/origo/eposix/src/abstract/abstract_descriptor.e 2007-07-26 21:05:39.000000000 +0200 @@ -45,6 +45,7 @@ make is do + unassigned_value := -1 do_make end @@ -894,13 +895,6 @@ is_open_write := False end - unassigned_value: INTEGER is - -- The value that indicates that `handle' is unassigned. - do - Result := -1 - end - - feature {NONE} -- Counting of allocated resource decrease_open_files is diff -r -u src/abstract/abstract_directory_handle.e ../../ethz/origo/eposix/src/abstract/abstract_directory_handle.e --- src/abstract/abstract_directory_handle.e 2004-12-17 23:29:50.000000000 +0100 +++ ../../ethz/origo/eposix/src/abstract/abstract_directory_handle.e 2007-07-26 21:03:19.000000000 +0200 @@ -33,6 +33,7 @@ local h: POINTER do + unassigned_value := default_pointer create item.make (32) create directory_name.make_from_string (a_directory_name) h := abstract_opendir (sh.string_to_pointer (directory_name)) @@ -167,13 +168,6 @@ clear_handle end - frozen unassigned_value: POINTER is - -- The value that indicates that `handle' is unassigned. - do - Result := default_pointer - end - - feature {NONE} -- Abstract API abstract_closedir (a_dirp: POINTER): INTEGER is diff -r -u src/standardc/stdc_buffer.e ../../ethz/origo/eposix/src/standardc/stdc_buffer.e --- src/standardc/stdc_buffer.e 2006-04-14 06:16:07.000000000 +0200 +++ ../../ethz/origo/eposix/src/standardc/stdc_buffer.e 2007-07-26 21:07:23.000000000 +0200 @@ -64,6 +64,7 @@ local new_ptr: POINTER do + unassigned_value := default_pointer security.memory.check_allocation (a_capacity) if is_owner then deallocate @@ -918,13 +919,6 @@ capacity_changed: capacity = a_capacity end - frozen unassigned_value: POINTER is - -- The value that indicates that `handle' is unassigned. - do - Result := default_pointer - end - - feature {NONE} -- Counting of allocated resource decrease_allocated_memory (amount: INTEGER) is diff -r -u src/standardc/stdc_file.e ../../ethz/origo/eposix/src/standardc/stdc_file.e --- src/standardc/stdc_file.e 2007-05-17 10:04:08.000000000 +0200 +++ ../../ethz/origo/eposix/src/standardc/stdc_file.e 2007-07-26 21:08:28.000000000 +0200 @@ -55,6 +55,7 @@ require closed: not is_open do + unassigned_value := default_pointer do_make do_open (path, "w+") if is_open then @@ -1134,13 +1135,6 @@ is_open_write := False end - frozen unassigned_value: POINTER is - -- The value that indicates that `handle' is unassigned. - do - Result := default_pointer - end - - feature {NONE} -- Counting of allocated resource decrease_open_files is diff -r -u src/standardc/stdc_handle.e ../../ethz/origo/eposix/src/standardc/stdc_handle.e --- src/standardc/stdc_handle.e 2006-04-14 06:16:08.000000000 +0200 +++ ../../ethz/origo/eposix/src/standardc/stdc_handle.e 2007-07-26 20:59:52.000000000 +0200 @@ -235,10 +235,8 @@ resource_accounted_for: is_resource_count_incremented (old resource_count) end - unassigned_value: H is + unassigned_value: H -- The value that indicates that `handle' is unassigned. - deferred - end feature {NONE} -- Counting of allocated resource --- src/epxc/http/epx_http_uri_resolver.e 2007-05-17 10:04:08.000000000 +0200 +++ src/epxc/http/epx_http_uri_resolver.e_fixed 2007-12-12 12:23:09.000000000 +0100 @@ -75,6 +75,9 @@ std.error.put_new_line end create a_path.make_from_string (a_uri_to_use.path) + if a_path.is_empty then + a_path := "/" + end if a_uri_to_use.has_query then a_path.append_character ('?') a_path.append_string (a_uri_to_use.query) @@ -83,7 +86,7 @@ a_path.append_character ('#') a_path.append_string (a_uri_to_use.fragment) end - client.get (a_uri_to_use.path) + client.get (a_path) a_response_code := client.response_code if a_response_code = Sc_ok then client.read_response --- src/papi/p_unistd.c_old 2007-12-12 17:11:07.000000000 +0100 +++ src/papi/p_unistd.c 2007-12-12 17:11:29.000000000 +0100 @@ -25,7 +25,7 @@ EIF_INTEGER posix_fork() { - return fork(); + return eif_thread_fork(); } EIF_POINTER posix_getlogin()