}
return buf;
- } else if (arg[0] == '#' || strchr(arg,'-')) {
+ } else if (arg[0] == '#' || ((arg[0] != '-') && strchr(arg,'-'))) {
/*
* handle hex blocks ie
* #00112233445566778899aabbccddeeff
* and uuids ie
* 1122334455667788-99aa-bbcc-ddee-ff00112233445566778899
+ *
+ * (but if it starts with "-" assume it's just an integer)
*/
int bytes=bit_length/8;
+xfsprogs-2.3.1 (03 September 2002)
+ - Allow xfs_db to accept negative numbers when writing values.
+
xfsprogs-2.3.0 (03 September 2002)
- Several changes to geometry ioctl callers which will make
the tools useable on older kernel versions too.