<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.lang.ada Google Group</title>
  <link>http://groups.google.com/group/comp.lang.ada</link>
  <description>Discussion about Ada*.</description>
  <language>en</language>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/e774ac2dd69fd251?show_docid=e774ac2dd69fd251</link>
  <description>
  vlc a écrit : &lt;br&gt; I presume you are using some elementary OS like Unix, that fakes &lt;br&gt; temporary files short of having true ones... But the implementation is &lt;br&gt; free to behave as if they were true temporary files. This protects your &lt;br&gt; portability (to VMS for example, sigh of nostalgia...)
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/e774ac2dd69fd251?show_docid=e774ac2dd69fd251</guid>
  <author>
  ro...@adalog.fr
  (Jean-Pierre Rosen)
  </author>
  <pubDate>Mon, 04 Jan 2010 17:12:06 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/a002d6cd748de824?show_docid=a002d6cd748de824</link>
  <description>
  If you use Debian, the POSIX packages are in &amp;quot;libflorist-dev&amp;quot; (stable) &lt;br&gt; and &amp;quot;libflorist2009-dev&amp;quot; (testing). &lt;br&gt; Greetings, &lt;br&gt; Jacob
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/a002d6cd748de824?show_docid=a002d6cd748de824</guid>
  <author>
  spa...@nbi.dk
  (Jacob Sparre Andersen)
  </author>
  <pubDate>Mon, 04 Jan 2010 17:14:20 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/d92b876a99e8e813?show_docid=d92b876a99e8e813</link>
  <description>
  Well, they have names, are stored in in /tmp/ and still exist after &lt;br&gt; the call of Ada.Text_IO.Close in line 5. I actually checked this :-)
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/d92b876a99e8e813?show_docid=d92b876a99e8e813</guid>
  <author>
  just.another.spam.acco...@googlemail.com
  (vlc)
  </author>
  <pubDate>Mon, 04 Jan 2010 16:45:05 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/57f8f4ea024366e4?show_docid=57f8f4ea024366e4</link>
  <description>
  vlc a écrit : &lt;br&gt; Maybe because temporary files have no names ;-) &lt;br&gt; Kidding appart, in the old time when people still knew how to write &lt;br&gt; operating systems, the notion of temporary file was supported by the OS, &lt;br&gt; and those files had really no name (as opposed to a junk name in /var/tmp).
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/57f8f4ea024366e4?show_docid=57f8f4ea024366e4</guid>
  <author>
  ro...@adalog.fr
  (Jean-Pierre Rosen)
  </author>
  <pubDate>Mon, 04 Jan 2010 15:52:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/21c597aedd8ec74b?show_docid=21c597aedd8ec74b</link>
  <description>
  Looks good, but for some reason this package is not installed on my &lt;br&gt; box. I will look for it on the Internet. &lt;br&gt; Thanks a lot!
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/21c597aedd8ec74b?show_docid=21c597aedd8ec74b</guid>
  <author>
  just.another.spam.acco...@googlemail.com
  (vlc)
  </author>
  <pubDate>Mon, 04 Jan 2010 15:07:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/f3dcb573c2e4af27?show_docid=f3dcb573c2e4af27</link>
  <description>
  POSIX.IO.Open_Or_Create (Name =&amp;gt; [...], &lt;br&gt; Mode =&amp;gt; [...], &lt;br&gt; Permissions =&amp;gt; [...], &lt;br&gt; Options =&amp;gt; POSIX.IO.Exclusive); &lt;br&gt; Greetings, &lt;br&gt; Jacob
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/f3dcb573c2e4af27?show_docid=f3dcb573c2e4af27</guid>
  <author>
  spa...@nbi.dk
  (Jacob Sparre Andersen)
  </author>
  <pubDate>Mon, 04 Jan 2010 14:49:24 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/86d01f5527eb724a?show_docid=86d01f5527eb724a</link>
  <description>
  On Jan 4, 3:25 pm, Georg Bauhaus &amp;lt;rm.dash-bauh...@futureapps.de &amp;gt; &lt;br&gt; wrote: &lt;br&gt; The problem is that this file can also be created by other processes, &lt;br&gt; neither written by me nor in Ada. I doubt that I can convince an &lt;br&gt; application that I only have as a binary to respect something like &lt;br&gt; Ada&#39;s protected objects ...
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/86d01f5527eb724a?show_docid=86d01f5527eb724a</guid>
  <author>
  just.another.spam.acco...@googlemail.com
  (vlc)
  </author>
  <pubDate>Mon, 04 Jan 2010 14:45:41 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/6218e8436467ada7?show_docid=6218e8436467ada7</link>
  <description>
  vlc schrieb: &lt;br&gt; A multitasking program can use a protected object &lt;br&gt; for this. Have all tasks perform I/O if and only if &lt;br&gt; it is their turn as decided by the queuing control of &lt;br&gt; the protected object. &lt;br&gt; Strictly speaking, O_EXCL is not C, but it is provided by Unix&#39;s &lt;br&gt; open(2) call. fopen(3), which is C, does not offer exclusive access
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/6218e8436467ada7?show_docid=6218e8436467ada7</guid>
  <author>
  rm.dash-bauh...@futureapps.de
  (Georg Bauhaus)
  </author>
  <pubDate>Mon, 04 Jan 2010 14:25:35 UT
