蘭雅sRGB hongwenjun

hongwenjun đồng bộ commits đến master tại hongwenjun/musl từ mirror

  • 86373b4999 powerpc: update HWCAP bits for Power10 Linux kernel commit ee988c11acf6f9464b7b44e9a091bf6afb3b3a49 added two new HWCAP bits: one for ARCH_3_1, which is the Power10 ISA revision, and one for MMA, which is the optional Matrix Multiply Assist extension.
  • fde29c04ad stdio: skip empty iovec when buffering is disabled When buffering on a FILE is disabled we still send both iovecs, even though the first one is always empty. Clean things up by skipping the empty iovec instead.
  • Xem so sánh cho các commit 2 »

1 tuần trước cách đây

hongwenjun đã tạo kho lưu trữ hongwenjun/vps_setup

1 tuần trước cách đây

hongwenjun đồng bộ commits đến master tại hongwenjun/musl từ mirror

  • ae3a8c93a6 fix strcasestr failing to find zero-length needle the loop condition ending on end-of-haystack ends before a zero-length needle can be matched, so just explicitly check it before the loop.
  • 23febbd3c5 align mbsnrtowcs behavior on partial character with new requirements POSIX 2024 added a requirement that mbsnrtowcs, like mbrtowc, consume any final partial character and store it in the mbstate_t object before returning. this was previously unspecified but documented as a potential future change. an internal mbstate_t object is added for the case where the argument is a null pointer. previously this was not needed since no operations could modify the internal object and not processing it at all gave the same behavior "as if" there were an internal object.
  • 6915b34860 dns resolver: reorder sockaddr union to make initialization safe some recent compilers have adopted a dubious interpretation of the C specification for union initializers, that when the initialized member is smaller than the size of the union, the remaining padding does not have to be zero-initialized. in the interests of not depending on any particular interpretation, place the larger member first so it's initialized and ensures the whole object is zero-filled.
  • a34ca6ead1 termios: fix input speed handling traditionally, our cfsetispeed just set the output speed. this was not conforming or reasonable behavior. use of the input baud bits in termios c_cflag depends on kernel support, which was added to linux along with TCSETS2 ioctl and arbitrary-baud functionality sometime in the 2.6 series. with older kernels, the separate input baud will not take, but this is the best behavior we can hope for anyway, certainly better than wrongly clobbering output baud setting. the nonstandard cfsetspeed is now moved to a separate file, since it no longer admits the weak alias implementation that made it namespace-safe. it now sets the output speed, and on success, sets the input speed to 0 (matched to output).
  • b6b81f697b clone: clear the frame pointer in the child process on relevant ports This just mirrors what is done in the start code for the affected ports, as well as what is already done for the three x86 ports. Clearing the frame pointer helps protect FP-based unwinders from wrongly attempting to traverse into the parent thread's call frame stack.
  • Xem so sánh cho các commit 12 »

3 tuần trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/cpp từ mirror

3 tuần trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/cpp từ mirror

1 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/CorelDRAW-CPG từ mirror

2 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/CorelDRAW-CPG từ mirror

  • 5987896ad1 增加记忆容差值_保存窗口位置

2 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/corelvba từ mirror

  • 0e94cd3f81 感谢网友捐助,结交更多朋友

2 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/cpp từ mirror

3 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/corelvba từ mirror

  • a74c89c711 2024.2.21 意外发现海外朋友 tubbiya 的捐赠 30刀,过完春节换了一个工作,白天没有写代码时间

3 tháng trước cách đây

hongwenjun đồng bộ commits đến master tại hongwenjun/musl từ mirror

  • c47ad25ea3 iconv: harden UTF-8 output code path against input decoder bugs the UTF-8 output code was written assuming an invariant that iconv's decoders only emit valid Unicode Scalar Values which wctomb can encode successfully, thereby always returning a value between 1 and 4. if this invariant is not satisfied, wctomb returns (size_t)-1, and the subsequent adjustments to the output buffer pointer and remaining output byte count overflow, moving the output position backwards, potentially past the beginning of the buffer, without storing any bytes.
  • 4c4f15dae5 hasmntopt: match only whole options not arbitrary substrings the man page for this nonstandardized function has historically documented it as scanning for a substring; however, this is functionally incorrect (matches the substring "atime" in the "noatime" option, for example) and differs from other existing implementations. with the change made here, it should match glibc and other implementations, only matching whole options delimited by commas or separated from a value by an equals sign.
  • e5adcd97b5 iconv: fix erroneous input validation in EUC-KR decoder as a result of incorrect bounds checking on the lead byte being decoded, certain invalid inputs which should produce an encoding error, such as "\xc8\x41", instead produced out-of-bounds loads from the ksc table. in a worst case, the loaded value may not be a valid unicode scalar value, in which case, if the output encoding was UTF-8, wctomb would return (size_t)-1, causing an overflow in the output pointer and remaining buffer size which could clobber memory outside of the output buffer. bug report was submitted in private by Nick Wellnhofer on account of potential security implications.
  • 5e594aeabf iconv: fix erroneous decoding of some invalid ShiftJIS sequences out-of-range second bytes were not handled, leading to wrong character output rather than a reported encoding error. fix based on bug report by Nick Wellnhofer, submitted in private in case the issue turned out to have security implications.
  • 6af4f25b89 s390x: manually inline __tls_get_addr in __tls_get_offset Calling __tls_get_addr with brasl is not valid since it's a global symbol; doing so results in an R_390_PC32DBL relocation error from lld. We could fix this by marking __tls_get_addr hidden since it is not part of the s390x ABI, or by using a different instruction. However, given its simplicity, it makes more sense to just manually inline it into __tls_get_offset for performance. The patch has been tested by applying to Zig's bundled musl copy and running the full Zig test suite under qemu-s390x.
  • Xem so sánh cho các commit 6 »

