History log of /haiku/src/bin/addattr/addAttr.cpp
Revision Date Author Comments
# 24bb6e13 13-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

addattr: host build fix.

* parsedate() is not yet part of the host environment; it's now only
included in the Haiku version of the command.


# 78c9dabd 13-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

addattr: added support for B_TIME_TYPE.

* Using parsedate().


# 06732c7c 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

addattr: minor cleanup.


# 3aeed660 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 7cd683ba 11-Dec-2011 Jérôme Duval <jerome.duval@gmail.com>

fix typo


# c8fa948b 10-Nov-2010 Stephan Aßmus <superstippi@gmx.de>

close() is defined in unistd.h as per the OpenGroup. Hope this
works on all host platforms, fixes the build on Linux at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39384 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e619472 09-Nov-2010 Stephan Aßmus <superstippi@gmx.de>

Don't leak file descriptors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39383 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8b20dbc8 30-May-2009 Jérôme Duval <korli@users.berlios.de>

addattr can now add attributes to directories and symlinks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30923 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fcdd9a92 05-Jul-2006 Axel Dörfler <axeld@pinc-software.de>

* Added option -f that allows you to read the attribute data from a file.
* No longer exits with error in case you specified "--help" or "-h".
* Now accepts typecodes in "'ABCD'" format as well.
* Can now also be built for BeOS compatible targets.
* Improved parameter check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18038 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17049c45 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24bb6e132db1ff97c26abf00f2b8df9155f48039 13-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

addattr: host build fix.

* parsedate() is not yet part of the host environment; it's now only
included in the Haiku version of the command.


# 78c9dabd9e6a969385b9c1346c4918027b63d1cf 13-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

addattr: added support for B_TIME_TYPE.

* Using parsedate().


# 06732c7c7183ff41620a802729d90605ba46d567 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

addattr: minor cleanup.


# 3aeed6607cd07762c0e709633c012b3a632dbad9 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 7cd683ba12f74771eb851c29df10b8e8192039b2 11-Dec-2011 Jérôme Duval <jerome.duval@gmail.com>

fix typo


# c8fa948b2a038ae5b58f1b1fc3ead99dd116dc36 10-Nov-2010 Stephan Aßmus <superstippi@gmx.de>

close() is defined in unistd.h as per the OpenGroup. Hope this
works on all host platforms, fixes the build on Linux at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39384 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e61947230ee639288ae9477cb3b502edd5c75fa 09-Nov-2010 Stephan Aßmus <superstippi@gmx.de>

Don't leak file descriptors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39383 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8b20dbc8a77c04cb973b6bc853ed4cb76f2e5fc7 30-May-2009 Jérôme Duval <korli@users.berlios.de>

addattr can now add attributes to directories and symlinks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30923 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fcdd9a92b7f41fb747bf9980b08b7a3da97944f3 05-Jul-2006 Axel Dörfler <axeld@pinc-software.de>

* Added option -f that allows you to read the attribute data from a file.
* No longer exits with error in case you specified "--help" or "-h".
* Now accepts typecodes in "'ABCD'" format as well.
* Can now also be built for BeOS compatible targets.
* Improved parameter check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18038 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17049c451a91f427aec94b944b75876b611103e7 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96