</pubDate>
  </item>
  <item>
  <title>Re: Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/9247642cfe1f9eb8?show_docid=9247642cfe1f9eb8</link>
  <description>
  I also tried something like this: &lt;br&gt; 1 Ada.Text_IO.Create (Handle, Out_File); &lt;br&gt; 2 declare &lt;br&gt; 3 Temp_File : String := Ada.Text_IO.Name (Handle); &lt;br&gt; 4 begin &lt;br&gt; 5 Ada.Text_IO.Close (Handle); &lt;br&gt; 6 Ada.Text_IO.Rename (Temp_File, &amp;quot;file&amp;quot;); &lt;br&gt; 7 Ada.Text_IO.Put_Line (&amp;quot;Success&amp;quot;); &lt;br&gt; 8 exception &lt;br&gt; 9 when Ada.IO_Exceptions.Use_Error =&amp;gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/9247642cfe1f9eb8?show_docid=9247642cfe1f9eb8</guid>
  <author>
  just.another.spam.acco...@googlemail.com
  (vlc)
  </author>
  <pubDate>Mon, 04 Jan 2010 14:24:26 UT
</pubDate>
  </item>
  <item>
  <title>Atomic file creation</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/639be2476958987d?show_docid=639be2476958987d</link>
  <description>
  Hi *, &lt;br&gt; I am looking for a way to create a file without overwriting it. A &lt;br&gt; simple approach would be: &lt;br&gt; 1 if not Ada.Directories.Exists (&amp;quot;file&amp;quot;) then &lt;br&gt; 2 Ada.Text_IO.Create (&amp;quot;file&amp;quot;); &lt;br&gt; 3 end if; &lt;br&gt; But this is not completely safe as it is not atomic. A higher-priority &lt;br&gt; task e.g. could intercept my task between lines 1 and 2 and create the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/17f674692867d416/639be2476958987d?show_docid=639be2476958987d</guid>
  <author>
  just.another.spam.acco...@googlemail.com
  (vlc)
  </author>
  <pubDate>Mon, 04 Jan 2010 13:40:11 UT
</pubDate>
  </item>
  <item>
  <title>Re: Package Asis.Clauses : a tiny error in comments</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/cdaad053c5bb4693/a049abe448e01d9f?show_docid=a049abe448e01d9f</link>
  <description>
  On Jan 3, 5:09 pm, Hibou57 (Yannick Duchêne) &lt;br&gt; You might also look at the &#39;getting involved&#39; section of the page &lt;br&gt; Stephe pointed out.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/cdaad053c5bb4693/a049abe448e01d9f?show_docid=a049abe448e01d9f</guid>
  <author>
  simon.j.wri...@mac.com
  (sjw)
  </author>
  <pubDate>Sun, 03 Jan 2010 21:42:06 UT
</pubDate>
  </item>
  <item>
  <title>Re: Open URLs</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/9c5391bd267ec15e?show_docid=9c5391bd267ec15e</link>
  <description>
  The third / is a delimiter, theoretically there could be something between &lt;br&gt; file:// and /. The path might be followed by queries and fragments, see &lt;br&gt; here: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;You just parse it. What is the problem, except that the number of URI &lt;br&gt; schemes is huge. &lt;br&gt; Regarding replacing %20 with SP, I am not sure if this has to be done. You
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/9c5391bd267ec15e?show_docid=9c5391bd267ec15e</guid>
  <author>
  mail...@dmitry-kazakov.de
  (Dmitry A. Kazakov)
  </author>
  <pubDate>Sun, 03 Jan 2010 20:05:46 UT
</pubDate>
  </item>
  <item>
  <title>Re: Open URLs</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/d96ff5a438598641?show_docid=d96ff5a438598641</link>
  <description>
  Thanks. This looks quite promising!
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/d96ff5a438598641?show_docid=d96ff5a438598641</guid>
  <author>
  just.another.spam.acco...@googlemail.com
  (vlc)
  </author>
  <pubDate>Sun, 03 Jan 2010 18:53:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: Open URLs</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/089e948871de097f?show_docid=089e948871de097f</link>
  <description>
  Le 03/01/2010 19:17, vlc a écrit : &lt;br&gt; Not directly. After removing the file:// prefix, you can use AWS.URL.Decode. &lt;br&gt; Pascal.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/089e948871de097f?show_docid=089e948871de097f</guid>
  <author>
  pas...@obry.net
  (Pascal Obry)
  </author>
  <pubDate>Sun, 03 Jan 2010 18:36:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: Open URLs</title>
  <link>http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/03403024af469d4c?show_docid=03403024af469d4c</link>
  <description>
  What about doing successive string replacements: &lt;br&gt; &amp;quot;file://&amp;quot; -&amp;gt; &amp;quot;&amp;quot; &lt;br&gt; &amp;quot;%20&amp;quot; -&amp;gt; &amp;quot; &amp;quot; &lt;br&gt; etc. &lt;br&gt; ? &lt;br&gt; Probably you need to make a &amp;quot;Replace_all&amp;quot; function using &lt;br&gt; Ada.Strings.Fixed&#39;s routines (unless it&#39;s already there), then it &lt;br&gt; should be straightforward. &lt;br&gt; ______________________________ ______________________________ __ &lt;br&gt; Gautier&#39;s Ada programming -- &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://gautiersblog.blogspot.com/&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/comp.lang.ada/browse_frm/thread/225336ae711b78f1/03403024af469d4c?show_docid=03403024af469d4c</guid>
  <author>
  gautier_niou...@hotmail.com
  (Gautier write-only)
  </author>
  <pubDate>Sun, 03 Jan 2010 18:36:04 UT
</pubDate>
  </item>
  </channel>
</rss>
