<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Large-file mkstemp() on 11.11 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166886#M90833</link>
    <description>&amp;gt;JRF: so how do mere mortals (non-HP folks) find/know these IDs,&lt;BR /&gt;&lt;BR /&gt;Not sure.  I noticed the 8606374038 in the middle of ucr_na-KMN8606374038_ssb-1 as a SR number I could look up.  If you can see it in  Technical Knowledge Base, that's all you see.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;including 'JAG' values?&lt;BR /&gt;&lt;BR /&gt;(That's the previous defect database.)&lt;BR /&gt;&lt;BR /&gt;You'll see 8606374038 and JAG* in existing patches and now the new QXCR* form.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;With a support contract we can search the TKB or Patch Database, but it would seem you have access to other sources(?)&lt;BR /&gt;&lt;BR /&gt;Yes.  I have direct access to the defect database, after all, I have to fix things.  :-)</description>
    <pubDate>Wed, 26 Mar 2008 00:20:25 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-03-26T00:20:25Z</dc:date>
    <item>
      <title>Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166878#M90825</link>
      <description>Apparently, mkstemp() on HP-UX 11.11 does not&lt;BR /&gt;set O_LARGEFILE when it opens a file, which&lt;BR /&gt;causes a (what should be) spurious EFBIG&lt;BR /&gt;failure when an otherwise large-file-capable&lt;BR /&gt;program attempts to write more than 2GB to a&lt;BR /&gt;file which was opened that way.&lt;BR /&gt;&lt;BR /&gt;I didn't find a patch for this in an ITRC patch&lt;BR /&gt;database search, but, as no sane person would&lt;BR /&gt;expect any ITRC Web site feature to work&lt;BR /&gt;reliably, I thought that it might be wise to&lt;BR /&gt;persue my inquiry along a different path.&lt;BR /&gt;&lt;BR /&gt;The same code seems to work properly on an&lt;BR /&gt;11.31 IA64 system, so the problem was&lt;BR /&gt;apparently solved somewhere along the line.  If&lt;BR /&gt;anyone knows of a patch for 11.11, and/or has&lt;BR /&gt;info on when/where the problem got solved, I'd&lt;BR /&gt;be interested.</description>
      <pubDate>Mon, 24 Mar 2008 21:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166878#M90825</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-24T21:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166879#M90826</link>
      <description>Unfortunately it isn't directly obvious how it was fixed.  ;-)&lt;BR /&gt;&lt;BR /&gt;It seems libc on 11.31 is now compiled with -D_FILE_OFFSET_BITS=64 so it magically works.&lt;BR /&gt;My 11.23 system doesn't have this fix.&lt;BR /&gt;&lt;BR /&gt;The 11.31 fix was likely:&lt;BR /&gt;QXCR1000536607/JAGaf25880: &amp;gt;2TB Files Make Commands Misbehave/Fail</description>
      <pubDate>Tue, 25 Mar 2008 04:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166879#M90826</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-25T04:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166880#M90827</link>
      <description>&amp;gt; It seems libc on 11.31 is now compiled with&lt;BR /&gt;&amp;gt; -D_FILE_OFFSET_BITS=64 so it magically works.&lt;BR /&gt;&lt;BR /&gt;There's more fine print.  At 11.11 at least,&lt;BR /&gt;mkstemp() is declared in stdlib.h, while all&lt;BR /&gt;the large-file stuff is handled in stdio.h.&lt;BR /&gt;Unlike fopen() and its friends, there's no&lt;BR /&gt;obvious mkstemp64() (and, hence, nothing to&lt;BR /&gt;select it instead of the normal mkstemp() in&lt;BR /&gt;a large-file compilation).  And unlike with&lt;BR /&gt;open(), there's no place in a mkstemp()&lt;BR /&gt;argument list to stick in an O_LARGEFILE&lt;BR /&gt;flag.&lt;BR /&gt;&lt;BR /&gt;About all I could get Google to find were&lt;BR /&gt;similar complaints from Samba developers.&lt;BR /&gt;&lt;BR /&gt;Apparently ("man mkstemp"), we're all&lt;BR /&gt;supposed to use tmpfile() instead.  Sigh.</description>
      <pubDate>Tue, 25 Mar 2008 06:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166880#M90827</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-25T06:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166881#M90828</link>
      <description>&amp;gt;while all the large-file stuff is handled in stdio.h. Unlike fopen() and its friends, there's no obvious mkstemp64(). And unlike with open(), there's no place in a mkstemp() argument list to stick in an O_LARGEFILE flag.&lt;BR /&gt;&lt;BR /&gt;There is no need for any of that.  The only color you should get out of mkstemp(3) is black (O_LARGEFILE).  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Apparently ("man mkstemp"), we're all&lt;BR /&gt;supposed to use tmpfile().&lt;BR /&gt;&lt;BR /&gt;Yes, I saw that.  But I kept looking.</description>
      <pubDate>Tue, 25 Mar 2008 06:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166881#M90828</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-25T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166882#M90829</link>
      <description>A broader ITRC search (for "mkstemp") turned&lt;BR /&gt;up these:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www11.itrc.hp.com/service/james/dispDoc.do?docURL=%2Fservice%2Fcki%2FdocDisplay.do%3FdocLocale%3Den%26docId%3Ducr_na-KMN8606374038_ssb-1&amp;amp;aid=SEARCH_CKI&amp;amp;pil=10&amp;amp;serStr=mkstemp" target="_blank"&gt;http://www11.itrc.hp.com/service/james/dispDoc.do?docURL=%2Fservice%2Fcki%2FdocDisplay.do%3FdocLocale%3Den%26docId%3Ducr_na-KMN8606374038_ssb-1&amp;amp;aid=SEARCH_CKI&amp;amp;pil=10&amp;amp;serStr=mkstemp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www11.itrc.hp.com/service/james/dispDoc.do?docURL=%2Fservice%2Fcki%2FdocDisplay.do%3FdocLocale%3Den%26docId%3Demr_na-c00924637-1&amp;amp;aid=SEARCH_CKI&amp;amp;pil=11&amp;amp;serStr=mkstemp" target="_blank"&gt;http://www11.itrc.hp.com/service/james/dispDoc.do?docURL=%2Fservice%2Fcki%2FdocDisplay.do%3FdocLocale%3Den%26docId%3Demr_na-c00924637-1&amp;amp;aid=SEARCH_CKI&amp;amp;pil=11&amp;amp;serStr=mkstemp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sadly, all I can get from them is "Please&lt;BR /&gt;check your login  status. The content&lt;BR /&gt;identified requires a support agreement, HP&lt;BR /&gt;CarePack or warranty."  (All of which I lack.)&lt;BR /&gt;&lt;BR /&gt;Anyone with more status than mine care to&lt;BR /&gt;quote or summarize?</description>
      <pubDate>Tue, 25 Mar 2008 14:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166882#M90829</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-25T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166883#M90830</link>
      <description>Hi Steven:&lt;BR /&gt;&lt;BR /&gt;The links you posted don't seem to work for me.  My own search yielded:&lt;BR /&gt;&lt;BR /&gt;Technical Knowledge Base ID ucr_na-KMN8606374038_ssb-1&lt;BR /&gt;&lt;BR /&gt;...which basically states a request to make 'mkstemp()' support largefiles on 11.11 (it doesn't).  The document notes that this will be provided in 11.31.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 25 Mar 2008 14:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166883#M90830</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-25T14:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166884#M90831</link>
      <description>&amp;gt;JRF: which basically states a request to make mkstemp() support largefiles on 11.11. The document notes that this will be provided in 11.31.&lt;BR /&gt;&lt;BR /&gt;Yes, that's what QXCR1000539041 says:&lt;BR /&gt;mkstemp() can't exceed 2GB</description>
      <pubDate>Tue, 25 Mar 2008 23:03:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166884#M90831</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-25T23:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166885#M90832</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Dennis: Yes, that's what QXCR1000539041 says&lt;BR /&gt;&lt;BR /&gt;...and so how do mere mortals (non-HP folks) find/know these IDs, including 'JAG' values?  With a support contract we can search the TKB or Patch Database, but it would seem you have access to other sources(?)&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 25 Mar 2008 23:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166885#M90832</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-25T23:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Large-file mkstemp() on 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166886#M90833</link>
      <description>&amp;gt;JRF: so how do mere mortals (non-HP folks) find/know these IDs,&lt;BR /&gt;&lt;BR /&gt;Not sure.  I noticed the 8606374038 in the middle of ucr_na-KMN8606374038_ssb-1 as a SR number I could look up.  If you can see it in  Technical Knowledge Base, that's all you see.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;including 'JAG' values?&lt;BR /&gt;&lt;BR /&gt;(That's the previous defect database.)&lt;BR /&gt;&lt;BR /&gt;You'll see 8606374038 and JAG* in existing patches and now the new QXCR* form.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;With a support contract we can search the TKB or Patch Database, but it would seem you have access to other sources(?)&lt;BR /&gt;&lt;BR /&gt;Yes.  I have direct access to the defect database, after all, I have to fix things.  :-)</description>
      <pubDate>Wed, 26 Mar 2008 00:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/large-file-mkstemp-on-11-11/m-p/4166886#M90833</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-26T00:20:25Z</dc:date>
    </item>
  </channel>
</rss>

