Andrew Johnson
7435a9831b
db: Reject trailing space in numeric => enum/menu/device conversion
...
This is really a workaround for a Win32/MinGW bug in sscanf, which
will only set the %n argument for the format "%u %n" when there is
a space following the unsigned number.
This changes the IOC's behavior very slightly.
2012-03-06 14:14:39 -06:00
Andrew Johnson
7cc8a552a3
db: Allow single-char accesses as long strings
...
Clients try to use long string support to fetch DBF_STRING
fields use DBF_CTRL_CHAR with a 1-element array, but the IOC
was rejecting that. This permits it, and also ensures that
the resulting strings are zero-terminated.
Fixes lp:907761
2012-01-11 16:47:37 -06:00
Andrew Johnson
31d149d8d9
Fixed 64 bit compiler warnings from Tom Palaia/MacOS.
2009-04-23 18:49:40 +00:00
Andrew Johnson
654a7e05cd
Mark source dbAddr pointers as const.
2009-02-24 22:57:15 +00:00
Andrew Johnson
49ef896a36
Cleanup, remove some unnecessary casting.
2008-08-15 18:58:18 +00:00
Andrew Johnson
f4728749a2
Let compiler check args for dbPutConvertRoutine[] functions.
2008-08-14 20:12:46 +00:00
Andrew Johnson
ab7011a214
Fixes for IOCs on 64-bit platforms.
...
empty string to char conversions now produce 0, not '0'.
Record types ANSIfied by John Hammonds.
2008-07-01 16:49:08 +00:00
Andrew Johnson
b61e4bcb59
Don't cast away const unnecessarily - gcc warning.
2006-11-28 21:33:55 +00:00
W. Eric Norum
0dc034962c
Use epicsScanFloat/epicsScanDouble rather than sscanf.
...
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
Marty Kraimer
ff08561ba0
fix double to float conversion bug
2004-04-05 13:17:30 +00:00
Marty Kraimer
54ee23afb9
changes for long being 64 bits
2002-12-06 14:13:36 +00:00
Janet B. Anderson
93b0bf478d
Updated license comments.
2002-07-12 21:35:43 +00:00
Marty Kraimer
bafb0a76ee
changes for double to float
2002-03-07 17:04:13 +00:00
Marty Kraimer
5ff1a8f2a3
make default precision 6 instead of 0
2001-07-03 12:49:01 +00:00
Marty Kraimer
e14120a25d
help prevent execptions on double to float
2001-05-17 19:15:07 +00:00
Marty Kraimer
6a52eff141
osiTime=>epicsTime
2001-01-31 13:34:02 +00:00
Jeff Hill
53753e3bf6
use ansi prototype
2000-03-14 17:13:42 +00:00
Marty Kraimer
186748dc8d
more changes for win32 build
2000-02-29 19:33:37 +00:00
Marty Kraimer
e20bc046ba
changes for building win32 dlls
2000-02-28 20:34:07 +00:00
Marty Kraimer
3cf6b5d37a
changes for creating win dlls
2000-02-28 19:40:58 +00:00
Marty Kraimer
7a24fa2299
more changes for creating dlls
2000-02-25 22:28:44 +00:00
Marty Kraimer
e37bd9fac8
changes for 3.14
1999-09-13 18:28:08 +00:00
Marty Kraimer
4bfe2bf8ee
Fix include statements
1998-01-20 16:20:07 +00:00
Marty Kraimer
bff266bef3
Fixed compiler warning messages
1997-04-30 18:37:50 +00:00
Marty Kraimer
e52d0e0929
Fixed numerous bugs
1996-06-11 19:49:47 +00:00
Marty Kraimer
3e0445f2ad
Fixed many bugs
1996-05-03 14:11:06 +00:00
Marty Kraimer
28797e7a1a
Changes for dynamic link modification
1996-04-22 14:33:50 +00:00
Marty Kraimer
6c1d42f41d
Changes for replacing default.dctsdr by all ascii files
1995-11-29 14:27:19 +00:00