• Ivan Kokshaysky's avatar
    [PATCH] Fix unaligned stxncpy again · b5c7a2dd
    Ivan Kokshaysky authored
    Herbert Xu noted:
      "The current stxncpy on alpha is still broken when it comes to single
       word, unaligned, src misalignment > dest misalignment copies.
    
       I've attached a program which demonstrates this problem."
    
    Ugh, indeed. It fails when there is a zero byte before the data.
    Thanks.
    
    Here is the fix for this (both regular and ev6 version).
    b5c7a2dd
ev6-stxncpy.S 11.2 KB