Changeset 2521
- Timestamp:
- Feb 5, 2006, 12:05:24 AM (19 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/libc-0.6/src/emx/ChangeLog.LIBC ¶
r2519 r2521 4 4 5 5 2006-02-04: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 - emxbind: 7 o #38: Fixed truncation bug writing to the LX nametable. (Yuri) 8 o #38: Imports and exports are limited to 255 not 127 chars. (Yuri) 6 9 - emxomfld: 7 10 o #34: Removed all the silliness trying to deal with truncated symbols. -
TabularUnified branches/libc-0.6/src/emx/src/emxbind/emxbind.h ¶
r2300 r2521 519 519 520 520 void error (const char *fmt, ...) NORETURN2; 521 void warning (const char *fmt, ...); 521 522 void my_read (void *dst, size_t size, struct file *f); 522 523 void my_read_str (byte *dst, size_t size, struct file *f); -
TabularUnified branches/libc-0.6/src/emx/src/emxbind/export.c ¶
r1333 r2521 76 76 77 77 name_len = strlen (name); 78 if (name_len >= 128) 79 name_len = 127; 78 if (name_len > 255) 79 { 80 warning("truncating export '%s' to 255 chars (ord %d)!", name, ord); 81 blen = 255; 82 } 80 83 else 81 84 blen = (byte)name_len; -
TabularUnified branches/libc-0.6/src/emx/src/emxbind/fixup.c ¶
r828 r2521 285 285 286 286 name_len = strlen (name); 287 if (name_len >= 128)288 name_len = 127;289 287 i = 0; 290 288 while (i < procs.len) -
TabularUnified branches/libc-0.6/src/emx/src/emxbind/utils.c ¶
r18 r2521 49 49 exit (2); 50 50 } 51 52 53 /* Print an warning message. This function is called like printf(). 54 The message will be prefixed with "emxbind: warning: " and a 55 newline will be added at the end. */ 56 57 void warning (const char *fmt, ...) 58 { 59 va_list arg_ptr; 60 61 va_start (arg_ptr, fmt); 62 fprintf (stderr, "emxbind: warning: "); 63 vfprintf (stderr, fmt, arg_ptr); 64 fputc ('\n', stderr); 65 } 66 51 67 52 68 /* Print an out of memory message and abort. */
Note:
See TracChangeset
for help on using the changeset viewer.