Changes in / [c8dc9ac:6eda732] in mainline
- Location:
- uspace
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
rc8dc9ac r6eda732 413 413 414 414 $(DEPEND): $(PRE_DEPEND) 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 415 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) $(EXTRA_CFLAGS) -- $(SOURCES) $(TEST_SOURCES) > $@ 2> /dev/null 417 416 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ 418 417 -
uspace/lib/c/Makefile
rc8dc9ac r6eda732 176 176 test/main.c \ 177 177 test/odict.c \ 178 test/sprintf.c \ 179 test/str.c 178 test/sprintf.c 180 179 181 180 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/c/generic/str.c
rc8dc9ac r6eda732 1157 1157 memmove(str, &str[pos], str_sz - pos); 1158 1158 pos = str_sz - pos; 1159 str[ pos] = '\0';1159 str[str_sz - 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
rc8dc9ac r6eda732 34 34 PCUT_IMPORT(odict); 35 35 PCUT_IMPORT(sprintf); 36 PCUT_IMPORT(str);37 36 38 37 PCUT_MAIN() -
uspace/srv/hid/compositor/compositor.c
rc8dc9ac r6eda732 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);913 912 return; 914 913 } … … 929 928 window_destroy(win); 930 929 async_answer_2(callid, EINVAL, 0, 0); 931 fibril_mutex_unlock(&window_list_mtx);932 930 return; 933 931 } … … 937 935 window_destroy(win); 938 936 async_answer_2(callid, EINVAL, 0, 0); 939 fibril_mutex_unlock(&window_list_mtx);940 937 return; 941 938 } … … 1056 1053 1057 1054 /* Create surface with respect to the retrieved mode. */ 1058 surface_t *new_surface = surface_create(new_mode.screen_width, 1055 surface_t *new_surface = surface_create(new_mode.screen_width, 1059 1056 new_mode.screen_height, NULL, SURFACE_FLAG_SHARED); 1060 1057 if (!new_surface) {
Note:
See TracChangeset
for help on using the changeset viewer.