summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-30 15:48:50 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-30 15:48:50 +0000
commit6efa6ad363f995c29cbb35a22359a1d674645399 (patch)
treefb3014c854ebfc959fd51981713e575d1630ae0e /idlc
parentd3b8a1609e51f9ba80bc881a0966ef2db55a5646 (diff)
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.
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/preproc/unix.c6
1 files changed, 3 insertions, 3 deletions
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);
}