From 6efa6ad363f995c29cbb35a22359a1d674645399 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 30 Mar 2004 15:48:50 +0000 Subject: INTEGRATION: CWS sb14 (1.2.48); FILE MERGED 2004/03/01 12:59:27 sb 1.2.48.1: #i21150# Added optional interface inheritance; added -stdin switch; do not warn about bad member names of com.sun.star.uno.Uik; some general clean up and added const qualifiers. --- idlc/source/preproc/unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'idlc') diff --git a/idlc/source/preproc/unix.c b/idlc/source/preproc/unix.c index 217be49782ac..49f7837d4122 100644 --- a/idlc/source/preproc/unix.c +++ b/idlc/source/preproc/unix.c @@ -2,9 +2,9 @@ * * $RCSfile: unix.c,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-03-26 12:11:12 $ + * last change: $Author: rt $ $Date: 2004-03-30 16:48:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -222,7 +222,7 @@ void dp[len] = '\0'; } fp = (char *) newstring((uchar *) argv[optind], strlen(argv[optind]), 0); - if ((fd = open(fp, O_RDONLY)) <= 0) + if ((fd = open(fp, O_RDONLY)) < 0) error(FATAL, "Can't open input file %s", fp); } -- cgit