Changeset c8dc9ac in mainline
- Timestamp:
- 2016-10-11T08:20:59Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48eb2fc2
- Parents:
- 6eda732 (diff), 523b17a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r6eda732 rc8dc9ac 413 413 414 414 $(DEPEND): $(PRE_DEPEND) 415 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) $(EXTRA_CFLAGS) -- $(SOURCES) $(TEST_SOURCES) > $@ 2> /dev/null 415 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) $(EXTRA_CFLAGS) -- $(SOURCES) > $@ 2> /dev/null 416 makedepend -f - -o.test.o -- $(DEPEND_DEFS) $(CFLAGS) $(EXTRA_CFLAGS) $(TEST_CFLAGS) -- $(TEST_SOURCES) >> $@ 2> /dev/null 416 417 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ 417 418 -
uspace/lib/c/Makefile
r6eda732 rc8dc9ac 176 176 test/main.c \ 177 177 test/odict.c \ 178 test/sprintf.c 178 test/sprintf.c \ 179 test/str.c 179 180 180 181 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/c/generic/str.c
r6eda732 rc8dc9ac 1157 1157 memmove(str, &str[pos], str_sz - pos); 1158 1158 pos = str_sz - pos; 1159 str[ str_sz -pos] = '\0';1159 str[pos] = '\0'; 1160 1160 } 1161 1161 } … … 1250 1250 } 1251 1251 1252 /** Convert string to a number. 1252 /** Convert string to a number. 1253 1253 * Core of strtol and strtoul functions. 1254 1254 * … … 1296 1296 str += 2; 1297 1297 } 1298 } 1298 } 1299 1299 } 1300 1300 … … 1335 1335 *endptr = (char *) str; 1336 1336 1337 if (nptr == str) { 1337 if (nptr == str) { 1338 1338 /*FIXME: errno = EINVAL*/ 1339 1339 return 0; … … 1366 1366 if ((sgn) && (number == (unsigned long) (LONG_MAX) + 1)) { 1367 1367 /* FIXME: set 0 to errno */ 1368 return number; 1368 return number; 1369 1369 } 1370 1370 /* FIXME: set ERANGE to errno */ 1371 return (sgn ? LONG_MIN : LONG_MAX); 1371 return (sgn ? LONG_MIN : LONG_MAX); 1372 1372 } 1373 1373 -
uspace/lib/c/test/main.c
r6eda732 rc8dc9ac 34 34 PCUT_IMPORT(odict); 35 35 PCUT_IMPORT(sprintf); 36 PCUT_IMPORT(str); 36 37 37 38 PCUT_MAIN() -
uspace/srv/hid/compositor/compositor.c
r6eda732 rc8dc9ac 471 471 /* FIXME: Ghost is currently drawn based on the bounding 472 472 * rectangle of the window, which is sufficient as long 473 * as the windows can be rotated only by 90 degrees. 473 * as the windows can be rotated only by 90 degrees. 474 474 * For ghost to be compatible with arbitrary-angle 475 475 * rotation, it should be drawn as four lines adjusted … … 910 910 if (!win) { 911 911 async_answer_2(callid, ENOMEM, 0, 0); 912 fibril_mutex_unlock(&window_list_mtx); 912 913 return; 913 914 } … … 928 929 window_destroy(win); 929 930 async_answer_2(callid, EINVAL, 0, 0); 931 fibril_mutex_unlock(&window_list_mtx); 930 932 return; 931 933 } … … 935 937 window_destroy(win); 936 938 async_answer_2(callid, EINVAL, 0, 0); 939 fibril_mutex_unlock(&window_list_mtx); 937 940 return; 938 941 } … … 1053 1056 1054 1057 /* Create surface with respect to the retrieved mode. */ 1055 surface_t *new_surface = surface_create(new_mode.screen_width, 1058 surface_t *new_surface = surface_create(new_mode.screen_width, 1056 1059 new_mode.screen_height, NULL, SURFACE_FLAG_SHARED); 1057 1060 if (!new_surface) {
Note:
See TracChangeset
for help on using the changeset viewer.