Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: undefined reference to `link' |
| Date | 2011-11-02 15:30 -0700 |
| Organization | None to speak of |
| Message-ID | <lnsjm6gnry.fsf@nuthaus.mib.org> (permalink) |
| References | (1 earlier) <j8p4g0$rpe$1@dont-email.me> <j8p55i$v4p$1@dont-email.me> <j8p6gh$989$1@dont-email.me> <2e64bfb7-d656-4a54-a5f1-3c0e18243e6b@n38g2000yqm.googlegroups.com> <XaCdnRLOYuGMKyzTnZ2dnUVZ_uKdnZ2d@posted.internetamerica> |
gordonb.d5wxg@burditt.org (Gordon Burditt) writes:
[...]
> Note that the link/unlink procedure assumes that this can be done
> repeatedly: if the destination file already exists (left over from
> the last time the code was executed), it is removed; then the rename
> is done.
Not according to the link(2) man page on my system:
If newpath exists it will not be overwritten.
And link() is *not* a form of renaming. It creates a new name for a
file; the old name continues to exist.
[...]
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-01 23:41 +0800
Re: undefined reference to `link' Mark Bluemel <mark_bluemel@pobox.com> - 2011-11-01 15:46 +0000
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-02 00:01 +0800
Re: undefined reference to `link' Mark Bluemel <mark_bluemel@pobox.com> - 2011-11-01 16:21 +0000
Re: undefined reference to `link' jgharston <jgh@arcade.demon.co.uk> - 2011-11-02 04:43 -0700
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-02 14:10 -0700
Re: undefined reference to `link' jgharston <jgh@arcade.demon.co.uk> - 2011-11-03 17:08 -0700
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-03 17:17 -0700
Re: undefined reference to `link' gordonb.hsqhk@burditt.org (Gordon Burditt) - 2011-11-03 23:11 -0500
Re: undefined reference to `link' gordonb.d5wxg@burditt.org (Gordon Burditt) - 2011-11-02 16:28 -0500
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-02 15:30 -0700
Re: undefined reference to `link' gordonb.wk71i@burditt.org (Gordon Burditt) - 2011-11-02 19:33 -0500
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-02 19:24 -0700
Re: undefined reference to `link' Acid Washed China Blue Jeans <chine.bleu@yahoo.com> - 2011-11-01 10:02 -0700
Re: undefined reference to `link' gordonb.ztlqg@burditt.org (Gordon Burditt) - 2011-11-02 19:46 -0500
Re: undefined reference to `link' Seebs <usenet-nospam@seebs.net> - 2011-11-03 18:35 +0000
Re: undefined reference to `link' Kaz Kylheku <kaz@kylheku.com> - 2011-11-03 19:56 +0000
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-03 14:04 -0700
Re: undefined reference to `link' Seebs <usenet-nospam@seebs.net> - 2011-11-03 21:45 +0000
Re: undefined reference to `link' Acid Washed China Blue Jeans <chine.bleu@yahoo.com> - 2011-11-03 15:53 -0700
Re: undefined reference to `link' Mike Manilone <zhtx10@gmail.com> - 2011-11-02 04:42 +0000
Re: undefined reference to `link' Geoff <geoff@invalid.invalid> - 2011-11-03 14:52 -0700
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-04 08:19 +0800
Re: undefined reference to `link' Geoff <geoff@invalid.invalid> - 2011-11-03 21:32 -0700
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-04 13:25 +0800
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-04 13:28 +0800
Re: undefined reference to `link' Geoff <geoff@invalid.invalid> - 2011-11-03 23:01 -0700
Re: undefined reference to `link' Kaz Kylheku <kaz@kylheku.com> - 2011-11-03 02:40 +0000
csiph-web