delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/08/07:09:12

Date: Tue, 8 Apr 1997 13:51:58 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Omnichron <noone AT nowhere DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: Trouble With Globbing
In-Reply-To: <3348e77c.354990@news.erols.com>
Message-ID: <Pine.SUN.3.91.970408135129.1046E-100000@is>
MIME-Version: 1.0

On Mon, 7 Apr 1997, Omnichron wrote:

> I tried using a
> replacement glob function, but it just froze the program--looks like
> it was because I forgot to #include crt0.h.

Yes, you need to include crt0.h.

> just hope it uses FAT revision for transfers on the same device. The
> whole reason I was writing the MOVE replacement was that it didn't
> check for free space available on the target device, and blindly try
> to move, whereas XCopy would let me know right away if there wasn't
> enough space.

I don't understand.  Transfers on the same device are just renames
(the data is not moved at all), so why would that be a problem?

When you use mv to move files to another device, it does detect that
there's not enough space on the target device, but only after it tries
to copy the data.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019