public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Caution about ln
@ 2000-06-13 10:23 Earnie Boyd
  2000-06-13 10:55 ` Egor Duda
  0 siblings, 1 reply; 3+ messages in thread
From: Earnie Boyd @ 2000-06-13 10:23 UTC (permalink / raw)
  To: cygwin users

I just wanted to caution the community about the following scenario:

ln tcltest Tcltest

This will have the effect of:

rm -f tcltest


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Caution about ln
  2000-06-13 10:23 Caution about ln Earnie Boyd
@ 2000-06-13 10:55 ` Egor Duda
  0 siblings, 0 replies; 3+ messages in thread
From: Egor Duda @ 2000-06-13 10:55 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: cygwin users

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?

Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Caution about ln
@ 2000-06-13 12:44 Earnie Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: Earnie Boyd @ 2000-06-13 12:44 UTC (permalink / raw)
  To: Egor Duda; +Cc: cygwin users

--- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-13 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-13 10:23 Caution about ln Earnie Boyd
2000-06-13 10:55 ` Egor Duda
2000-06-13 12:44 Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).