[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [dsdp-tm-dev] FileSystem open flags
- From: "Tarassov, Eugene" <eugene.tarassov@xxxxxxxxxxxxx>
- Date: Wed, 14 May 2008 11:54:37 -0700
- Delivered-to: firstname.lastname@example.org
- Thread-index: Aci16nykLXc1InfdRDOtGi+M0QXRggACM/3Q
- Thread-topic: [dsdp-tm-dev] FileSystem open flags
I agree, adding TCF_ prefix to avoid confusion is good idea.
I'll create a bugzilla entry for that.
[mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Ed Swarthout
Sent: Wednesday, May 14, 2008 10:47 AM
Subject: [dsdp-tm-dev] FileSystem open flags
The open flags for FileSystem (as shown in "TCF Service - File
System.html") use the same names (i.e. O_CREAT) that are defined in
Unfortunately, I hadn't noticed that they are defined differently and I
used the fcntl.h values in some c-client code I wrote.
It didn't work.
Looking at the source, I see that agent/filesystem.c prefix's the open
flag definitions with TCF_ so they don't conflict.
Wouldn't it be good to add this same prefix in the java interface,
That way the language independent API can show a single name for the
dsdp-tm-dev mailing list