Changeset 28241 for trunk/Ohana/src/libfits/header/F_scan.c
- Timestamp:
- Jun 6, 2010, 4:06:31 PM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/libfits/header/F_scan.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/czw_branch/20100427/Ohana merged eligible /branches/eam_branches/Ohana.20100606 merged eligible /branches/haf_branches/ipp.20100512/Ohana merged eligible /branches/pap/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/libfits/header/F_scan.c
r27435 r28241 76 76 if (!strcmp (mode, "%d")) { *va_arg (argp, int *) = value; return (TRUE); } 77 77 if (!strcmp (mode, "%ld")) { *va_arg (argp, long *) = value; return (TRUE); } 78 if (!strcmp (mode, "%lld")) { *va_arg (argp, long long *) = value; return (TRUE); }78 if (!strcmp (mode, OFF_T_FMT)) { *va_arg (argp, long long *) = value; return (TRUE); } 79 79 if (!strcmp (mode, "%Ld")) { *va_arg (argp, long long *) = value; return (TRUE); } 80 80 if (!strcmp (mode, "%u")) { *va_arg (argp, unsigned *) = value; return (TRUE); } … … 84 84 if (!strcmp (mode, "%hd")) { *va_arg (argp, short *) = value; return (TRUE); } 85 85 86 // XXX is this safe for 64bit off_t and 32bit off_t? 87 if (!strcmp (mode, "%jd")) { *va_arg (argp, intmax_t *) = value; return (TRUE); } 88 86 89 /* no valid mode found */ 87 90 return (FALSE); … … 219 222 if (!strcmp (mode, "%d")) { *va_arg (argp, int *) = value; return (TRUE); } 220 223 if (!strcmp (mode, "%ld")) { *va_arg (argp, long *) = value; return (TRUE); } 221 if (!strcmp (mode, "%lld")) { *va_arg (argp, long long *) = value; return (TRUE); }224 if (!strcmp (mode, OFF_T_FMT)) { *va_arg (argp, long long *) = value; return (TRUE); } 222 225 if (!strcmp (mode, "%Ld")) { *va_arg (argp, long long *) = value; return (TRUE); } 223 226 if (!strcmp (mode, "%u")) { *va_arg (argp, unsigned *) = value; return (TRUE); }
Note:
See TracChangeset
for help on using the changeset viewer.
