Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-11 > #17801

Re: MS Shadow Copy service

From Paul <nospam@needed.invalid>
Newsgroups alt.comp.os.windows-11
Subject Re: MS Shadow Copy service
Date 2025-03-17 11:25 -0400
Organization A noiseless patient Spider
Message-ID <vr9ess$ddei$1@dont-email.me> (permalink)
References <mmeetj10722sjsmv75k70itprmtmomnjtu@4ax.com> <12vetjlbjnqjva8gd3rknu419n2mhce7nd@4ax.com> <vr89ec$3d9oh$1@dont-email.me> <ldglalx0ej.ln2@Telcontar.valinor>

Show all headers | View raw


On Mon, 3/17/2025 8:16 AM, Carlos E.R. wrote:
> On 2025-03-17 05:46, Paul wrote:
> 
> ...
> 
>> Everyone thinks they can write a copy program,
>> and I am a member of that camp. You can see my OS
>> isn't being very nice to me. Even though I wrote
>> grease-lightning code that uses lots of RAM. Only
>> one invocation is shown above running at 3GB/sec.
> 
> Sure. It was part of me learning Pascal back in 1985 or thereabouts :-)
> 
> The size of the buffer mattered a lot, I was using floppies.
> 
> 

So I cross-compiled to a 64-bit program, because the *definition*
of fwrite() says I can write 5GB if I want.

It turns out, there is a *bug* in the C runtime, that prevents
the 5GB fwrite() from completing. It goes into an infinite loop
and the program stops. I had to kill it with a control-C.

The bug was filed in 2012, it is 2025, so obviously the internal
status of the bug report was "WONT FIX", even though no human
would say that out loud. If you're a dev, doesn't your skin crawl
when you do stuff like this ? Then, why isn't the *documentation*
for fwrite() modified ? I would put it like this.

   "Even though fwrite64() is implied by

    -D_FILE_OFFSET_BITS=64   # on the command line, to the compiler, early #define

    and you would hope 64bit code is 64bit code, the Microsoft
    fwrite64() does not work properly for amounts of buffer
    larger than 4GB. Thus the name of the routine has been
    changed to

    fwontwrite64()
   "

If Raymond was still there, he'd slap someone.

    Paul


Back to alt.comp.os.windows-11 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-16 17:02 -0400
  Re: MS Shadow Copy service User One <noreply@invalid.com> - 2025-03-16 22:03 +0000
    Re: MS Shadow Copy service Stan Brown <the_stan_brown@fastmail.fm> - 2025-03-16 20:42 -0700
    Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-29 00:50 -0400
      Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-29 01:38 -0400
  Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-16 21:49 -0400
    Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 00:46 -0400
      Re: MS Shadow Copy service "Carlos E.R." <robin_listas@es.invalid> - 2025-03-17 13:16 +0100
        Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 11:25 -0400
          Re: MS Shadow Copy service "Carlos E.R." <robin_listas@es.invalid> - 2025-03-17 19:50 +0100
            Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 15:27 -0400
              Re: MS Shadow Copy service "Carlos E.R." <robin_listas@es.invalid> - 2025-03-17 21:34 +0100
                Re: MS Shadow Copy service Frank Slootweg <this@ddress.is.invalid> - 2025-03-18 14:45 +0000
                Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-18 20:13 -0400
    Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 01:07 -0400
      Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-27 01:00 -0400
        Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-27 02:51 -0400
  Re: MS Shadow Copy service Newyana2 <newyana@invalid.nospam> - 2025-03-17 08:41 -0400
    Re: MS Shadow Copy service Frank Slootweg <this@ddress.is.invalid> - 2025-03-17 16:45 +0000
      Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 15:32 -0400
        Re: MS Shadow Copy service Newyana2 <newyana@invalid.nospam> - 2025-03-17 17:27 -0400
          Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 18:16 -0400
          Re: MS Shadow Copy service Frank Slootweg <this@ddress.is.invalid> - 2025-03-18 13:49 +0000
  Re: MS Shadow Copy service Frank Slootweg <this@ddress.is.invalid> - 2025-03-17 16:36 +0000
    Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-27 01:05 -0400
      Re: MS Shadow Copy service Char Jackson <none@none.invalid> - 2025-03-28 00:27 -0500
        Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-28 12:17 -0400
  Re: MS Shadow Copy service ...w¡ñ§±¤ñ  <winstonmvp@gmail.com> - 2025-03-17 10:44 -0700
    Re: MS Shadow Copy service Newyana2 <newyana@invalid.nospam> - 2025-03-17 17:28 -0400
      Re: MS Shadow Copy service Paul <nospam@needed.invalid> - 2025-03-17 18:50 -0400
      Re: MS Shadow Copy service ...w¡ñ§±¤ñ  <winstonmvp@gmail.com> - 2025-03-20 11:52 -0700
        Re: MS Shadow Copy service micky <NONONOmisc07@fmguy.com> - 2025-03-27 01:09 -0400

csiph-web