CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/08/24 06:34:04
Modified files:
sbin/fdisk : cmd.c misc.c misc.h user.c
Log message:
Trim leading/trailing whitespace from -e input to make command
parsing more robust (e.g. 'edit 0 ' is now accepted) and strict
(e.g. 'reinit gptx' is now rejected).
Input which may want that whitespace is not trimmed (e.g. GPT
partition names).
Use consistent definition of whitespace corresponding to that
used by isspace().
