error code for non-existent directory

Lasse Kliemann <[email protected]> Sun, 3 May 2009 15:48:52 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
--===============1295239310==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI"
Content-Disposition: inline


--PmA2V3Z32TCmWXqI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Directories 'a' and 'b' both do not exist:

$ star -c -diff -C a . b
star: No such file or directory. Cannot change directory to 'a'.
star: No such file or directory. Cannot change directory to 'b'.
$ echo $?
2

This looks okay.

Now I create directory 'b'.

$ star -c -diff -C a . b
star: No such file or directory. Cannot change directory to 'a'.
star: 0 blocks + 1024 bytes (total of 1024 bytes =3D 1.00k).
$ echo $?
0

Shouldn't this also return an error code !=3D 0?

I also tried adding errctl=3D'ABORT|ALL *', but this does not make=20
a difference.

Using pre7.

--PmA2V3Z32TCmWXqI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBAgAGBQJJ/aDDAAoJEFYll6N4nhdv/WAQALNpRSUlEiPqt/C0lrzfb6p4
LYxcMkt/Mfhc55XoBymf3Ba3y4pSvD/ZFrPyDeJq4lOe6PuVagI9clM0UKaQoLfx
1DkxhSM77wSDexJ+5RUC+5G6mHzquwHeT9R/Gcd0KDkq7DNV49hiIdwj1Nbkd4Lv
7eZ92BL/phgivXUOJ+NuRiCT5v634qZdZOT9Yog2MzTdPDY9F59yO+XJ0/CulVq2
ZHGfT3n2k2sImN36DSoFM/3DFeyi0muRWabx8Wls7yvxK665CMK70VobOAnct4D8
h4n2YIt1w/RyCuL+4krxWlanFDX+00qxXKGHijBPVuIkIrBd6tKHgxfXxjZJT+On
9fKi3gqflNFBFmSKS2Vovq/rZNsB3ikGTV0WdXYKAHeAEWF08B5lTpCfYMneppqd
MLay23gcGQ00Lks1XhAjQ3XpBd63jqmjblnRn0lhgMF6NPL9SQTPW6PsDtghNj59
c2f2M15JpPCbIF8B3zbIayoV56HbW4YoR4HiVSqpTPZSog40Vh6/H2a1xm3UvPE7
1sLf8bQHSVOGLLLT+olkYdnOHBl5zzBjTWGTmWrg69VHip+IWJ2vfYUy9xt8tukN
QL9bYIF5OsvGs1A80uJK6kg4Rm+GsJ+1GlGtwmUp0ufrwxnC2vBlnx1kyBuVlztF
Gzgpaqwsbx88Sy6RoJAv
=np1e
-----END PGP SIGNATURE-----

--PmA2V3Z32TCmWXqI--

--===============1295239310==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users

--===============1295239310==--