4 tháng trước cách đây

hongwenjun đồng bộ commits đến master tại hongwenjun/musl từ mirror

  • 1a98576401 sched.h: reduce namespace conflicts in _GNU_SOURCE profile we have the cpuset macros call calloc/free/memset/memcmp directly so that they don't depend on any further ABI surface. this is not namespace-clean, but only affects the _GNU_SOURCE feature profile, which is not intended to be namespace-clean. nonetheless, reports come up now and then of things which are gratuitously broken, usually when an application has wrapped malloc with macros. this patch parenthesizes the function names so that function-like macros will not be expanded, and removes the unused declaration of memcpy. this is not a complete solution, but it should improve things for affected applications, particularly ones which are not even trying to use the cpuset interfaces which got them just because g++ always defines _GNU_SOURCE.
  • d36e5bf83b mq: add x32-specific implementations to work around mismatched kernel ABI the kernel mq_attr structure has 8 64-bit longs instead of 8 32-bit longs. it's not clear that this is the nicest way to implement the fix, but the concept (translation) is right, and the details can be changed later if desired.
  • 561cd07dff SIGEV_THREAD timers: re-block signals when reusing kernel thread previously, we left any changes made by the application to the timer thread's signal mask active when resetting the thread state for reuse. not only did this violate the intended invariant that timer threads start with all signals blocked; it also allowed application code to execute in a thread that, formally, did not exist. and further, if the internal SIGTIMER signal became unblocked, it could also lead to missed timer expiration events.
  • 47fa6e4fcc SIGEV_THREAD timers: fix fatal signal if internal SIGTIMER becomes unblocked commit 6ae2568bc2367b4d47e0ea1cb043fd56e697912f introduced a fatal signal condition if the internal timer signal used for SIGEV_THREAD timers is unblocked. this can happen whenever the application alters the signal mask with SIG_SETMASK, since sigset_t objects never include the bits used for implementation-internal signals. this patch effectively reverts the breakage by adding back a no-op signal handler. overruns will not be accounted if the timer signal becomes unblocked, but POSIX does not specify them except for SIGEV_SIGNAL timers anyway.
  • Xem so sánh cho các commit 4 »

4 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/cpp từ mirror

5 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/corelvba từ mirror

  • d8cc36c513 更新捐赠者名单,感谢各位朋友的捐赠支持

6 tháng trước cách đây

hongwenjun đồng bộ commits đến master tại hongwenjun/musl từ mirror

  • 61399d4bd0 loongarch64: add TLSDESC support
  • 9b6a24f9c5 wire up vdso clock_gettime for riscv32 and riscv64
  • f2375aacac wire up vdso clock_gettime for powerpc, powerpc64, and s390x symbol names and versions obtained from vdso(7) man page.
  • bc5f816a7a mips: use preferred asm mnemomic jr for better assembler compatibility The LLVM assembler reportedly assembles the form using the j mnemonic incorrectly (see issue 107460). The jr form is canonical and avoids this problem, so use it instead.
  • 4e6c827cf4 mntent: exclude trailing newline from parsed field When the pattern was changed from matching any whitespace to just matching spaces and tabs, a newline started being appended to the value of the matched field, if that field was a string. For example, in a 4-field line, the mnt_opts field would have a newline on the end. This happened because a newline is not a space or a tab, and so was matched as part of the value before the end of the string was reached. \n should therefore be added as a character that terminates a value. This shouldn't interfere with the intention of the change to space and tab only, as it was trying to make sure that other whitespace like carriage returns, that should have been part of parsed values, were. Fixes: f314e133
  • Xem so sánh cho các commit 6 »

6 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/corelvba từ mirror

6 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/CorelDRAW-CPG từ mirror

  • 7926e0b268 Lanya CPG Plug-In For Coreldraw X4-2023 Added English version and X4 version

7 tháng trước cách đây

hongwenjun đồng bộ commits đến 20241119 tại hongwenjun/CorelDRAW-CPG từ mirror

7 tháng trước cách đây

hongwenjun đồng bộ tham chiếu mới 20241119 đến hongwenjun/CorelDRAW-CPG từ mirror

7 tháng trước cách đây

hongwenjun đồng bộ commits đến main tại hongwenjun/cpp từ mirror

7 tháng trước cách đây