This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Caution about ln


--- Egor Duda <deo@logos-m.ru> wrote:
> Hi!
> 
> Tuesday, 13 June, 2000 Earnie Boyd earnie_boyd@yahoo.com wrote:
> 
> EB> I just wanted to caution the community about the following scenario:
> 
> EB> ln tcltest Tcltest
> 
> EB> This will have the effect of:
> 
> EB> rm -f tcltest
> 
> hmm. i've just tried it with cygwin1.dll i use
> 
> %%% Cygwin dll major: 1001
> %%% Cygwin dll minor: 1
> %%% Cygwin dll epoch: 19
> %%% Cygwin dll bad signal mask: 19005
> %%% Cygwin dll old termios: 00005
> %%% Cygwin api major: 0
> %%% Cygwin api minor: 19
> %%% Cygwin shared data: 3
> %%% Cygwin dll identifier: cygwin1
> %%% Cygwin mount registry: 2
> %%% Cygwin cygnus registry name: Cygnus Solutions
> %%% Cygwin cygwin registry name: Cygwin
> %%% Cygwin program options name: Program Options
> %%% Cygwin cygwin mount registry name: mounts v2
> %%% Cygwin build date: Wed May 10 17:34:30 2000
> %%% Cygwin shared id: cygwin1S3
> 
> and it prints
> 
> ln: Tcltest: File exists
> 
> as expected.
> 
> if it's broken i latest snapshot, shouldn't it be included to cygwin's
> testsuite along with "mv aaa AAA" correctness check?
> 

Ok, I'm redfaced now.  It was the script being used by make removing the
supposed link that removed the file and not ln itself.  Thanks, for verifying
this report.

Cheers,

=====
---
   Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]